<?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[Error when trying to set admin]]></title><description><![CDATA[<p dir="auto">I've just installed Matrix &amp; element and seem to have them running but when I try and set the admin in Matrix using this command via the cloudron terminal.</p>
<pre><code>PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD} psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE} -c "UPDATE users SET admin=1 WHERE name='@user:example.com'"
</code></pre>
<p dir="auto">And I changed the name=<a class="plugin-mentions-user plugin-mentions-a" href="/user/user" aria-label="Profile: user">@<bdi>user</bdi></a>:example.com to the one that was provided on the first time usage pop up.</p>
<p dir="auto">When I run the command I get</p>
<p dir="auto">ERROR: column "name"  does not exist</p>
<p dir="auto">Can anyone help with this, thanks</p>
]]></description><link>https://forum.cloudron.io/topic/8831/error-when-trying-to-set-admin</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 10:31:15 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/8831.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Mar 2023 12:08:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error when trying to set admin on Wed, 22 Mar 2023 08:59:29 GMT]]></title><description><![CDATA[<p dir="auto">I have pushed out a new package fixing the typo...</p>
]]></description><link>https://forum.cloudron.io/post/63587</link><guid isPermaLink="true">https://forum.cloudron.io/post/63587</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 22 Mar 2023 08:59:29 GMT</pubDate></item><item><title><![CDATA[Reply to Error when trying to set admin on Mon, 20 Mar 2023 09:18:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ezdub" aria-label="Profile: ezdub">@<bdi>ezdub</bdi></a> said in <a href="/post/63482">Error when trying to set admin</a>:</p>
<blockquote>
<p dir="auto">the popup is shown on first time usage with the name @airbuster@matrix.mydomainname.com</p>
</blockquote>
<p dir="auto">Sounds like that's a typo that ought to be fixed</p>
]]></description><link>https://forum.cloudron.io/post/63483</link><guid isPermaLink="true">https://forum.cloudron.io/post/63483</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Mon, 20 Mar 2023 09:18:10 GMT</pubDate></item><item><title><![CDATA[Reply to Error when trying to set admin on Mon, 20 Mar 2023 08:38:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ezdub" aria-label="Profile: ezdub">@<bdi>ezdub</bdi></a> Sorted now, when the popup is shown on first time usage with the name @airbuster@matrix.mydomainname.com</p>
<p dir="auto">It added an @ instead of a :</p>
<p dir="auto">So it should look like this @airbuster:matrix.mydomainname.com</p>
<p dir="auto">And that works when adding the admin account.</p>
]]></description><link>https://forum.cloudron.io/post/63482</link><guid isPermaLink="true">https://forum.cloudron.io/post/63482</guid><dc:creator><![CDATA[ezdub]]></dc:creator><pubDate>Mon, 20 Mar 2023 08:38:19 GMT</pubDate></item><item><title><![CDATA[Reply to Error when trying to set admin on Fri, 17 Mar 2023 16:49:57 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> Tried it with ' either side and not both did not work.</p>
<p dir="auto">I'll send a screen shot, I think</p>
]]></description><link>https://forum.cloudron.io/post/63383</link><guid isPermaLink="true">https://forum.cloudron.io/post/63383</guid><dc:creator><![CDATA[ezdub]]></dc:creator><pubDate>Fri, 17 Mar 2023 16:49:57 GMT</pubDate></item><item><title><![CDATA[Reply to Error when trying to set admin on Fri, 17 Mar 2023 16:38:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ezdub" aria-label="Profile: ezdub">@<bdi>ezdub</bdi></a> I would double check the quoting. Otherwise, you can send us a screenshot of the command to <a href="mailto:support@cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">support@cloudron.io</a> .</p>
]]></description><link>https://forum.cloudron.io/post/63382</link><guid isPermaLink="true">https://forum.cloudron.io/post/63382</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 17 Mar 2023 16:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to Error when trying to set admin on Fri, 17 Mar 2023 16:28:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Sorry about that I used the &lt;here goes your username + domain&gt; that was shown when the window popped up when first time usage. IE @airbuster@matrix.mydomainname.com</p>
<p dir="auto">And when I entered the command it said airbuster not found</p>
<p dir="auto">If it helps I can do a screenshot</p>
]]></description><link>https://forum.cloudron.io/post/63381</link><guid isPermaLink="true">https://forum.cloudron.io/post/63381</guid><dc:creator><![CDATA[ezdub]]></dc:creator><pubDate>Fri, 17 Mar 2023 16:28:47 GMT</pubDate></item><item><title><![CDATA[Reply to Error when trying to set admin on Fri, 17 Mar 2023 15:13:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ezdub" aria-label="Profile: ezdub">@<bdi>ezdub</bdi></a> the error you have posted suggests though that whatever you have substituted there, was considered as a table column and not an actual value for a column.</p>
<p dir="auto">Note the column is called <code>name</code> and thus has to be <code>name="&lt;here goes your username + domain&gt;"</code></p>
]]></description><link>https://forum.cloudron.io/post/63373</link><guid isPermaLink="true">https://forum.cloudron.io/post/63373</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 17 Mar 2023 15:13:32 GMT</pubDate></item><item><title><![CDATA[Reply to Error when trying to set admin on Fri, 17 Mar 2023 14:41:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Yes I just did a fresh install thinking that perhaps my username did not like having a - in it but I made the username one word and still had the same issue.</p>
<p dir="auto">Please note name in the error is just a substitution for my actual user name</p>
<p dir="auto">Matrix &amp; Element seem to work OK from what I can tell but not having used it before I don't really know</p>
]]></description><link>https://forum.cloudron.io/post/63369</link><guid isPermaLink="true">https://forum.cloudron.io/post/63369</guid><dc:creator><![CDATA[ezdub]]></dc:creator><pubDate>Fri, 17 Mar 2023 14:41:38 GMT</pubDate></item><item><title><![CDATA[Reply to Error when trying to set admin on Fri, 17 Mar 2023 14:19:17 GMT]]></title><description><![CDATA[<p dir="auto">Just installed a matrix instance and I can't reproduce this. The <code>users</code> table does have a column <code>name</code>. Did you encounter any initial app startup errors maybe? Also can you try to re-install synapse to see if this is reproducible on your server?</p>
]]></description><link>https://forum.cloudron.io/post/63366</link><guid isPermaLink="true">https://forum.cloudron.io/post/63366</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 17 Mar 2023 14:19:17 GMT</pubDate></item></channel></rss>