I’m about to migrate my owncloud server to a new, more powerful server.
It seems like there is no migration wizard so I’m looking for a little help.
Old / running server :
Classic Mysql + Apache2 owncloud server
Files : /raid10/owncloud/data
MySQL : localhost:
New server:
Dockerized owncloud with external Mysql db
Files : default owncloud volume /mnt/data
Mysql : in another docker container
Mysql backup/restore and rsync will move files to the new server.
But since the old and new server aren’t having the same file location, how can I convert or tell owncloud that the files location has changed?
But this is to move data in the same physical server isn’t it?
I cannot do a symlink between 2 different servers and since it’s dockerized I didn’t have access to the old location either.
Before you migrate to the new server on the old one, create a symlink from /mnt/data to your current data directory and follow all the steps in the article @alfredb linked.
Once finished you can migrate your installation to the new server.
@eneubauer in the article of @alfredb that says to rsync before creating the symlink.
I do not have enough space on my old server to rsync everything to /mnt/data, can I follow the procedure without having to move the files?
@eneubauer I did migrate everything and so far it’s almost working perfectly.
In fact everything look ok but I decide to go see the log just in case.
I did notice that there is a lot of error relative to /raid10/tmp folder.
It’s obviously because of the migration, but I double check everything twice and I haven’t forget anything.
I guess some part of your setup points to this tmp directory? Make sure it exists and has the correct permissions, that’s all I can tell you without having a full error message.