Install on a light VPS but use external samba volume as storage #916
-
Hello, I would like to install next cloud using docker on a small VPS (40gb) and then use a mounted samba/cifs server as storage (1TB). I have the CIFS mounted in fstab as so:
I have made a directory on the share for next cloud located at I have then set the permissions like so:
The command I use to install nextcloud is this:
After going through the setup process, it is time to start the containers. However nextcloud gets stuck on starting. The logs read this:
What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You are not applying the permissions correctly. CIFS mounts are not able to handle chmod and chown. You need to set the correct permissions at mounting time. See e.g. https://github.com/nextcloud/vm/blob/961c3862dfffbf3dfc001b73bda90414e09123fb/apps/smbmount.sh#L663 for a config that should work. |
Beta Was this translation helpful? Give feedback.
You are not applying the permissions correctly.
CIFS mounts are not able to handle chmod and chown. You need to set the correct permissions at mounting time.
See e.g. https://github.com/nextcloud/vm/blob/961c3862dfffbf3dfc001b73bda90414e09123fb/apps/smbmount.sh#L663 for a config that should work.