<?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[Migrating Nextcloud to a different Cloudron has resulted in all the Nextcloud user&#x27;s usernames having _xxxx appended at the end]]></title><description><![CDATA[<p dir="auto">This is what I did:</p>
<p dir="auto">Took a backup of Nextcloud on the old Cloudron server.<br />
Imported the backup of Nextcloud on the new Cloudron server.</p>
<p dir="auto">I could then login as one of the users on the new Cloudron, but I wasn't an admin as I should've been.</p>
<p dir="auto">I tried adding my username as an admin using:</p>
<p dir="auto"><code>sudo -u www-data php -f /app/code/occ group:adduser admin &lt;username&gt; -n</code></p>
<p dir="auto">But that didn't seem to work.</p>
<p dir="auto">So in the end I recreated the admin user and added that user to the admin group, then I could finally login as an admin.</p>
<p dir="auto">When I go and look at the list of users, they are all there, but every single one has got:</p>
<p dir="auto"><code>oldusername_1234</code></p>
<p dir="auto">i.e. all the the usernames have had an <code>_</code> and for random numbers appended to the end!</p>
<p dir="auto">The bizarre thing is that even though my new username appears to be <code>jdaviescoates_8530</code> I still seem able to login with just <code>jdaviescoates</code></p>
<p dir="auto">What is going on? <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=c34f2a691b3" 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/10107/migrating-nextcloud-to-a-different-cloudron-has-resulted-in-all-the-nextcloud-user-s-usernames-having-_xxxx-appended-at-the-end</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 04:52:52 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10107.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Sep 2023 11:25:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Migrating Nextcloud to a different Cloudron has resulted in all the Nextcloud user&#x27;s usernames having _xxxx appended at the end on Tue, 16 Apr 2024 13:04:34 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/74347">Migrating Nextcloud to a different Cloudron has resulted in all the Nextcloud user's usernames having _xxxx appended at the end</a>:</p>
<blockquote>
<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/74345">Migrating Nextcloud to a different Cloudron has resulted in all the Nextcloud user's usernames having _xxxx appended at the end</a>:</p>
<blockquote>
<p dir="auto">as long as the new Cloudron and old Cloudron use the same usernames.</p>
</blockquote>
<p dir="auto">I think this is probably the issue. I think I imported the backup before importing all the users! I've now imported all the users, uninstalled the broken install, and am currently re-importing the backup again...</p>
</blockquote>
<p dir="auto">Just to add more info here, I can't fully remember the details, but I'm pretty sure that didn't help as in the end I gave up trying to get this to work.</p>
<p dir="auto">I'm pretty sure I tried it again the other way around (creating users with the exact same usernames and in the exact same groups etc) and hit exactly the same issue.</p>
]]></description><link>https://forum.cloudron.io/post/85134</link><guid isPermaLink="true">https://forum.cloudron.io/post/85134</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Tue, 16 Apr 2024 13:04:34 GMT</pubDate></item><item><title><![CDATA[Reply to Migrating Nextcloud to a different Cloudron has resulted in all the Nextcloud user&#x27;s usernames having _xxxx appended at the end on Thu, 28 Sep 2023 11:50:24 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/74345">Migrating Nextcloud to a different Cloudron has resulted in all the Nextcloud user's usernames having _xxxx appended at the end</a>:</p>
<blockquote>
<p dir="auto">as long as the new Cloudron and old Cloudron use the same usernames.</p>
</blockquote>
<p dir="auto">I think this is probably the issue. I think I imported the backup before importing all the users! I've now imported all the users, uninstalled the broken install, and am currently re-importing the backup again...</p>
]]></description><link>https://forum.cloudron.io/post/74347</link><guid isPermaLink="true">https://forum.cloudron.io/post/74347</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Thu, 28 Sep 2023 11:50:24 GMT</pubDate></item><item><title><![CDATA[Reply to Migrating Nextcloud to a different Cloudron has resulted in all the Nextcloud user&#x27;s usernames having _xxxx appended at the end on Thu, 28 Sep 2023 11:43:39 GMT]]></title><description><![CDATA[<p dir="auto">Does your installation have a file <code>/app/data/.ldap_uid</code> ? Long time ago, we used to use Cloudron user id to identify users. While this is technically more correct, it made it hard to migrate across Cloudrons. We have since change the package long time to user username instead. Using username makes it more portable, as long as the new Cloudron and old Cloudron use the same usernames.</p>
]]></description><link>https://forum.cloudron.io/post/74345</link><guid isPermaLink="true">https://forum.cloudron.io/post/74345</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 28 Sep 2023 11:43:39 GMT</pubDate></item><item><title><![CDATA[Reply to Migrating Nextcloud to a different Cloudron has resulted in all the Nextcloud user&#x27;s usernames having _xxxx appended at the end on Thu, 28 Sep 2023 11:29:17 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/74341">Migrating Nextcloud to a different Cloudron has resulted in all the Nextcloud user's usernames having _xxxx appended at the end</a>:</p>
<blockquote>
<p dir="auto">The bizarre thing is that even though my new username appears to be jdaviescoates_8530 I still seem able to login with just jdaviescoates</p>
</blockquote>
<p dir="auto">And I just impersonated another user too, same thing.</p>
<p dir="auto">Perhaps that means I just don't have to worry about this.  But it's still all a bit odd and disconcerting.</p>
<p dir="auto">Why have all the usernames now got <code>_xxxx</code> appended to them?<br />
Why is Nextcloud ignoring the <code>_xxxx</code> part of the username when logging in?</p>
<p dir="auto">So many questions!</p>
]]></description><link>https://forum.cloudron.io/post/74342</link><guid isPermaLink="true">https://forum.cloudron.io/post/74342</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Thu, 28 Sep 2023 11:29:17 GMT</pubDate></item></channel></rss>