Permissions Issues Nextcloud 29

I recently updated to Nextcloud 29 and it has caused a lot of issues. I will start with the main one where Cron job stopped functioning.

I have been running Nextcloud for about 2 years now and never seen this issue:

Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy

I am not running this in docker.

I tried to run this manually:

sudo -u www-data php occ cron
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 777
Try adding ‘sudo -u #777’ to the beginning of the command (without the single quotes)
If running with ‘docker exec’ try adding the option ‘-u 777’ to the docker comma

When I check the owner
drwxrwxrwx 2 www-data www-data 4096 Aug 11 2023 data

id -u www-data
33

I’m not exactly sure what to do from here, since everything seems to be correct.

I am also getting the following error now when logging in:

invalid private key for encryption app. Please update your private key password in your personal settings to recover access to your encrypted files.

Thank you.

For manual execution you must use another command because of docker. Read here. Hopefully with manual execution you find the error. Please post a few error messages.

@devnull they aren’t running docker, apparently :wink:

@m1dori hey there and welcome to the wonderful world of nextcloud community-driven forum.

have you already searched this forum and found this thread? maybe some of your problems are addressed there?

Misread. I must have drunk too little coffee this morning. :coffee:

2 Likes