Move snap to Cloudron
-
Hi, I was wondering if I can move a Nextcloud snap installation to Cloudron, perhaps similar to this tutorial?
Ideally I would like to unify two VPS I have currently running on one dedicated server (price-wise about the same) under the roof of Cloudron. The Nextcloud installation is being used by multiple users though.
EDIT: I was wondering if I could use the new user migration app of Nextcloud 24 to achieve this? I would then install Nextcloud under Cloudron in the same way as before including all apps and then simply log into every single user account using "impersonate" and re-import this into the new instance. If this works, it would be an elegant way to avoid a lot of mistakes that could happen otherwise.
Happy to hear other suggestions as well.
-
@jdaviescoates I want to be prepared to switch options quickly if it doesn't work. But I will go with it first.
-
I got the user migration plugin to work (the process was terminated because the server didn't have enough resources), but I haven't attempted the migration yet because I cannot solve another problem:
All information which file is shared with whom would be completely lost and there doesn't seem to be a way to preserve it because the information is being stored in the database.
And the problem with this (https://github.com/nextcloud-snap/nextcloud-snap/wiki/Migrating-from-nextcloud-snap-to-Nextcloud-server) is that Cloudron uses PostgreSQL and not MySQL.
The only solution I have now is to manually go through everyone's account on both instances and see if I can share every user's file manually. That will mean a few hours of boring, manual work, unless someone has a better idea?
-
@ekevu123 just thinking out loud, but I guess you could either try installing Nextcloud into a Cloudron LAMP app or forking the existing Cloudron Nextcloud app to create a custom Cloudron Nextcloud app that uses MySQL instead.
-
@jdaviescoates This is an idea I have quickly considered as well but one reason why I want to move this installation to Cloudron so desperately is that I want to have less work with it, not more
We will probably need to live with the fact that we will need to re-share all information again and simply do the move using one of the manual ways (e.g. user migration plugin). That will create chaos for a day or two, but at least then we will have a more stable installation.