Hey there!
I’m running NextCloudPi v1.25.0 on a Raspberry Pi 4.
Data and database is on an external hdd with a backup drive; both with btrfs.
It is public facing right now. I haven’t got it “fully” set up yet.
Everything was working fine for a while… I’m not sure what caused the problem…
I’m getting this error:
Your data directory is invalid
Ensure there is a file called ".ocdata" in the root of the data directory.
Your data directory is not writable
Permissions can usually be fixed by giving the webserver write access to the root directory. See https://docs.nextcloud.com/server/18/go.php?to=admin-dir_permissions.
I do have “.ocdata” under “/var/www/nextcloud/data/.ocdata”
The nc-fix-permissions tool did not work.
Here are my current permissions:
drwxrwx— 15 www-data www-data 4096 May 15 03:52 nextcloud
I also recursively changed the permissions of the with:
sudo chmod ug+rw -R /var/www/nextcloud
Any help or input would be great as this is my first time working on something like this.
Thanks