"Sorry, this file is too large – the maximum size is 1 MB"
-
Despite adding
FILE_STORAGE=local FILE_STORAGE_UPLOAD_MAX_SIZE=26214400(source)
and
MAXIMUM_IMPORT_SIZE=5120000(source)
to
env.shand restarting, I am stilling getting theSorry, this file is too large – the maximum size is 1 MBerror when I try to attach a file larger than 1 MB.What am I missing?
-
Despite adding
FILE_STORAGE=local FILE_STORAGE_UPLOAD_MAX_SIZE=26214400(source)
and
MAXIMUM_IMPORT_SIZE=5120000(source)
to
env.shand restarting, I am stilling getting theSorry, this file is too large – the maximum size is 1 MBerror when I try to attach a file larger than 1 MB.What am I missing?
-
@superhua you have to add
exportin front of the variables. So,export FILE_STORAGE=local export FILE_STORAGE_UPLOAD_MAX_SIZE=26214400A trick to remember this is that we use the .sh extension (shell) when export keyword is required.
@girish said in "Sorry, this file is too large – the maximum size is 1 MB":
@superhua you have to add
exportin front of the variables. So,export FILE_STORAGE=local export FILE_STORAGE_UPLOAD_MAX_SIZE=26214400A 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

-
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