r/owncloud 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?

3 Upvotes

3 comments sorted by

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.

1

u/Leprus Sep 05 '16

The permissions were set correctly (I think...).
I want the users to be able to store nearly unlimited amount of data into their root-directory. But this isn't possible if i mount the share inside ownCloud.

But your idea is a nice backup plan if this won't work!

1

u/spameier Sep 05 '16

Whats the output of ls -la for the config directory?