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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    2 MB File Size Upload Limit Issue

    Mastodon
    2
    3
    57
    Loading More Posts
    • 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
      ScottyMojo last edited by

      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 Reply Quote 0
      • S
        ScottyMojo @ScottyMojo last edited by

        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 Reply Quote 1
        • girish
          girish Staff last edited by

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

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB