Uh oh!
There was an error while loading. Please reload this page.
Change upload_max_filesize - #865
Conversation
Per default only 2MB are allowed. This is not usable for webclients to add attachments. Added 1G as default value.
J0WI
commented
Sep 24, 2019
There is no default value that suites all needs. Please use |
Hey @J0WI, would you mind to have a look again? nextcloud/server#13990 Since Nextcloud 16 php settings are not overwritten via .htaccess or .user.ini. So the current max_upload_size for the docker image is 2MB. Yes we should remove the section from the manual 🙈 @gruessung could you please sign off your commits. Check https://github.com/nextcloud/docker/pull/865/checks?check_run_id=224844488 for details. 1G is much (and higher than the memory limit). Could we pick a lower value? All nextcloud clients use chunking for uploads anyway. We probably need a higher value for something like davfs2. |
ghost
commented
Oct 6, 2019
It might not be possible to have a default value that suites all needs but there could be one that suites most needs and something like 500MB or 1GB would IMHO be more practical than 2MB. |
@J0WI While I agree that is likely hard to find a value that suites all needs I think it should be possible to use Nextcloud with the official client and upload common files (e.g. smartphone images) out-of-the box. As the official clients use chunking (AFAIK) a pretty small value like 15 MB should be enough to achieve that. Also uploading files is ... somewhat the core of Nextcloud. So there are quite a few users who need higher limits. For example they might be using use 3rd-party applications without chunking. Therefore the container should offer a way to override the setting easily when creating a new container. That is handled by #873 .
@DudleyDursley You don't need to go that high. 15 MB should be enough due to chunking. |
ghoebilly
commented
Aug 30, 2020
docker-compose file workaround until this can be some variables with #873 : where For example: Verify with https://host/ocs/v2.php/apps/serverinfo/api/v1/info?format=json Notes: |
J0WI
commented
Feb 19, 2021
Closed by #1379 |
Per default only 2MB are allowed. This is not usable for webclients to add attachments.
Added 1G as default value.