Hello,
I have recently installed Univention to my Virtual Box through Appliance installation from OwnCloud website.
Everything worked fine after installation so I decided to move the data folder.
I want to have my data physically on another drive which is shared on Windows server used as hypervisor of Virtual Box.
So I updated fstabs to mount the share to “/mnt/OCData” then I moved “files” folder from its default location (according to config.php) “/var/lib/univention-appcenter/apps/owncloud/data/” to the “/mnt/OCData” location.
Then I wanted to change owncloud data folder. So I opened Univention Configuration Registry and realized UCR var name “owncloud/directory/data” is missing. So I have created it with correct path to mounted filesystem.
Problem is that OwnCloud still presumes data folder location on the original path (/var/lib/univention-appcenter/apps/owncloud/data/). I tried to change it manually in config.php, but with no success. It seems any change UCR variable or config.php has no effect to the server.
Then I tried to move the folder and create a symlink to the mnt location which doesn’t work either.
I tried to change rights and owner of the folder and symlink to www-data already with no luck at all.
Don’t someone from you experts have any expert advice, where can I change the location correctly or what am I doing wrong with it please?
Thank you very much!
System:
Univention DC Master 4.2-3
OwnCloud 10.0.3.3
VirtualBox 5.0.20 r106931 on Windows Server 2012 R2
Debian 64-bit with 2048 MB RAM assigned