After Migration: Invalid private key for encryption app. Please update your private key password in your personal settings to recover access to your encrypted files.
Steps to reproduce
- Use nextcloud-snap
- Migrate database and files in /data to fresh install of NextCloud 13
- Log in.
Expected behaviour
User logs in with no error
Actual behaviour
User sees this error on top of the screen:
Invalid private key for encryption app. Please update your private key password in your personal settings to recover access to your encrypted files.
Server configuration
Operating system: Ubuntu 16.04
Web server: Apache2
Database: mariaDB
PHP version: 7 Nextcloud version: (see Nextcloud admin page) 13 Updated from an older Nextcloud/ownCloud or fresh install: Migrated from nextcloud-snap (currently 13) Where did you install Nextcloud from: https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html#ubuntu-installation-label** Signing status:
Signing status
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
List of activated apps:
App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration:
Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.log)
Nextcloud log
Insert your Nextcloud log here
Browser log
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
I am still having this and I am using version 15 :
Invalid private key for encryption app. Please update your private key password in your personal settings to recover access to your encrypted files.
DB : MySQL 8 Ubuntu 18.04 Nextcloud 15
@Effanar I just disabled the "Default Encryption App" and it worked. I didn't use Encryption on the older version so this worked for me.
Duplicate of #8546