Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #13048

Closed
stone212 opened this issue Dec 13, 2018 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@stone212
Copy link

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 stone212 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Dec 13, 2018
@Elfanar
Copy link

Elfanar commented Jan 20, 2019

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

@stone212
Copy link
Author

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

@kesselb
Copy link
Contributor

kesselb commented Jun 9, 2019

Duplicate of #8546

@kesselb kesselb marked this as a duplicate of #8546 Jun 9, 2019
@kesselb kesselb closed this as completed Jun 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

3 participants