mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #1753] change maximum file size #1050
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1050
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vista-narvas on GitHub (Jun 6, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1753
Subject of the issue
when uploading a file for send, i get the error
"Maximum file size is 100 MB."
i cant find any config for changing the maximum file size
Deployment environment
vaultwarden/server:latest
just pulled again
Install method:
docker
Clients used:
web vault and browser addon
Reverse proxy and version:
traefik
MySQL/MariaDB or PostgreSQL version:
nope
Other relevant details:
Steps to reproduce
Expected behaviour
a way to set the maximum file size
Actual behaviour
Troubleshooting data
@RealOrangeOne commented on GitHub (Jun 7, 2021):
Looking at the code, the default is 110MB, but it can be overriden with the
$USER_ATTACHMENT_LIMITenvironment variable@vista-narvas commented on GitHub (Jun 7, 2021):
i tried using USER_ATTACHMENT_LIMIT: 8388608 in my docker-compose.yml
and im still not able to upload bigger files
i think USER_ATTACHMENT_LIMIT is only for the global limit
in the error it says "Attachment size limit reached! Delete some files to open space"
if i change USER_ATTACHMENT_LIMIT to 1 when i try to upload a small file i get that error
@jjlin commented on GitHub (Jun 7, 2021):
Max attachment size is primarily limited by what the clients are designed to handle, and you can't change that without building your own version of the client. See https://bitwarden.com/help/article/attachments/ for details.
In principle, the server could handle arbitrarily large attachments, but it also has some checks to mirror the client limits.
@vista-narvas commented on GitHub (Jun 7, 2021):
ok so the limiting factor is the client
i guess there is nothing to do about that
thank you for your time