@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 console instead.
(I am still investigating why the "-u cloudron" does not work, but that should not affect usage of the app.)