<?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[First steps &#x2F; discoveries]]></title><description><![CDATA[<p dir="auto">For anyone poking the package...</p>
<p dir="auto">I was unsure how to change the password for the default user. Some digging around yielded the following...</p>
<ol>
<li>I had to generate a password hash. Log into the terminal for the app and run:</li>
</ol>
<pre><code>htpasswd -bnBC 10 "" PASSWORD | tr -d ":\n" | sed 's/$2y/$2a/' &amp;&amp; echo
</code></pre>
<p dir="auto">replacing the word <code>PASSWORD</code> with your password. I used a long combination of words and numbers with no spaces. This will output a <code>bcrypt</code> password hash:</p>
<pre><code>$2a$10$GpIUtD/NDyfpVkQuaVfDde7M5SjcHdcmN9e49kFlgoeVsmMnrQ0wm
</code></pre>
<p dir="auto">or similar. (Don't use that one.)</p>
<ol start="2">
<li>Log into the terminal, and open up the Postgres prompt.</li>
</ol>
<pre><code>update user_account set password = '$2a$10$GpIUtD/NDyfpVk...' where email = 'admin@cloudron.local';
</code></pre>
<p dir="auto">Again, put your password hash between the single quotes.</p>
<p dir="auto">Now, you can log in as the administrative user with the password you hashed.</p>
<ol start="3">
<li>Log in using your SSO/Cloudron user.</li>
</ol>
<p dir="auto">I think a package update might be needed. The OIDC users do not have any privileges out-of-the-box.</p>
<p dir="auto"><a href="https://github.com/plankanban/planka/issues/661" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/plankanban/planka/issues/661</a></p>
<p dir="auto">It might be setting <code>OIDC_IGNORE_ROLES</code> would allow OIDC users to create boards. There might be more env vars necessary, but that one seems critical. It seems like the administrative user cannot (out-of-the-box) modify the roles for OIDC users (<a href="https://github.com/plankanban/planka/issues/1112" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/plankanban/planka/issues/1112</a>). Again, that env var may be part of the puzzle.</p>
<p dir="auto">In the meantime, I again opened up the Postgres prompt, and did:</p>
<pre><code>SELECT * FROM user_account
</code></pre>
<p dir="auto">I found my username (which was my expected Cloudron username, so it was easy to find/there were no surprises), and then modified that row to give myself more permissions:</p>
<pre><code>UPDATE user_account SET role = 'projectOwner' WHERE username = 'MYUSERNAME';
</code></pre>
<p dir="auto">This gave me enough permissions to do things.</p>
<p dir="auto">My hope is that if the right env vars were set, that I would not need to grant my OIDC users permissions via the admin user.</p>
]]></description><link>https://forum.cloudron.io/topic/15429/first-steps-discoveries</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 17:44:44 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15429.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Apr 2026 13:57:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to First steps &#x2F; discoveries on Wed, 22 Apr 2026 17:16:41 GMT]]></title><description><![CDATA[<p dir="auto">Indeed it looks like that admin account created from env variables as described in <a href="https://docs.planka.cloud/docs/configuration/admin-user/#by-setting-environment-variables" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.planka.cloud/docs/configuration/admin-user/#by-setting-environment-variables</a> results in the change password UI to be hidden.</p>
<p dir="auto">Creating an admin user with the planka cli does not have that effect. Trying to get the package fixed up here</p>
]]></description><link>https://forum.cloudron.io/post/123867</link><guid isPermaLink="true">https://forum.cloudron.io/post/123867</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 22 Apr 2026 17:16:41 GMT</pubDate></item><item><title><![CDATA[Reply to First steps &#x2F; discoveries on Wed, 22 Apr 2026 14:58:30 GMT]]></title><description><![CDATA[<p dir="auto">None of your postgres commands worked for me. In fact, for the admin password change the first time I get a notice that ALL lines are ignored, like <code>psql: warning: extra command-line argument "UPDATE" ignored</code>, but when I repeat it the return is UPDATE 1. But then when logging in it tells me the details are wrong. I've restarted the app, and not. Same thing.</p>
<p dir="auto">Even for what looks like an easy SELECT I get  <code>bash: SELECT: command not found </code>.</p>
<p dir="auto">Oh well, I'll delete it and come back to it in a few weeks.</p>
]]></description><link>https://forum.cloudron.io/post/123854</link><guid isPermaLink="true">https://forum.cloudron.io/post/123854</guid><dc:creator><![CDATA[scooke]]></dc:creator><pubDate>Wed, 22 Apr 2026 14:58:30 GMT</pubDate></item></channel></rss>