Trying to set up NextCloud on Truenas Scale and when I define the storage configurations in the ix-apps folder it deploys just fine.
But I want to define the data elsewhere so I can back it up via Backblaze with a cloud sync task. The problem is that whenever I define the host path for the datasets in my pool the deployment fails with the error:
Back-off restarting failed container nextcloud in pod nextcloud-postgres-7d4ff65d96-j8xqf_ix-nextcloud(b358cae5-90e0-49f1-a187-6f1ad4fd0775)
I’ve used this youtube video as a guide to set up my datasets
and before you ask I have tried everywhich way with the folder permissions. I’ve created and re-created my datasets as Apps.
The main goal here is to be able to setup a Backblaze b2 sync so that in the event of catastrophic data loss I can restore it. I’d prefer not to have to sync my entire ix-applications dataset to accomplish this.
Any help would be greatly appreciated I am out of ideas.
When I tried changing the owner for “pgdata” I got this error:
[EPERM] Filesystem permissions on path /mnt/NewTank/nextcloud prevent access for user "netdata" to the path /mnt/NewTank/nextcloud/pgdata. This may be fixed by granting the aforementioned user execute permissions on the path: /mnt/NewTank/nextcloud.
The WebUI wouldn’t let me change the owner for “pgdata” or my “nextcloud” dataset either, but it worked when I used the Shell.
Change Owner and Group for “pgdata”: sudo chown -R netdata:docker /mnt/NewTank/nextcloud/pgdata
Grant Execute Permissions on the parent directory: sudo chmod o+x /mnt/NewTank/nextcloud
Make sure to change “NewTank” and “nextcloud” to be the same as your dataset names.
Then you should be able to install the nextcloud app