Hi
I’m struggling to get Seafile use a NFS share on my TrueNas
What I have done is:
On TrueNas I have created a seafile user, and a dataset, the dataset is owned by the seafile user. Created a NFS share and set the “Mapall user” and “Map all group” to seafile (3005:3005)
then on my docker host I have created a seafile user (3005:3005)I have mounted the share, /mnt/seafile, and verified that it’s permissions is set to seafile:seafileI have then modified the .env so that all volumes is using the new mount pointI have modified the seafile-server.ymlFor the seafile container, I have set the user to 3005:3005, I have modified the port as I have Nginx Reverse Proxy running in may HomeLab, I have disabled SeaDoc.
I the issue docker compose up -d
containers start and say all is good, but loghave this error:
*** Killing all processes…
Traceback (most recent call last):
File “/sbin/my_init”, line 414, in
main(args)
File “/sbin/my_init”, line 330, in main
import_envvars(False, False)
File “/sbin/my_init”, line 90, in import_envvars
for envfile in listdir("/etc/container_environment"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/sbin/my_init”, line 74, in listdir
return sorted(os.listdir(path))
^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘/etc/container_environment’
What am I missing ?
Kind regards
Steen