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. Mastodon
  3. 2 MB File Size Upload Limit Issue

2 MB File Size Upload Limit Issue

Scheduled Pinned Locked Moved Mastodon
3 Posts 2 Posters 436 Views 2 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.
    • S Offline
      S Offline
      ScottyMojo
      wrote on last edited by
      #1

      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?

      S 1 Reply Last reply
      0
      • 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?

        S Offline
        S Offline
        ScottyMojo
        wrote on last edited by
        #2

        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.

        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          https://github.com/mastodon/mastodon/discussions/21916 is the upstream discussion for future reference.

          1 Reply Last reply
          1
          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