-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache LimitRequestBody 0
#2043
Conversation
Signed-off-by: Keval Kapdee <keval@thechubbypanda.net>
LimitRequestBody 0
for #1796LimitRequestBody 0
Can a maintaner validate this? |
Unfortunately it's not as simple as that. You can read more about it here: https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html |
I still apply the same patch in my deployment, it is actually as simple as that. |
We've all read the docs and come to the conclusion that this patch is literally the one thing stopping the PHP env variables from working fully. It is actually something that used to work until apache changed the default value for it. |
Signed-off-by: Keval Kapdee <keval@thechubbypanda.net>
Can confirm this, I'm using this only fix on my container and just this fixed the problem. Like mention earlier in older version of apache2 the default value for LimitRequestBody was 0 before now it's set as 1GiB, as you can see here: Maybe for some people there will be more problems, like badly configured reverse proxy or else, but on the images library/nextcloud:*-apache "flavor" it will fix this upload problem. |
It even was discussed on the AOI images maintain by nextcloud: So, can we have progress on this? Edit: the issue #1796 was even brough up on nextcloud/documentation#10989, and NEXTCLOUD/DOCUMENTATION say than MAYBE this should be merged or adapt into another form (directly edit the apache main apache2.conf? idk...) Regards, |
I think I would prefer the implementation in #2065. That's a better compromise than setting it to unlimited for everyone. |
Closing in favour of #2065 |
Removes the 1GB upload restriction, allowing the PHP setting to work again.
Thanks to @t-schuster for the patch suggestion
Fixes #1796