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
7
Topics
3
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

  • Mastodon .env.production resets after update or restart
    Y yossi6206

    @james

    Hi,
    I configured the SMTP directly inside the app so that registration emails could be sent.
    In the Mail FROM Address section, the app is configured to send mails using the address below and examplemail.com’s Outbound Email settings.

    When I test with “Send test email” from the Mastodon admin panel, it works — I receive the test email successfully.
    However, inside the application itself (for example, when a new user registers), the confirmation email is not sent.

    So it seems that the SMTP settings work for the test function but not for real registration emails, which is why I tried setting it directly in .env.production.

    Mastodon feature-request mail

  • Mastodon .env.production resets after update or restart
    Y yossi6206

    Hi,
    I’m running Mastodon on my server (Cloudron-based setup), and I’ve noticed that after every app update or container restart, the file
    /app/data/.env.production — which I edit via nano — gets reset to its default values.

    Because of this, all my custom mail server (SMTP) settings are lost each time the app restarts or updates.

    Is there a way to make these environment variables persistent across updates and restarts in Mastodon?
    Should I store them in another location (like cloudron.env) or configure them differently so they won’t be overwritten?

    Thanks in advance for your help!

    Mastodon feature-request mail
  • Login

  • Don't have an account? Register

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