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. Initial change email / passphrase problem

Initial change email / passphrase problem

Scheduled Pinned Locked Moved Solved Discourse
5 Posts 3 Posters 707 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.
    • L Offline
      L Offline
      LoudLemur
      wrote on last edited by LoudLemur
      #1

      First setup instructions ask us to immediately change the admin email address and the passphrase.

      On trying to add an additional email to use as the default for admin, Discourse tries and fails to send an email.

      Screenshot_20220828_123243.png

      It is not possible to change the passphrase as link is sent to the default email address.

      Screenshot_20220828_122800.png

      BrutalBirdieB 1 Reply Last reply
      0
      • L LoudLemur

        First setup instructions ask us to immediately change the admin email address and the passphrase.

        On trying to add an additional email to use as the default for admin, Discourse tries and fails to send an email.

        Screenshot_20220828_123243.png

        It is not possible to change the passphrase as link is sent to the default email address.

        Screenshot_20220828_122800.png

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #2

        @LoudLemur
        https://docs.cloudron.io/apps/discourse/

        
        Changing root account email
        
        The email of the root account is root@cloudron.local. Discourse sends an activation email to the old email address to switch email. Since we don't have access to the default email account, we have to use the rails console to switch the email.
        
        Open a Web terminal and run the following commands:
        
        # sudo -E -u root bundle exec script/rails console
        irb(main):001:0> u = User.find_by_username("root")
        irb(main):002:0> u.email = "YOUR_NEW_EMAIL_ADDRESS"
        irb(main):003:0> u.email_tokens.create(email: u.email)
        irb(main):004:0> u.save!
        

        Like my work? Consider donating a drink. Cheers!

        L 1 Reply Last reply
        0
        • BrutalBirdieB BrutalBirdie

          @LoudLemur
          https://docs.cloudron.io/apps/discourse/

          
          Changing root account email
          
          The email of the root account is root@cloudron.local. Discourse sends an activation email to the old email address to switch email. Since we don't have access to the default email account, we have to use the rails console to switch the email.
          
          Open a Web terminal and run the following commands:
          
          # sudo -E -u root bundle exec script/rails console
          irb(main):001:0> u = User.find_by_username("root")
          irb(main):002:0> u.email = "YOUR_NEW_EMAIL_ADDRESS"
          irb(main):003:0> u.email_tokens.create(email: u.email)
          irb(main):004:0> u.save!
          
          L Offline
          L Offline
          LoudLemur
          wrote on last edited by LoudLemur
          #3

          @BrutalBirdie said in Discourse: initial change email / passphrase problem:

          @LoudLemur
          https://docs.cloudron.io/apps/discourse/

          
          Changing root account email
          
          The email of the root account is root@cloudron.local. Discourse sends an activation email to the old email address to switch email. Since we don't have access to the default email account, we have to use the rails console to switch the email.
          
          Open a Web terminal and run the following commands:
          
          # sudo -E -u root bundle exec script/rails console
          irb(main):001:0> u = User.find_by_username("root")
          irb(main):002:0> u.email = "YOUR_NEW_EMAIL_ADDRESS"
          irb(main):003:0> u.email_tokens.create(email: u.email)
          irb(main):004:0> u.save!
          

          Thanks! Nothing seems to be working for me today, unfortunately. Whn I open the terminal, it looks like this:
          Screenshot_20220828_143123.png

          robiR 1 Reply Last reply
          0
          • L LoudLemur

            @BrutalBirdie said in Discourse: initial change email / passphrase problem:

            @LoudLemur
            https://docs.cloudron.io/apps/discourse/

            
            Changing root account email
            
            The email of the root account is root@cloudron.local. Discourse sends an activation email to the old email address to switch email. Since we don't have access to the default email account, we have to use the rails console to switch the email.
            
            Open a Web terminal and run the following commands:
            
            # sudo -E -u root bundle exec script/rails console
            irb(main):001:0> u = User.find_by_username("root")
            irb(main):002:0> u.email = "YOUR_NEW_EMAIL_ADDRESS"
            irb(main):003:0> u.email_tokens.create(email: u.email)
            irb(main):004:0> u.save!
            

            Thanks! Nothing seems to be working for me today, unfortunately. Whn I open the terminal, it looks like this:
            Screenshot_20220828_143123.png

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #4

            @LoudLemur use a different browser, Firefox may have this issue with certain plugins.

            Conscious tech

            L 1 Reply Last reply
            1
            • robiR robi

              @LoudLemur use a different browser, Firefox may have this issue with certain plugins.

              L Offline
              L Offline
              LoudLemur
              wrote on last edited by
              #5

              @robi said in Discourse: initial change email / passphrase problem:

              @LoudLemur use a different browser, Firefox may have this issue with certain plugins.

              thanks. using a chromium based browser did indeed solve this issue. there is something similar to this if you try and view windy.com in a mozilla browser, the animated wind arrows just disappear and it is streaks of lines across the map.

              the whole interent seems to be degenerating into a 'only usable in google products' hell-hole.

              1 Reply Last reply
              0
              • nebulonN nebulon marked this topic as a question on
              • nebulonN nebulon has marked this topic as solved on
              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