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
S

ScottyMojo

@ScottyMojo
About
Posts
6
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 2 MB File Size Upload Limit Issue
    S ScottyMojo

    After tinkering for a while and more reading, it looks like the 2 MB file size upload limitation is with headers and avatars and that increasing the upload sizes within the media_attachment.rb config file doesn't affect headers and avatars. This is unfortunate but doable.

    Mastodon

  • 2 MB File Size Upload Limit Issue
    S ScottyMojo

    I am running into a 2 MB file size upload limit issue. This is occurring despite Mastodon being configured to allow much larger files. When editing my Admin profile and attempting to upload a header and avatar that is larger than 2 MB, an error message is displayed stating that uploads are set at a maximum of 2 MB. I've been looking everywhere for an answer to this but I can't find a solution. Does anyone know where this limit is located?

    Mastodon

  • Question about editing and saving files that are currently read only
    S ScottyMojo

    @robi I put Mastodon in recovery mode, successfully made the edit and saved the file but when going out of recovery mode, Mastodon was restarted and my edit was gone! 😞

    Mastodon

  • Question about editing and saving files that are currently read only
    S ScottyMojo

    To elaborate a bit more on the username issue, I also tried to manually create the "admin" username via command line but the reserved message displayed and couldn't create the account.

    Here is the example that I tried:

    RAILS_ENV=production bin/tootctl accounts create
    alice
    --email alice@example.com
    --confirmed
    --role Owner

    However, please note that this is just the example. I replaced the username and email address accordingly.

    From the sounds of things, I need to edit the reserved_usernames in config/settings.yml which will hopefully let me create the account, then grant it admin privileges via command line.

    i.e.

    RAILS_ENV=production bin/tootctl accounts modify alice --role admin

    Mastodon

  • Question about editing and saving files that are currently read only
    S ScottyMojo

    I read that trying to tie in the Cloudron user management doesn't work very well so during installation, I selected to let all of the user management be handled by Mastodon. The side effect to this is that I would like to create "admin" as a username for my admin account. However, in 4.x, there are reserved usernames that aren't allowing an account with the username to be created. After reading various posts, it sounds like I need to edit reserved_usernames in config/settings.yml.

    I also need to edit the media_attachment.rb file located in app/models/

    Thus far, I think those are the only files that I need to edit but I was wanting to play with the theme files too.

    Is it possible for me to open SSH as root from my Digital Ocean droplet and edit / write the files? If so, where is the Mastodon installation located? I can't find it. Do I need to chmod the file first and if so, is chmod +rwx filename the correct permissions?

    Thank you greatly for your guidance!

    Mastodon

  • Question about editing and saving files that are currently read only
    S ScottyMojo

    I need to edit some Mastodon files but I keep getting a read only error in the terminal. :w! doesn't work. I also tried to chmod write permission to the file but it's a no go. How do I write the file after I've made changes? The files that I need to change are not available in the File Manager.

    Mastodon
  • Login

  • Don't have an account? Register

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