.ocdata missing

HI @rakekniven

I already tried to change backgroud job from cron to ajax (as refered to this solution) but it throws the same error

Regarding your question: upon the error I did not make any changes that I can remember of. Could restoring from a previos installation solve this (not a real solution…)

Edit:

I think I’ve found the solution: my Nextcloud-data folder is not accessible by the www-data user as this command proves:

$ sudo -u www-data ls /srv/7e5e6032-1f1c-4efc-a74d-f3fe95fe606f/Nextcloud-data/
ls: cannot access '/srv/7e5e6032-1f1c-4efc-a74d-f3fe95fe606f/Nextcloud-data/': Permission denied

Before I mess up permissions, how can I restore this? See my first post, all my files & directories are owned by www-data. The folder itsself is also owned by www-data:

drwxrwx--- 12 www-data www-data 4096 Dec 27 09:11 Nextcloud-data

FYI:
I did encounter a hard drive crash with my Nextcloud-data folder on it. I managed to restore the disk completely on another one and attached the disk to my Odroid. It’s an UNIONFS filesystem so the mount point of my Nextcloud-data remains the same. I did encounter a permission error initially; the folder itself was owned by root:root but I changed it to www-data:www-data whereafter NC did work again until I received above message.