TrueCharts Nextcloud permission problem, does not install

pavelk

Cadet
Joined
Jul 8, 2023
Messages
2
Hi! I am trying to install NextCloud along with NGINX on my TrueNas Scale system. However, I've run into problems while trying to install NextCloud from the TrueCharts repo. The installation stops at "Deploying 1/5". After looking at the logs, I've found this info in the "nextcloud-install-init-perms" container, it says:

Code:
2023-07-08 22:41:43.073946+00:00Setting permissions to 700 on data directory [/var/www/html/data] ...
2023-07-08 22:41:43.074508+00:00Failed to set permissions on data directory [/var/www/html/data]
2023-07-08 22:41:43.074555+00:00Setting ownership to 568:568 on data directory [/var/www/html/data] ...
2023-07-08 22:41:43.074978+00:00Failed to set ownership on data directory [/var/www/html/data]
2023-07-08 22:41:43.075579+00:00Finished.


I've tried using a separate dataset for user data storage and changing the ownership of the dataset to www-data, but no luck.

What am I missing?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Is your dataset being used by other services? If so, chown to 568 + chmod 700 will break access to everything that isn't running as 568 - for instance SMB users, NFS users, etc (just FYI). The most common reason for chmod + chown failing would be the ZFS dataset "aclmode" property being set to restricted (assuming the above ops aren't being performed as 568).
 
Top