E2E Encryption: Mnemonic field is empty

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2): 15.0.2
Operating system and version (eg, Ubuntu 17.04): Raspberry
Apache or nginx version (eg, Apache 2.4.25): latest
PHP version (eg, 7.1): latest

The issue you are facing:

E2E Mnemonic field for UserX is empty.

Is this the first time you’ve seen this error? (Y/N): Yes, since adding E2E encryption

Steps to replicate it:

  1. NC 15 system, 2 users: 1 Admin, 1 User
    Running Windows NC 2.5.1 app
    Only the User account synch is added to NC 2.5.1 app
    Admin account is not added to NC 2.5.1app
  2. Activated E2E module via Admin account webinterface
  3. NC 2.5.1 app shows no info in Mnemonic field for User
  4. When adding Admin to local synch, it DOES show mnemonic
  5. When removing User from synch, and re-adding it, it still does NOT show Mnemonic
  6. When encrypting an empty User folder via NC 2.5.1 app, the folder gets encrypted (green lock shown in interface), but is not accessible from webinterface (Action forbidden). Folder is accessible on local PC. Folder can NOT be removed from webinterface.

So I end up with unusable folder

Q1 : How do I retrieve the mnemonic for User ?
Q2: How do I un-encrypt this folder ?

The output of your Nextcloud log in Admin > Logging:

Nothing significant 

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:


Maybe Ill add some more info

In the above situation, when starting the NC 2.5.1 app it asks for a E2E Passphrase for the User, but I never got a E2E Passphrase for this User.

And the mnemonics field is empty

Can I regenerate that Passphrase ?

Workaround I found:

Synched all files to local PC with app 2.5.1.
Deleted the user from admin webinterface
Recreated the user
Restored the files from local PC with app 2.5.1

Now I have a mnemonic code

Issue is apparently that existing users, after activating E2E don’t get a mnemonic code.

Test connection to all devices, since I gave each one a specific password.
So if all works well, these passwords need to be recreated as well.
We will see.