Nextcloud 20 and “Could not decrypt key”

Had a issue with the upgrade and encryption. I solved the problem by moving the /export/user-data/owncloud/$USER/files_encryption/ directory. It gets regenerated on login. Make sure you have a backup before you do this.

See these posts for more details.