You want to utilize the installed “Default encryption module” app in your Nextcloud installation. You have the encryption enabled in your users Nextcloud settings.
Every time you open a page in Nextcloud you are greeted with the message:
Invalid private key for encryption app. Please update your private key password in your personal settings to recover access to your encrypted files
To get rid of it:
- Log in as root to the machine where Nextcloud is installed.
- Open Nextcloud terminal:
univention-app shell nextcloud
- Check the status of Nextcloud encryption:
sudo -u www-data php /var/www/html/occ encryption:status
- If you see “enabled: false”, enable the encryption:
sudo -u www-data php /var/www/html/occ encryption:enable
- Verify that “enabled: true” has taken place:
sudo -u www-data php /var/www/html/occ encryption:status
Now you can exit the Nextcloud shell and refresh your Nextcloud browser session. You are free to enjoy your Nextcloud without the annoying greeting.