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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Initial change email / passphrase problem

Scheduled Pinned Locked Moved Solved Discourse
5 Posts 3 Posters 175 Views
    • 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
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie Staff
    replied to LoudLemur 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 drink. Cheers!

    L 1 Reply Last reply
    0
  • L Offline
    L Offline
    LoudLemur
    replied to BrutalBirdie 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
  • robiR Offline
    robiR Offline
    robi
    replied to LoudLemur on last edited by
    #4

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

    Life of sky tech

    L 1 Reply Last reply
    1
  • L Offline
    L Offline
    LoudLemur
    replied to robi 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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.