Questions about Cloudron (mostly transfers)
-
I edited my reply above. I don’t use peertube so i don’t have a definitive answer on hand.
-
@cocam123 I've also never migrated a Peertube server. I have just reinstalled it, as migrations tend to induce all sorts of headaches. Here is a reason to just reinstall:
One of the most common hurdles new users of Cloudron hit is their server filling up with data, and then not working. That data is often backups, but it can also be media files. If your Peertube server is NOT set up to use something like S3, object storage, then simply migrating it to Cloudron means you will also be migrating all of its video files from the old server to the Cloudon server. I think you will then, quickly, hit that same hurdle - all your videos files will use up the disk space!
So if you haven't yet set your current Peertube up to serve the videos from an S3 host, set that up now, before you migrate/move/reinstall. Then, install Peertube on Cloudron, and fill in the S3 info so that it can keep functioning. DO NOT trash your old server yet! You will need all the bits of info and data from it to re-setup your Cloudron Peertube - all the licence text, welcome, about, channels, any graphics for logos, access to the config for reference as you try to make the Cloudron instance work, making sure all the videos are accessible, etc. Only after everything is working on the Cloudron instance for like a week would I then feel safe deleting the old server.
Good luck.
-
@girish said in Questions about Cloudron (mostly transfers):
This applies to every app on App Store.
Although I think sometimes, eg with Nextcloud last time I tried, users are not properly mapped.
-
@jdaviescoates iirc, this was the username mapping issue, right ? This was because your installation was from the time when we used the user id for LDAP identification. This has since been switched (across all apps) to username . Using user id is more "correct" but using use name helps us be more portable.
-
Hello. Sorry for the late reply, I was sick.
Concerning Peertube, there is currently no S3 (everything is stored locally).
Which S3 server do you recommend? (I plan to make these transfers during August, after I've finished testing on my test server)
@scookealso, my Peertube server isn't on Cloudron (yet). That's why I'm asking how I can transfer it @girish
-
@cocam123 Peertube on Cloudron uses postgresql. So you have to take a db dump on your existing installation and import it - https://docs.cloudron.io/guides/import-postgresql/ . You have to also then copy over all your data files into Cloudron (under /app/data in Cloudron).
There is no guide as such since it's really app dependent on how to migrate. Sometimes you might luck out in upstream app having import/export functionality. In that case, you can use that instead of db migration.