<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Guide] How to migrate an existing Nextcloud instance to Cloudron]]></title><description><![CDATA[<p dir="auto">Hi all, just moving back to Cloudron after a few months on Nextcloud AIO for reasons I leave to your imagination <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
<p dir="auto">I saw a few posts online about this topic and thought I'd share how I do it in case it is helpful. I'd love to hear your thoughts and how you do it, so leave me a comment below this post.</p>
<p dir="auto"><strong>Step 1 - Prepare</strong></p>
<ul>
<li>
<p dir="auto"><strong>Backups</strong><br />
Have a backup of your existing install!</p>
</li>
<li>
<p dir="auto"><strong>DNS</strong><br />
Ensure your domain's DNS record(s) are set to a low TTL (time to live) because you may need to back out of the migration quickly. If it is set to something like 1 hour or longer, that's how long it would take to restore the previous status. Ignore this at your peril <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--pray" style="height:23px;width:auto;vertical-align:middle" title=":pray:" alt="🙏" /></p>
</li>
<li>
<p dir="auto"><strong>Comms</strong><br />
Arrange for a day and time with your users to migrate, as you must not have people log in and change stuff</p>
</li>
</ul>
<p dir="auto"><strong>Step 2 - Getting ready</strong><br />
Put the site in maintenance mode and take another backup. I also like to have a VM snapshot of the whole shebang to make backing out of the migration a click away. You can never have too many backups <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
<p dir="auto">Check that everything from step 1 is done, especially the user comms thing. You don't want a VIP calling you on Sunday morning to say they desperately need something.</p>
<p dir="auto">Install the Nextcloud 'user migration' app and start exporting each user. I also like to use the 'impersonate' app to help speed things up for this. Depending on the amount of users and the size of their profiles, prepare to make a lot of cups of tea.</p>
<p dir="auto">This process will take a long time, so plan for this. If you use a VM/VPS, increase the resources for the duration to speed things up.</p>
<p dir="auto">While things are being exported, go and make a list of apps in use and their settings. This is a manual and tedious process, and I find screenshots helpful. You could do a db dump of the relevant tables and rows, but the manual route is safest, IMO.</p>
<p dir="auto">The time-consuming stuff is user migrations and their data, not the apps.</p>
<p dir="auto"><strong>Step 3 - Moving-in</strong></p>
<p dir="auto"><strong>Setting up users</strong><br />
On the new server, it helps to mirror the users and groups before you proceed with the app and data migration. This is a manual process. After the migration, I told the users they would need to reset their passwords.</p>
<p dir="auto"><strong>Copy-n-Tea</strong><br />
Once you have a copy of everything downloaded locally from the old server and a complete record of users, groups, apps and their settings, go to your Cloudron and spin up an app. Downloading TBs of data may take a while... grab another tea (with a biscuit).</p>
<p dir="auto"><strong>Hostname and DNS</strong><br />
If you like, turn off the old server and use the same hostname for the Cloudron Nextcloud. You could do this with a different name, but I assume you are doing a complete migration where everything stays the same.</p>
<p dir="auto"><strong>The first time</strong><br />
Assign the user groups to the Nextcloud app and log in with your Cloudron account first, then log out as the new admin the app created and assign your Cloudron user admin rights. Log out and back in as yourself, then remove the autogenerated admin or disable it.</p>
<p dir="auto"><strong>Step 4 - Apps</strong><br />
Install the apps you need and apply their configs before you migrate the users. Ensure you install the 'impersonate' and 'user migration' apps!</p>
<p dir="auto"><strong>Step 5 - Users and data</strong><br />
One by one, use the 'user migration' app to upload and restore the user profiles.</p>
<p dir="auto">Log in after each restore to check if it matches the old server (handy if it is still running, and you can log in). You may need to manually re-import contacts and calendars.</p>
<p dir="auto">This process takes the longest, depending on the number of users and the size of their profiles. Make sure you have (a) tea (b) food and (c) a fast connection to the new server.</p>
<p dir="auto"><strong>Step 6 - Checks and go live</strong><br />
Double-check that everything is working, especially email notifications and email app provisioning if used.</p>
<p dir="auto">Check the error log and the security guide, and run a proper test to see if you get green everywhere.</p>
<p dir="auto">Perhaps you like to pick a random user, create a file, and share it with an external test account.</p>
<p dir="auto">Perhaps you don't and will get lots of angry users on Monday morning <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61c.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--stuck_out_tongue_winking_eye" style="height:23px;width:auto;vertical-align:middle" title=";-p" alt="😜" /></p>
<p dir="auto"><strong>Step 7 - Turn off your phone and go on holiday</strong><br />
This step is optional but make sure you take a break after the initial hyper care period is over and the dust has settled <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60e.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--sunglasses" style="height:23px;width:auto;vertical-align:middle" title="8)" alt="😎" /> <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f305.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--sunrise" style="height:23px;width:auto;vertical-align:middle" title=":sunrise:" alt="🌅" /></p>
<p dir="auto">You deserve a pad on the back, a pay rise and the admiration of your favourite person(s). Don't be disappointed if you don't get any of this because you chose to work in IT and it is a thankless world <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f615.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--confused" style="height:23px;width:auto;vertical-align:middle" title=":/" alt="😕" /></p>
<p dir="auto">But cheer up; you are in safe company in the Cloudron community and an open ear to hear how things went for you. Let me know in the comments below.</p>
]]></description><link>https://forum.cloudron.io/topic/11614/guide-how-to-migrate-an-existing-nextcloud-instance-to-cloudron</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 01:10:48 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11614.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Apr 2024 11:29:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Guide] How to migrate an existing Nextcloud instance to Cloudron on Fri, 19 Jul 2024 05:04:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/3246" aria-label="Profile: 3246">@<bdi>3246</bdi></a> said in <a href="/post/87525">[Guide] How to migrate an existing Nextcloud instance to Cloudron</a>:</p>
<blockquote>
<p dir="auto">Hi all, just moving back to Cloudron after a few months on Nextcloud AIO for reasons I leave to your imagination <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
</blockquote>
<p dir="auto">How was AIO though? Did fulltext search etc. really work out of the box?</p>
]]></description><link>https://forum.cloudron.io/post/91608</link><guid isPermaLink="true">https://forum.cloudron.io/post/91608</guid><dc:creator><![CDATA[necrevistonnezr]]></dc:creator><pubDate>Fri, 19 Jul 2024 05:04:36 GMT</pubDate></item><item><title><![CDATA[Reply to [Guide] How to migrate an existing Nextcloud instance to Cloudron on Fri, 19 Jul 2024 01:26:42 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for this guide! I'm in the process of using it but am getting this error when importing a user zip:<br />
<code>[ERROR] Failed to get migrators versions</code></p>
<p dir="auto">When I extract the zip file manually I can see the <code>migrator_versions.json</code> file inside of it. I tried repackaging it into a 1.0 zip format instead of 4.5 according to this post <a href="https://github.com/nextcloud-snap/nextcloud-snap/issues/2335#issuecomment-1451433539" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/nextcloud-snap/nextcloud-snap/issues/2335#issuecomment-1451433539</a> , but the error persisted.</p>
<p dir="auto">In case it helps, the command I used to repackage is:<br />
<code>unzip -p old.zip | zip new.zip -</code></p>
<p dir="auto">I did it this way hoping it'd only 2x the disk space used instead of 3x, but it looks like the zip command still puts a temporary file there.</p>
<p dir="auto">I confirmed the new zip file is 1.0, contains the migrator_versions.json file, and is owned by www-data; but still no luck.</p>
]]></description><link>https://forum.cloudron.io/post/91606</link><guid isPermaLink="true">https://forum.cloudron.io/post/91606</guid><dc:creator><![CDATA[djxx]]></dc:creator><pubDate>Fri, 19 Jul 2024 01:26:42 GMT</pubDate></item></channel></rss>