<?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[Best practice for migrating apps from one Cloudron to another?]]></title><description><![CDATA[<p dir="auto">I need to move a bunch of apps from one Cloudron to another.</p>
<p dir="auto">What's the best way to do this?</p>
<p dir="auto">Struggling to get my head around the correct order to do things in...</p>
<p dir="auto">Like, when should I add the domain used for the app to the new server?</p>
<p dir="auto">I'm guessing perhaps I should do something like this:</p>
<ol>
<li>make a backup of the app on the existing server.</li>
<li>install the same version of the same app on the new sever on some temporary domain</li>
<li>import the back of the app</li>
<li>check everything seems to be working (although I guess this will be hard with apps that don't like their domains changing too much, like Mastodon, Peertube etc - but even WordPress I find often has lots of references to the old/ new links all over the place and I tend to need to use something like the Better Search Replace app to find and change them all)</li>
<li>add the relevant domain to the new server</li>
<li>re-create any mailboxes you had set-up on old server at the relevant domain (you may also wish to <a href="https://docs.cloudron.io/guides/import-email/" target="_blank" rel="noopener noreferrer nofollow ugc">import email</a> first before actually updating the DNS)</li>
<li>change the domain of the new copy of the app on the new server to the domain it was using on the old domain</li>
</ol>
<p dir="auto">Does that sound about right? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
]]></description><link>https://forum.cloudron.io/topic/9985/best-practice-for-migrating-apps-from-one-cloudron-to-another</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 22:16:59 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9985.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Sep 2023 18:23:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Wed, 06 Nov 2024 18:43:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hpz24" aria-label="Profile: hpz24">@<bdi>hpz24</bdi></a> said in <a href="/post/96448">Best practice for migrating apps from one Cloudron to another?</a>:</p>
<blockquote>
<p dir="auto">Now I'm curious: does an app actually survive the move to another cloudron instance with a different domain?</p>
</blockquote>
<p dir="auto">In most apps, yes. The federated apps like mastodon and matrix are a special case. They don't support changing the domain . Even though the app itself will work after changing the domain, expect bad things to happen (tm) after domain change. For example, not seeing proper history of old message etc. I haven't tried this much, so this is just a warning really.</p>
]]></description><link>https://forum.cloudron.io/post/96475</link><guid isPermaLink="true">https://forum.cloudron.io/post/96475</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 06 Nov 2024 18:43:38 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Wed, 06 Nov 2024 12:50:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hpz24" aria-label="Profile: hpz24">@<bdi>hpz24</bdi></a> when you import an app backup, it will restore to the original domain. You can then change the domain but whether it’s a problem or not depends on the app. For example, wordpress plays nice but matrix (synapse) will not.</p>
]]></description><link>https://forum.cloudron.io/post/96459</link><guid isPermaLink="true">https://forum.cloudron.io/post/96459</guid><dc:creator><![CDATA[humpty]]></dc:creator><pubDate>Wed, 06 Nov 2024 12:50:53 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Wed, 06 Nov 2024 07:52:04 GMT]]></title><description><![CDATA[<p dir="auto">Now I'm curious: does an app actually survive the move to another cloudron instance with a different domain?<br />
Or is this a case-by-case story?</p>
]]></description><link>https://forum.cloudron.io/post/96448</link><guid isPermaLink="true">https://forum.cloudron.io/post/96448</guid><dc:creator><![CDATA[hpz24]]></dc:creator><pubDate>Wed, 06 Nov 2024 07:52:04 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Tue, 05 Nov 2024 20:01:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sponch" aria-label="Profile: sponch">@<bdi>sponch</bdi></a> If the domain is already added on both Cloudrons, then you're correct, steps 1-3 would do the trick.</p>
]]></description><link>https://forum.cloudron.io/post/96441</link><guid isPermaLink="true">https://forum.cloudron.io/post/96441</guid><dc:creator><![CDATA[humpty]]></dc:creator><pubDate>Tue, 05 Nov 2024 20:01:42 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Tue, 05 Nov 2024 19:32:53 GMT]]></title><description><![CDATA[<p dir="auto">Trying to move Mastodon to another Cloudron (same domain). The domain is already embedded in both Cloudron instances (DNS via API (Hetzner). Shouldn't it be possible with only steps 1-3 from above's guide?</p>
]]></description><link>https://forum.cloudron.io/post/96439</link><guid isPermaLink="true">https://forum.cloudron.io/post/96439</guid><dc:creator><![CDATA[sponch]]></dc:creator><pubDate>Tue, 05 Nov 2024 19:32:53 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Fri, 08 Sep 2023 13:40:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/73369">Best practice for migrating apps from one Cloudron to another?</a>:</p>
<blockquote>
<p dir="auto">Ah! I misread your issue then.</p>
</blockquote>
<p dir="auto">Yeah, I think you missed or misread this bit:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> said in <a href="/post/73352">Best practice for migrating apps from one Cloudron to another?</a>:</p>
<blockquote>
<p dir="auto">But the odd thing is that in the App Email settings on the old server it has always been and is still ghost.app</p>
<p dir="auto">I can only guess that it was working there because I had set-up the required email addresses that are set in the portal settings in Ghost:</p>
<p dir="auto">41999d97-12f0-41e3-b47b-b95114bcdca2-image.png</p>
<p dir="auto">I guess when Cloudron couldn't find that mailbox on the new server it tried to just send as 'ghost.app' instead? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title="🤷" alt="🤷" /></p>
</blockquote>
<p dir="auto">But yeah, as you say, would be good to somehow remind users this might need to be done too, like you say:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/73369">Best practice for migrating apps from one Cloudron to another?</a>:</p>
<blockquote>
<p dir="auto">Mmmm... I wonder how the user can be reminded of this. I think for a start having this in the doc page as a checklist (which is what this thread is about!) will help.</p>
</blockquote>
<p dir="auto">Agreed <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">But maybe whenever importing an app a pop-up could appear saying something like "you might also need to recreate mailboxes on this domain" or something? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title=":shrug:" alt="🤷" /></p>
]]></description><link>https://forum.cloudron.io/post/73370</link><guid isPermaLink="true">https://forum.cloudron.io/post/73370</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 08 Sep 2023 13:40:26 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Fri, 08 Sep 2023 13:26:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> said in <a href="/post/73368">Best practice for migrating apps from one Cloudron to another?</a>:</p>
<blockquote>
<p dir="auto">I think the cause of my issue may have been that I hadn't created the relevant mailboxes for the domain which the app (in the Ghost settings, not the Cloudron App Email setting) was configured to use.</p>
</blockquote>
<p dir="auto">Ah! I misread your issue then. You are right, that mailbox has to be created manually. Mmmm... I wonder how the user can be reminded of this. I think for a start having this in the doc page as a checklist (which is what this thread is about!) will help.</p>
]]></description><link>https://forum.cloudron.io/post/73369</link><guid isPermaLink="true">https://forum.cloudron.io/post/73369</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 08 Sep 2023 13:26:14 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Fri, 08 Sep 2023 13:21:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/73366">Best practice for migrating apps from one Cloudron to another?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> yes, the app email settings is not imported.</p>
</blockquote>
<p dir="auto">Perhaps that is indeed the case, in which case I'm glad I've inadvertently found a bug!</p>
<p dir="auto">But in my case (as mentioned above) the original app I imported still actually had <code>ghost.app</code> in the app email settings too.</p>
<p dir="auto">I think the cause of my issue may have been that I hadn't created the relevant mailboxes for the domain which the app (in the Ghost settings, not the Cloudron App Email setting) was configured to use.</p>
<p dir="auto">Be nice if when importing an app it could somehow know about and import related mailboxes on that domain too though...</p>
]]></description><link>https://forum.cloudron.io/post/73368</link><guid isPermaLink="true">https://forum.cloudron.io/post/73368</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 08 Sep 2023 13:21:20 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Fri, 08 Sep 2023 13:08:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> yes, the app email settings is not imported.</p>
]]></description><link>https://forum.cloudron.io/post/73366</link><guid isPermaLink="true">https://forum.cloudron.io/post/73366</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 08 Sep 2023 13:08:29 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Fri, 08 Sep 2023 13:00:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/73363">Best practice for migrating apps from one Cloudron to another?</a>:</p>
<blockquote>
<p dir="auto">not importing the mailbox configuration.</p>
</blockquote>
<p dir="auto">Do you mean the app email settings?</p>
]]></description><link>https://forum.cloudron.io/post/73365</link><guid isPermaLink="true">https://forum.cloudron.io/post/73365</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 08 Sep 2023 13:00:08 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Fri, 08 Sep 2023 12:54:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> Oh, I think this is a bug in import app. It's not importing the mailbox configuration. I will try to reproduce.</p>
]]></description><link>https://forum.cloudron.io/post/73363</link><guid isPermaLink="true">https://forum.cloudron.io/post/73363</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 08 Sep 2023 12:54:55 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Fri, 08 Sep 2023 11:48:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> said in <a href="/post/73272">Best practice for migrating apps from one Cloudron to another?</a>:</p>
<blockquote>
<p dir="auto">re-create any mailboxes you had set-up on old server at the relevant domain (you may also wish to import email first before actually updating the DNS)</p>
</blockquote>
<p dir="auto">I went ahead and updated the DNS before realising I should do this first! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f926.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--face_palm" style="height:23px;width:auto;vertical-align:middle" title=":face_palm:" alt="🤦" /></p>
<p dir="auto">What should I do now if I want/ need to import the old emails? (in this case I don't think I really need to, but be good to know). Go back to the old server and re-set-up the DNS there, do the imports and then set-up the DNS on the new server again? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title=":shrug:" alt="🤷" /></p>
]]></description><link>https://forum.cloudron.io/post/73355</link><guid isPermaLink="true">https://forum.cloudron.io/post/73355</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 08 Sep 2023 11:48:03 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Fri, 08 Sep 2023 11:38:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/73292">Best practice for migrating apps from one Cloudron to another?</a>:</p>
<blockquote>
<p dir="auto">I think you don't need to worry too much about 4 because this will only be "temporary" until you give the app the same domain as before.</p>
</blockquote>
<p dir="auto">Perhaps when it comes to the domain itself there is nothing to worry about, but methinks "check everything seems to be working" is pretty important!</p>
<p dir="auto">For example, I just migrated a Ghost app and after the migration it was not longer possible to subscribe to the newsletter.</p>
<p dir="auto">In the logs I saw this:</p>
<pre><code>Sep 08 12:22:56Failed to send email. Reason: Mail command failed: 550 Authenticated user support@bridport.news cannot send mail as ghost@bridport.news.
Sep 08 12:22:56
Sep 08 12:22:56"Please see https://ghost.org/docs/config/#mail for instructions on configuring email."
</code></pre>
<p dir="auto">So I edited the App Email settings and changed <code>ghost.app</code> to <code>support</code>:</p>
<p dir="auto"><img src="/assets/uploads/files/1694172813895-eaa8b8b5-be52-4f67-84ff-7f140f20da43-image.png" alt="eaa8b8b5-be52-4f67-84ff-7f140f20da43-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">And then it started working again.</p>
<p dir="auto">But the odd thing is that in the App Email settings on the old server it has always been and is still <code>ghost.app</code></p>
<p dir="auto">I can only guess that it was working there because I had set-up the required email addresses that are set in the portal settings in Ghost:</p>
<p dir="auto"><img src="/assets/uploads/files/1694172976003-41999d97-12f0-41e3-b47b-b95114bcdca2-image.png" alt="41999d97-12f0-41e3-b47b-b95114bcdca2-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I guess when Cloudron couldn't find that mailbox on the new server it tried to just send as 'ghost.app' instead? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title=":shrug:" alt="🤷" /></p>
<p dir="auto">For good measure I think I'll add a step to my post above to re-created any needed mailboxes before updating the location to the new domain...</p>
]]></description><link>https://forum.cloudron.io/post/73352</link><guid isPermaLink="true">https://forum.cloudron.io/post/73352</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 08 Sep 2023 11:38:19 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Thu, 07 Sep 2023 02:30:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> sounds about right. I think you don't need to worry too much about 4 because this will only be "temporary" until you give the app the same domain as before.</p>
]]></description><link>https://forum.cloudron.io/post/73292</link><guid isPermaLink="true">https://forum.cloudron.io/post/73292</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 07 Sep 2023 02:30:33 GMT</pubDate></item><item><title><![CDATA[Reply to Best practice for migrating apps from one Cloudron to another? on Wed, 06 Sep 2023 19:36:12 GMT]]></title><description><![CDATA[<p dir="auto">Here's the previous thread on this topic with an example flow:<br />
<a href="https://forum.cloudron.io/topic/9347/how-to-automate-migrating-importing-apps-from-cloudron-to-cloudron-via-api">https://forum.cloudron.io/topic/9347/how-to-automate-migrating-importing-apps-from-cloudron-to-cloudron-via-api</a></p>
]]></description><link>https://forum.cloudron.io/post/73279</link><guid isPermaLink="true">https://forum.cloudron.io/post/73279</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Wed, 06 Sep 2023 19:36:12 GMT</pubDate></item></channel></rss>