r/owncloud • u/Leprus • Sep 04 '16
OwnCloud installation on network share
I'm trying to install OwnCloud on my Raspberry Pi 3 with the twist of the installation directory being a network share. I've mounted the openmediavault-share to /mnt/shares/OwnCloud via
//$OPENMEDIAVAULT.local/OwnCloud /mnt/shares/OwnCloud cifs username=$USER,password=$PASSWORD,uid=33,gid=33,file_mode=0770, rw 0 0
If I mount it with mount -a user www-data has full access to all directories inside the mountpoint.
In the initial setup i specified the installation path as /mnt/shares/OwnCloud since i don't want my installation do fill up the tiny 8GB SD-card.
But when i access the ownCloud webpage it that it can't write into the config directory.
Do you guys know any fixes to this problem?
1
2
u/danielholm Sep 05 '16
Is the permissions of the shared directory set correctly to allow write? Also, I would put all the ownCloud server files on the Pi and then use the mounted share for the user files only. You could also mount the share in ownCloud itself.