<?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[How to change the default admin password?]]></title><description><![CDATA[<p dir="auto">Maybe I am missing something obvious, but I don't see how to change the default admin password.</p>
<p dir="auto"><a href="https://docs.invidious.io/reset-password/" target="_blank" rel="noopener noreferrer nofollow ugc">This link</a> says to use a postgre user but that user does not exist in the cloudron web terminal.</p>
]]></description><link>https://forum.cloudron.io/topic/13830/how-to-change-the-default-admin-password</link><generator>RSS for Node</generator><lastBuildDate>Wed, 07 Oct 2026 03:28:03 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13830.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 May 2025 19:22:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to change the default admin password? on Fri, 23 May 2025 08:52:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/orezbodajoy" aria-label="Profile: OrezBodajoy">@<bdi>OrezBodajoy</bdi></a><br />
It is always good to check the official documentation for an app.<br />
But in this case, it is a bit misleading.<br />
Since you are using Cloudron, the PostgreSQL access is different.</p>
<p dir="auto">Creat an app backup first.</p>
<p dir="auto">If you are in the web terminal of your Invidious app, look to the top right corner.<br />
There is a big green button labeled <code>Postgres</code>.<br />
You can just click that button and confirm with <code>ENTER</code>. Then you are logged into your Invidious PostgreSQL database.</p>
<p dir="auto">From the official documentation you still need to do:</p>
<pre><code class="language-bash">python3 -c 'import bcrypt; print(bcrypt.hashpw(b"&lt;INSERT PASSWORD HERE&gt;", bcrypt.gensalt(rounds=10)).decode("ascii"))' # python
mkpasswd --method=bcrypt-a -R 10 # mkpasswd
</code></pre>
<p dir="auto">Now you have your new password hash.<br />
Connect to your PostgreSQL database with the described button or copy and paste the following into your web-terminal (the button will print the same into your web terminal):</p>
<pre><code class="language-bash">PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD} psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE}
</code></pre>
<p dir="auto">Now you should be able to update the password:</p>
<pre><code class="language-bash">UPDATE users SET password = 'HASH' WHERE email = 'USERNAME';
</code></pre>
<hr />
<p dir="auto">I will request an update of the Cloudron documentation for Invidious to include the password reset with the Cloudron way to do it.<br />
Thanks for reporting this missing documentation and please report back if everything worked out on your part.</p>
<p dir="auto">~Cheers</p>
]]></description><link>https://forum.cloudron.io/post/107559</link><guid isPermaLink="true">https://forum.cloudron.io/post/107559</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Fri, 23 May 2025 08:52:06 GMT</pubDate></item></channel></rss>