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. 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 907 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
        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