Owncloud - move data folder - permissions?



Im running latest OC.. Think its 9.
Hardware: Raspberry Pi 2
OS: Raspbrian jessie lite

1: Used Petrockblogs script to install OC.
2: Mount usb drive formatted as NTFS
3: rsync the /var/www/html/owncloud/data /media/owncloud
4: edit /var/www/html/owncloud/config/config.php and change the data path to /media/owncloud/data
5: Load the owncloud website and see it NOT working (it works if i use the original data folder path)
6: Try not to cry
7: Cry.. Alot

Expected behavior: Ownclouds website loading up

Actual behavior: A plain text with the following:
Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Nothing of value showing up in the logs though.


You can't move the data directory by just editing the config.php entry. There are additional actions (e.g. editing the database) needed like explained in [1].

[1] https://doc.owncloud.org/server/10.0/admin_manual/maintenance/manually-moving-data-folders.html