<?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[Cannot update user because "username is already in use"]]></title><description><![CDATA[<p dir="auto">I created a new user yesterday. Today, when I tried to save new permissions or a new password, after clicking the save (disk) icon, I receive the error message "username is already in use." The changes were not saved.</p>
]]></description><link>https://forum.mango-os.com/topic/3049/cannot-update-user-because-username-is-already-in-use</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 07:16:50 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3049.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Oct 2017 15:40:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot update user because "username is already in use" on Tue, 31 Oct 2017 20:50:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> No: user id = 53. The blank fields for that user are homeUrl and timezone. All other fields are filled in.</p>
]]></description><link>https://forum.mango-os.com/post/16045</link><guid isPermaLink="true">https://forum.mango-os.com/post/16045</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Tue, 31 Oct 2017 20:50:08 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot update user because "username is already in use" on Tue, 31 Oct 2017 20:46:19 GMT]]></title><description><![CDATA[<p dir="auto">Is its ID in the users table -1 somehow?</p>
]]></description><link>https://forum.mango-os.com/post/16044</link><guid isPermaLink="true">https://forum.mango-os.com/post/16044</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 31 Oct 2017 20:46:19 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot update user because "username is already in use" on Tue, 31 Oct 2017 20:38:46 GMT]]></title><description><![CDATA[<p dir="auto">I definitely picked the user from the list. I did not hit the new user plus button because the user already existed.</p>
]]></description><link>https://forum.mango-os.com/post/16043</link><guid isPermaLink="true">https://forum.mango-os.com/post/16043</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Tue, 31 Oct 2017 20:38:46 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot update user because "username is already in use" on Tue, 31 Oct 2017 19:10:41 GMT]]></title><description><![CDATA[<p dir="auto">Is it possible you simply didn't hit the new user plus button / select the user from the list, and instead changed the username?</p>
]]></description><link>https://forum.mango-os.com/post/16041</link><guid isPermaLink="true">https://forum.mango-os.com/post/16041</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 31 Oct 2017 19:10:41 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot update user because "username is already in use" on Tue, 31 Oct 2017 17:14:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi Phillip,</p>
<p dir="auto">Thanks for the SQL. The query response did not reveal any duplicated usernames, even after I increased the query limit. I was able to change the permissions on other users, indicating that the problem likely pertains only to this user. Other than being the only user created since upgrading from core 2.8.6 to core 2.8.8, I'm not aware of any other characteristics that would make this user unique.</p>
]]></description><link>https://forum.mango-os.com/post/16040</link><guid isPermaLink="true">https://forum.mango-os.com/post/16040</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Tue, 31 Oct 2017 17:14:09 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot update user because "username is already in use" on Tue, 31 Oct 2017 16:03:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi Pedro,</p>
<p dir="auto">If the issue continues every time you are using the users page, and the user isn't appearing in the list, I would expect you created two the first time. There is an outstanding issue: <a href="https://github.com/infiniteautomation/ma-core-public/issues/1048" rel="nofollow ugc">https://github.com/infiniteautomation/ma-core-public/issues/1048</a> but it hasn't come up often so it seemed somewhat minor.</p>
<p dir="auto">You can easily fix it on the /sqlConsole.shtm page by</p>
<p dir="auto"><code>SELECT * FROM users ORDER BY id DESC LIMIT 10;</code></p>
<p dir="auto">and then delete all but one of any duplicate entry. I am supposing that because you just created that user there aren't account details associated with it since it probably didn't ever work. Nevertheless, you probably want to retain the account with the lower id.</p>
<p dir="auto"><code>DELETE FROM users WHERE id IN (123,456,789);</code></p>
]]></description><link>https://forum.mango-os.com/post/16039</link><guid isPermaLink="true">https://forum.mango-os.com/post/16039</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 31 Oct 2017 16:03:55 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot update user because "username is already in use" on Tue, 31 Oct 2017 15:58:01 GMT]]></title><description><![CDATA[<p dir="auto">Actually, the Firefox instance I'm running contains no user-installed plugins. It contains only a "safe browsing" plugin issued by Firefox by default.</p>
]]></description><link>https://forum.mango-os.com/post/16038</link><guid isPermaLink="true">https://forum.mango-os.com/post/16038</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Tue, 31 Oct 2017 15:58:01 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot update user because "username is already in use" on Tue, 31 Oct 2017 16:04:09 GMT]]></title><description><![CDATA[<p dir="auto">I'm not using a password manager. I'm using Firefox 56 on Linux, and have not installed any new plugins since the last time this was working.</p>
<p dir="auto">core 2.8.8 build 635 - paid</p>
]]></description><link>https://forum.mango-os.com/post/16037</link><guid isPermaLink="true">https://forum.mango-os.com/post/16037</guid><dc:creator><![CDATA[Pedro]]></dc:creator><pubDate>Tue, 31 Oct 2017 16:04:09 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot update user because "username is already in use" on Tue, 31 Oct 2017 15:51:32 GMT]]></title><description><![CDATA[<p dir="auto">Are you using a password manager browser extension by chance? We have noticed they have a tendency to change the username field when you are editing users.</p>
]]></description><link>https://forum.mango-os.com/post/16034</link><guid isPermaLink="true">https://forum.mango-os.com/post/16034</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Tue, 31 Oct 2017 15:51:32 GMT</pubDate></item></channel></rss>