Unable to open settings file /data/.bitcoin/settings.json.tmp for writing

This error occurred because I was storing the blockchain data at a custom location on an external drive. The update wiped my custom entry in exports.sh which pointed to the external drive on /media/Bitcoin:
export APP_BITCOIN_DATA_DIR="/media/Bitcoin"

Problem solved.