Yes, I’ve already looked at similar issues here and on Google and I don’t seem to have enabled legacy encryption so that’s irrelevant for me as well.
Or for longer, use three backticks above and below the code snippet:
Invalid private key for encryption app. Please update your private key password in your personal settings to recover access to your encrypted files.
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
[/details]
Nextcloud version (eg, 20.0.5): Nextcloud Hub II (23.0.3)
Operating system and version (eg, Ubuntu 20.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): nginx/1.20.2
PHP version (eg, 7.4): 8.0.17
The issue you are facing:
I’ve recently setup Nextcloud and I’ve messed with the encryption settings by turning it on and off again. And since then I get the error mentioned above in the interface and the logs hourly. How do I fix this?
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Turn on Server-Side-Encryption
- Turn off Server-Side-Encryption
The output of your Nextcloud log in Admin > Logging:
Warning encryption OC\ServerNotAvailableException: Legacy cipher is no longer supported! 2022-04-18T17:49:59+0200
Warning encryption OC\ServerNotAvailableException: Legacy cipher is no longer supported! 2022-04-18T17:33:58+0200
Warning encryption OC\ServerNotAvailableException: Legacy cipher is no longer supported! 2022-04-18T16:26:30+0200
Warning encryption OC\ServerNotAvailableException: Legacy cipher is no longer supported! 2022-04-18T16:25:37+0200
Warning encryption OC\ServerNotAvailableException: Legacy cipher is no longer supported! 2022-04-18T16:25:37+0200
Warning encryption OC\ServerNotAvailableException: Legacy cipher is no longer supported!
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
standard
The output of your Apache/nginx/system log in /var/log/____
:
irrelevant
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
same as above basically
occ tells encryption is off…