"Sorry, this file is too large – the maximum size is 1 MB"
Solved
Outline
-
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 theSorry, 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?
-
-
@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
-
-