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
  • Brite
  • 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
Y

yossi6206

@yossi6206
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Unable to log in to Mastodon on Cloudron after installation
    Y yossi6206

    @james
    Hi,

    First of all, thank you very much for taking the time to respond to my question and provide a solution to my issue — I really appreciate it!

    In the end, I managed to log in to Mastodon by manually creating an admin user.
    Here’s the command I used inside the Mastodon directory:

    RAILS_ENV=production bundle exec rails console << 'SCRIPT'
    user = User.new(email: 'user@example.com', password: 'StrongPassword123!', password_confirmation: 'StrongPassword123!', agreement: true, confirmed_at: Time.now.utc)
    user.account = Account.new(username: 'username')
    user.save!
    user.approve!
    user.update(role: UserRole.find_by(name: 'Owner'))
    puts "User created successfully: #{user.account.username} (#{user.email})"
    SCRIPT

    Only after creating the admin user this way, I was able to successfully access Mastodon.

    Best regards,
    Yossi

    Mastodon
  • Login

  • Don't have an account? Register

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