Link to home
Start Free TrialLog in
Avatar of keith li
keith liFlag for Hong Kong

asked on

How to move Owncloud X to another disk partition

Dear All

 
             How do I move the existing owncloud x from /var/www/html to other disk partition which has 1.64 TB ?

User generated image
User generated image
User generated image
ASKER CERTIFIED SOLUTION
Avatar of Sam Simon Nasser
Sam Simon Nasser
Flag of Palestine, State of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of noci
noci

I agree with Sam Simon Nasser.
Just moving the data is what is needed, (be sure nginx/lighttpd/apache has access to the target directory, that step isn't shown in his link).
Following that recipe use /STORAGE on all places that mention /mnt/owncloud

chmod 775 /STORAGE
chown www-data:www-data /STORAGE
(in stead of www-data it might need something else, please check the owner & group of the original. /var/www/html )

Moving all of /var/www will a bigger effort with nginx/lighttpd/apache configs.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@Prabhin,

Splitting the data away from owncloud has some more benefits, like not offering a backdoor to the data.
so your solution does provide some consolense, and might replace it with an update headache.
If moving the whole tree, then it would be better to move the /var/www somewhere else according to your method.
@noci
yeah he can choose that option as well.
still this issue not yet solved?
nest solutions