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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Outline
  3. "Sorry, this file is too large – the maximum size is 1 MB"

"Sorry, this file is too large – the maximum size is 1 MB"

Scheduled Pinned Locked Moved Solved Outline
3 Posts 3 Posters 1.9k Views 3 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
    superhua
    wrote on last edited by
    #1

    Despite adding

    FILE_STORAGE=local
    FILE_STORAGE_UPLOAD_MAX_SIZE=26214400
    

    (source)

    and

    MAXIMUM_IMPORT_SIZE=5120000
    

    (source)

    to env.sh and restarting, I am stilling getting the Sorry, this file is too large – the maximum size is 1 MB error when I try to attach a file larger than 1 MB.

    What am I missing?

    girishG 1 Reply Last reply
    1
    • S superhua

      Despite adding

      FILE_STORAGE=local
      FILE_STORAGE_UPLOAD_MAX_SIZE=26214400
      

      (source)

      and

      MAXIMUM_IMPORT_SIZE=5120000
      

      (source)

      to env.sh and restarting, I am stilling getting the Sorry, this file is too large – the maximum size is 1 MB error when I try to attach a file larger than 1 MB.

      What am I missing?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @superhua you have to add export in front of the variables. So,

      export FILE_STORAGE=local
      export FILE_STORAGE_UPLOAD_MAX_SIZE=26214400
      

      A trick to remember this is that we use the .sh extension (shell) when export keyword is required.

      jdaviescoatesJ 1 Reply Last reply
      2
      • girishG girish

        @superhua you have to add export in front of the variables. So,

        export FILE_STORAGE=local
        export FILE_STORAGE_UPLOAD_MAX_SIZE=26214400
        

        A trick to remember this is that we use the .sh extension (shell) when export keyword is required.

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #3

        @girish said in "Sorry, this file is too large – the maximum size is 1 MB":

        @superhua you have to add export in front of the variables. So,

        export FILE_STORAGE=local
        export FILE_STORAGE_UPLOAD_MAX_SIZE=26214400
        

        A trick to remember this is that we use the .sh extension (shell) when export keyword is required.

        Be useful to add that info to https://docs.cloudron.io/apps/outline/#custom-config 😉

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        0
        • S superhua marked this topic as a question on
        • S superhua has marked this topic as solved on

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        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