-
Trilium Version0.63.5 What operating system are you using?Other Linux What is your setup?Server access only Operating System VersionDebian server DescriptionHello, I use trilium (docker) only with the web client on my server, but I cannot disable the file size limit set to 250 MB. However, I added the following environment variable in the docker-compose file How to disable this restriction? Error logsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
|
It works on my machine. I guess you did not set it right. Just tested a big file, works fine. Do you have something like Nginx in the front? There is also a upload limit in it. |
Beta Was this translation helpful? Give feedback.
-
I don't use reverse proxy. Here is the docker compose file that I use : Is there something I did wrong? |
Beta Was this translation helpful? Give feedback.
-
|
I noticed that when the Is it normal ? Is there a way to disable this limit entirely? |
Beta Was this translation helpful? Give feedback.
-
|
I've got an error message when upload with a 1GB file |
Beta Was this translation helpful? Give feedback.
-
No. Trilium is not designed as a "huge file storage". |
Beta Was this translation helpful? Give feedback.
-
|
There’s no way to fully disable the file size limit in Trilium. Setting To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.


There’s no way to fully disable the file size limit in Trilium. Setting
TRILIUM_NO_UPLOAD_LIMIT=1removes the built-in 250MB application limit, but you’ll still hit a hard cap around 400–410MB due to how Node.js and the V8 engine handle large files in memory. This is a technical constraint: Trilium loads the entire file into memory as a string or buffer, and the underlying platform has a maximum size it can handle—errors like “The bound string, buffer, or bigint is too big” come from these limits, not Trilium itself. This cap isn’t related to the database backend and can’t be bypassed by configuration or environment variables. Trilium isn’t designed for large file storage, so for anythin…