Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. Error on changing Discourse root email

Error on changing Discourse root email

Scheduled Pinned Locked Moved Discourse
12 Posts 3 Posters 1.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z zylstra

    Here is my screeshot:
    4b02e1b9-148e-4473-81ba-066f2f2dcbbb-image.png
    How can I fix this error?

    murgeroM Offline
    murgeroM Offline
    murgero
    App Dev
    wrote on last edited by
    #2

    @zylstra Are you able to login as root?

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~

    1 Reply Last reply
    1
    • Z zylstra

      Here is my screeshot:
      4b02e1b9-148e-4473-81ba-066f2f2dcbbb-image.png
      How can I fix this error?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #3

      @zylstra Can you check if that = is actually the equal to sign? Some browsers use different fonts and use some fancy character which looks like = but is not really equal to. From the screenshot you posted, it doesn't look like = ...

      Z 1 Reply Last reply
      1
      • girishG girish

        @zylstra Can you check if that = is actually the equal to sign? Some browsers use different fonts and use some fancy character which looks like = but is not really equal to. From the screenshot you posted, it doesn't look like = ...

        Z Offline
        Z Offline
        zylstra
        wrote on last edited by
        #4

        @girish Yes, I checked the equal sign that I originally pasted. Then I tried again typing everything out just to be sure.

        girishG 1 Reply Last reply
        0
        • Z zylstra

          @girish Yes, I checked the equal sign that I originally pasted. Then I tried again typing everything out just to be sure.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #5

          @zylstra As @murgero suggested, are you able to login as 'root' in discourse? It seems that user is not found.

          1 Reply Last reply
          1
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #6

            My terminal session looks like this:

            root@52b89a18-00b8-4e38-b4f6-67920f021bd8:/app/code# sudo -E -u root bundle exec script/rails console
            Loading production environment (Rails 6.1.3.2)
            irb(main):001:0> u = User.find_by_username("root")
            => #<User id: 1, username: "root", created_at: "2021-10-01 17:39:37.393537000 +0000", updated_at: "2021-10-01 17:39:42.179054000 +0000"...
            irb(main):002:0> 
            

            The user 'root' is found and should not be nil.

            Z 1 Reply Last reply
            1
            • girishG girish

              My terminal session looks like this:

              root@52b89a18-00b8-4e38-b4f6-67920f021bd8:/app/code# sudo -E -u root bundle exec script/rails console
              Loading production environment (Rails 6.1.3.2)
              irb(main):001:0> u = User.find_by_username("root")
              => #<User id: 1, username: "root", created_at: "2021-10-01 17:39:37.393537000 +0000", updated_at: "2021-10-01 17:39:42.179054000 +0000"...
              irb(main):002:0> 
              

              The user 'root' is found and should not be nil.

              Z Offline
              Z Offline
              zylstra
              wrote on last edited by
              #7

              @girish Am I not logged in as root in Discourse automatically when I click on the terminal icon on the Cloudron app page?

              Does the terminal prompt not show that I am logged in as root, i.e. the root in root@5dfbf59d-2d3e-45f8-b95f-42ff675cdeea:/app/code#?

              How do I log in as root? su? su root?

              c86b5bb4-1065-4c2f-ba0f-8d9c1bfd71ff-image.png

              murgeroM 1 Reply Last reply
              0
              • Z zylstra

                @girish Am I not logged in as root in Discourse automatically when I click on the terminal icon on the Cloudron app page?

                Does the terminal prompt not show that I am logged in as root, i.e. the root in root@5dfbf59d-2d3e-45f8-b95f-42ff675cdeea:/app/code#?

                How do I log in as root? su? su root?

                c86b5bb4-1065-4c2f-ba0f-8d9c1bfd71ff-image.png

                murgeroM Offline
                murgeroM Offline
                murgero
                App Dev
                wrote on last edited by
                #8

                @zylstra Sorry - my comment was vague - I meant can you login as the root user on the discourse web app (not the terminal)

                --
                https://urgero.org
                ~ Professional Nerd. Freelance Programmer. ~

                Z 1 Reply Last reply
                0
                • murgeroM murgero

                  @zylstra Sorry - my comment was vague - I meant can you login as the root user on the discourse web app (not the terminal)

                  Z Offline
                  Z Offline
                  zylstra
                  wrote on last edited by
                  #9

                  @murgero I clicked the "Skip the password; email me a login link" link after entering root as the username. I got the error "No account matches the username root".

                  e37ff971-4dd2-420d-bc4f-08a53663f0ea-image.png

                  girishG murgeroM 2 Replies Last reply
                  0
                  • Z zylstra

                    @murgero I clicked the "Skip the password; email me a login link" link after entering root as the username. I got the error "No account matches the username root".

                    e37ff971-4dd2-420d-bc4f-08a53663f0ea-image.png

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by girish
                    #10

                    @zylstra the default login is root and password changeme123 . Does that work? Maybe the link only works after the first login, not sure.

                    1 Reply Last reply
                    0
                    • Z zylstra

                      @murgero I clicked the "Skip the password; email me a login link" link after entering root as the username. I got the error "No account matches the username root".

                      e37ff971-4dd2-420d-bc4f-08a53663f0ea-image.png

                      murgeroM Offline
                      murgeroM Offline
                      murgero
                      App Dev
                      wrote on last edited by
                      #11

                      @zylstra The original email is root@cloudron.local so that wont work until you change it. Login as @girish recommends using password.

                      --
                      https://urgero.org
                      ~ Professional Nerd. Freelance Programmer. ~

                      1 Reply Last reply
                      1
                      • Z Offline
                        Z Offline
                        zylstra
                        wrote on last edited by zylstra
                        #12

                        @murgero @girish
                        I think I figured it out: I suspect that I changed root's username soon after install, then forgot about it, or did not realize that I did so. I am not sure what happened with the password either, but what I had wasn't working. So I was able to change the email address associated with the (renamed) root account. Then I had to wait a couple days to get a new password while time4vps's occasionally available support opened port 25. It's set up correctly now.

                        Now that I mentioned it, I will state for the record that time4vps's support is NOT 24/7 like they so proudly state on their homepage. Their hours are GMT +3:
                        weekdays: 8:30 till 21:30
                        weekends: 10:00 till 16:30
                        So if you are on the West Coast of the US you can get support until 11:30 am on weekdays and until 6:30 am on weekends. 😕

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search