<?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 trying to change Discourse 'root' email]]></title><description><![CDATA[<p dir="auto">Setting up Discourse, I tried to follow <a href="https://docs.cloudron.io/apps/discourse/#changing-root-account-email" target="_blank" rel="noopener noreferrer nofollow ugc">these instructions</a> to change the root account email address but failed at the first step:</p>
<pre><code># sudo -E -u cloudron bundle exec script/rails console
Loading production environment (Rails 6.1.3.2)
bundler: failed to load command: script/rails (script/rails)
</code></pre>
<p dir="auto">of the almost 100 lines of traceback that followed I'm guessing these are the most relevant:</p>
<pre><code>/usr/local/lib/ruby/2.7.0/reline/config.rb:122:in `readlines': Permission denied @ rb_sysopen - /root/.inputrc (Errno::EACCES)
...
/usr/local/lib/ruby/2.7.0/irb/ext/save-history.rb:98:in `stat': Permission denied @ rb_file_s_stat - /root/.irb_history (Errno::EACCES)
</code></pre>
<p dir="auto">When I do a cd into /root and then <code>ls -la</code> I see neither <code>.inputrc</code>  nor <code>.irb_history</code></p>
<p dir="auto">Anyone know what's going on? Suggestions?<br />
Thanks.</p>
]]></description><link>https://forum.cloudron.io/topic/5383/error-trying-to-change-discourse-root-email</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 20:38:56 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5383.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Jul 2021 21:32:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error trying to change Discourse 'root' email on Tue, 20 Jul 2021 00:08:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/baslow" aria-label="Profile: baslow">@<bdi>baslow</bdi></a> please see <a href="https://forum.cloudron.io/topic/2232/changing-root-account-email-in-fresh-discourse-install/4">https://forum.cloudron.io/topic/2232/changing-root-account-email-in-fresh-discourse-install/4</a> for the fix. Basically, run <code>sudo -E -u root bundle exec script/rails console</code> instead.</p>
<p dir="auto">(I am still investigating why the "-u cloudron" does not work, but that should not affect usage of the app.)</p>
]]></description><link>https://forum.cloudron.io/post/34110</link><guid isPermaLink="true">https://forum.cloudron.io/post/34110</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 20 Jul 2021 00:08:50 GMT</pubDate></item></channel></rss>