<?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[Directus fail to create an user from Cloudron Open ID]]></title><description><![CDATA[<p dir="auto">Hi guys..<br />
I have a huge error, that I can´t find a solution yet.<br />
When I create a new instance of directus, everything works fine, Users are created trough Cloudron Loogin with no problem. But after a few days it stop working and returning an Error.</p>
<p dir="auto">Looking to the logs, I saw this error.   There are something I missing ?</p>
<pre><code>Feb 21 09:59:41[12:59:41.587] WARN: [OpenID] Unexpected error during OpenID login
Feb 21 09:59:41err: {
Feb 21 09:59:41"type": "DatabaseError",
Feb 21 09:59:41"message": "insert into \"directus_users\" (\"auth_data\", \"email\", \"external_identifier\", \"first_name\", \"id\", \"last_name\", \"provider\", \"role\") values (DEFAULT, $1, $2, $3, $4, $5, $6, $7) returning \"id\" - invalid input syntax for type uuid: \"\"",
Feb 21 09:59:41"stack":
Feb 21 09:59:41error: insert into "directus_users" ("auth_data", "email", "external_identifier", "first_name", "id", "last_name", "provider", "role") values (DEFAULT, $1, $2, $3, $4, $5, $6, $7) returning "id" - invalid input syntax for type uuid: ""
Feb 21 09:59:41at Parser.parseErrorMessage (/app/code/node_modules/pg-protocol/dist/parser.js:287:98)
Feb 21 09:59:41at Parser.handlePacket (/app/code/node_modules/pg-protocol/dist/parser.js:126:29)
Feb 21 09:59:41at Parser.parse (/app/code/node_modules/pg-protocol/dist/parser.js:39:38)
Feb 21 09:59:41at Socket.&lt;anonymous&gt; (/app/code/node_modules/pg-protocol/dist/index.js:11:42)
Feb 21 09:59:41at Socket.emit (node:events:517:28)
Feb 21 09:59:41at addChunk (node:internal/streams/readable:335:12)
Feb 21 09:59:41at readableAddChunk (node:internal/streams/readable:308:9)
Feb 21 09:59:41at Readable.push (node:internal/streams/readable:245:10)
Feb 21 09:59:41at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
Feb 21 09:59:41"length": 129,
Feb 21 09:59:41"name": "error",
Feb 21 09:59:41"severity": "ERROR",
Feb 21 09:59:41"code": "22P02",
Feb 21 09:59:41"where": "unnamed portal parameter $7 = ''",
Feb 21 09:59:41"file": "uuid.c",
Feb 21 09:59:41"line": "134",
Feb 21 09:59:41"routine": "string_to_uuid"
Feb 21 09:59:41}```</code></pre>
]]></description><link>https://forum.cloudron.io/topic/11152/directus-fail-to-create-an-user-from-cloudron-open-id</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 00:58:21 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11152.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Feb 2024 13:08:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Tue, 14 May 2024 20:00:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nennogabriel" aria-label="Profile: nennogabriel">@<bdi>nennogabriel</bdi></a> said in <a href="/post/88465">Directus fail to create an user from Cloudron Open ID</a>:</p>
<blockquote>
<p dir="auto">the new version of Directus on cloudron dos not use LDAP and you cannot use OPENID but CLOUDRON as variable.</p>
</blockquote>
<p dir="auto">what do you mean by this? Why can we not use OPENID?</p>
]]></description><link>https://forum.cloudron.io/post/88481</link><guid isPermaLink="true">https://forum.cloudron.io/post/88481</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 14 May 2024 20:00:37 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Tue, 14 May 2024 15:12:24 GMT]]></title><description><![CDATA[<p dir="auto">the new version of Directus on cloudron dos not use LDAP and you cannot use OPENID but CLOUDRON as variable.</p>
<p dir="auto">Just put<br />
export AUTH_CLOUDRON_DEFAULT_ROLE_ID="xxx"</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> can you update the directus documentation to avoid this error?</p>
]]></description><link>https://forum.cloudron.io/post/88465</link><guid isPermaLink="true">https://forum.cloudron.io/post/88465</guid><dc:creator><![CDATA[nennogabriel]]></dc:creator><pubDate>Tue, 14 May 2024 15:12:24 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Fri, 08 Mar 2024 16:19:22 GMT]]></title><description><![CDATA[<p dir="auto">I also have this problem. The error is that I can't use Login with cloudron because their default authentication source (provider) is set to 'default'. I can change that to 'cloudron'. But still while logging in, it will say 'invalid_provider'. Once I locked my admin account out by changing the source to 'cloudron' then changed the provider using postgres query. Issue still remains unsolved, but since all users have their passwords it's not been an urgent problem. But still.. worth looking into it.</p>
]]></description><link>https://forum.cloudron.io/post/84643</link><guid isPermaLink="true">https://forum.cloudron.io/post/84643</guid><dc:creator><![CDATA[nj]]></dc:creator><pubDate>Fri, 08 Mar 2024 16:19:22 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Mon, 26 Feb 2024 21:16:29 GMT]]></title><description><![CDATA[<p dir="auto">of course...<br />
<a href="https://github.com/directus/directus/issues/21572" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/directus/directus/issues/21572</a></p>
]]></description><link>https://forum.cloudron.io/post/84066</link><guid isPermaLink="true">https://forum.cloudron.io/post/84066</guid><dc:creator><![CDATA[pedrocm]]></dc:creator><pubDate>Mon, 26 Feb 2024 21:16:29 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Mon, 26 Feb 2024 17:20:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pedrocm" aria-label="Profile: pedrocm">@<bdi>pedrocm</bdi></a> Can you report this upstream at <a href="https://github.com/directus/directus/issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/directus/directus/issues</a> and link the issue here so we can follow up ?</p>
]]></description><link>https://forum.cloudron.io/post/84055</link><guid isPermaLink="true">https://forum.cloudron.io/post/84055</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 26 Feb 2024 17:20:58 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Fri, 23 Feb 2024 12:47:43 GMT]]></title><description><![CDATA[<p dir="auto">And sorry... I thought it was possible to login with an admin user. I did create a new user as admin to try, but return the same error</p>
]]></description><link>https://forum.cloudron.io/post/83859</link><guid isPermaLink="true">https://forum.cloudron.io/post/83859</guid><dc:creator><![CDATA[pedrocm]]></dc:creator><pubDate>Fri, 23 Feb 2024 12:47:43 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Fri, 23 Feb 2024 12:43:37 GMT]]></title><description><![CDATA[<p dir="auto">it is not true, because I set up to "Allow all users from this Cloudron"</p>
]]></description><link>https://forum.cloudron.io/post/83858</link><guid isPermaLink="true">https://forum.cloudron.io/post/83858</guid><dc:creator><![CDATA[pedrocm]]></dc:creator><pubDate>Fri, 23 Feb 2024 12:43:37 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Thu, 22 Feb 2024 16:20:14 GMT]]></title><description><![CDATA[<p dir="auto">If only Cloudron admins can login, this may indicate that your access restrictions set for the app within Cloudron may be off? Cloudron admins can always log into all apps, regardless of access controls, so maybe that is a clue?</p>
]]></description><link>https://forum.cloudron.io/post/83800</link><guid isPermaLink="true">https://forum.cloudron.io/post/83800</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 22 Feb 2024 16:20:14 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Thu, 22 Feb 2024 16:17:50 GMT]]></title><description><![CDATA[<p dir="auto">I change back original role to admin, and put an enviroment variable link</p>
<pre><code>export AUTH_LDAP_DEFAULT_ROLE_ID=&lt;id of role&gt;
export AUTH_OPENID_DEFAULT_ROLE_ID=&lt;id of role&gt;
</code></pre>
<p dir="auto">but it still returning the same error. only people are admin in cloudron can login if they not already did in the first day.</p>
]]></description><link>https://forum.cloudron.io/post/83799</link><guid isPermaLink="true">https://forum.cloudron.io/post/83799</guid><dc:creator><![CDATA[pedrocm]]></dc:creator><pubDate>Thu, 22 Feb 2024 16:17:50 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Thu, 22 Feb 2024 14:36:55 GMT]]></title><description><![CDATA[<p dir="auto">Yes, new users are not allowed to be admin at first login. I change the original role privileges to a more basic access. And move me to another role with admin powers.</p>
<p dir="auto">Cloudron version.<br />
Platform versionv7.6.4 (Ubuntu 22.04.3 LTS)</p>
]]></description><link>https://forum.cloudron.io/post/83791</link><guid isPermaLink="true">https://forum.cloudron.io/post/83791</guid><dc:creator><![CDATA[pedrocm]]></dc:creator><pubDate>Thu, 22 Feb 2024 14:36:55 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Thu, 22 Feb 2024 12:11:59 GMT]]></title><description><![CDATA[<p dir="auto">From my reading of the error message, it seems the id variable was not set correctly for the MySQL insert query (it is empty). <a class="plugin-mentions-user plugin-mentions-a" href="/user/pedrocm" aria-label="Profile: pedrocm">@<bdi>pedrocm</bdi></a> so this happens only when you do OIDC login and not when you login as admin? Also, can you also confirm which Cloudron version you are on (this is listed in Settings)?</p>
]]></description><link>https://forum.cloudron.io/post/83782</link><guid isPermaLink="true">https://forum.cloudron.io/post/83782</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 22 Feb 2024 12:11:59 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Wed, 21 Feb 2024 16:04:10 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></p>
<p dir="auto">Users who already had an account continue to be able to log in without any problems. I keep automatic updates enabled.</p>
<p dir="auto">App Info</p>
<p dir="auto">App Title and VersionDirectus 10.9.2<br />
App xxx<br />
Package Versionio.directus9.cloudronapp@1.39.2<br />
Last Updated02/16/2024</p>
]]></description><link>https://forum.cloudron.io/post/83736</link><guid isPermaLink="true">https://forum.cloudron.io/post/83736</guid><dc:creator><![CDATA[pedrocm]]></dc:creator><pubDate>Wed, 21 Feb 2024 16:04:10 GMT</pubDate></item><item><title><![CDATA[Reply to Directus fail to create an user from Cloudron Open ID on Wed, 21 Feb 2024 15:51:03 GMT]]></title><description><![CDATA[<p dir="auto">Was your app instance updated in between? If you create a new test user, can that one log in?</p>
]]></description><link>https://forum.cloudron.io/post/83734</link><guid isPermaLink="true">https://forum.cloudron.io/post/83734</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 21 Feb 2024 15:51:03 GMT</pubDate></item></channel></rss>