-
Setting up Discourse, I tried to follow these instructions to change the root account email address but failed at the first step:
# 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)of the almost 100 lines of traceback that followed I'm guessing these are the most relevant:
/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)When I do a cd into /root and then
ls -laI see neither.inputrcnor.irb_historyAnyone know what's going on? Suggestions?
Thanks. -
Setting up Discourse, I tried to follow these instructions to change the root account email address but failed at the first step:
# 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)of the almost 100 lines of traceback that followed I'm guessing these are the most relevant:
/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)When I do a cd into /root and then
ls -laI see neither.inputrcnor.irb_historyAnyone know what's going on? Suggestions?
Thanks.@baslow please see https://forum.cloudron.io/topic/2232/changing-root-account-email-in-fresh-discourse-install/4 for the fix. Basically, run
sudo -E -u root bundle exec script/rails consoleinstead.(I am still investigating why the "-u cloudron" does not work, but that should not affect usage of the app.)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login