server icon indicating copy to clipboard operation
server copied to clipboard

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.

Open stone212 opened this issue 7 years ago • 3 comments

Steps to reproduce

  1. Use nextcloud-snap
  2. Migrate database and files in /data to fresh install of NextCloud 13
  3. 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) ...

stone212 avatar Dec 13 '18 09:12 stone212

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

Elfanar avatar Jan 20 '19 19:01 Elfanar

@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.

stone212 avatar Jan 21 '19 03:01 stone212

Duplicate of #8546

kesselb avatar Jun 09 '19 12:06 kesselb