-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Errors when uploading large files via files drop #8583
Comments
@MorrisJobke ok but how do I resolve the upload issue? It should still be able to handle the upload, no? |
Yes - what is shown for the upload request when you open the web developer tools in your browser and upload the file? The access log doesn't show any upload request :/ |
@c0fe you're uploading a file too big for your server. You need to increate you client_max_body_size setting in nginx. |
@skjnldsv the file size is 300MB the client_max_body_size was set for 512M but it still failed. I increased it to 900M now and will retry. |
@MorrisJobke @skjnldsv ok so this is error message after changing from 512M to 900M: |
@c0fe Now you need to increase your php max_execution_time (also check your php max filesize
|
@skjnldsv adding this into the nginx.conf comes up to an error:
Nginx Version: 1.12.2 |
@c0fe This is a php config, not nginx :) |
@skjnldsv i swear i need more coffee. i am testing this now. |
@skjnldsv ok i got this error now: |
Same issue, you need to increase max_execution_time again, you set the value at 90 right? |
@skjnldsv its some crazy number 90000 |
90 seconds? Not that big :) |
Ok I increased it further:
|
Hum, now this is absolutely crazy, I thought you said you entered 90 (so 90000 ms), but you're supposed to put the value in second, soooo, maybe your number isn't really the best idea ^^' |
@skjnldsv the error is now: |
You must have another setting that is conflicting with your setup. Or maybe you have an unstable connection :/ @MorrisJobke ? |
@skjnldsv anyway i can test the stability of the connection I have? |
@skjnldsv @MorrisJobke also whether or not this matters but I am behind a UBNT security gateway |
Making a local upload results in the following error:
|
Maybe also a problem in your reverse proxy setup. (see #8695) As this works on many instances out there I would like to get the setup ruled out first. For more help please reach out in the forums first, because this is the bug tracker for real reproducible bugs and not setup issues. The forum is the perfect place to exchange setup experiences and look into them: https://help.nextcloud.com Thanks |
@MorrisJobke I have added the items into config but the uploading problem continues to persist: config.php: https://hastebin.com/adovirolor.php site file on reverse proxy: |
I haven't seen this connection reset in a reverse proxy setup yet. Maybe something else is interfering here? Could you try without the reverse proxy in front? |
@MorrisJobke tried it but it still fails, i have set 9G and 90G in the php.ini file for max size. 300MB file will be fine 700MB fails. I did restart all necessary services and then restarted the whole machine for good measure. |
post_max_size as well as upload_file_size? We have a few thousand instances out there that work just fine with large files. This needs to be a setup issue. Could you please seek for help in the forums? |
@MorrisJobke i can but last few times I did not get a single response, waited about 2 weeks or so before i just gave up hope. |
FYI @MorrisJobke I feel that the documentation on the Nextcloud website is outdated, the most obvious appearance is that it has double quotes " and not single quote ' which is in the current version 13 config file. I would also feel like it can be improved, I would submit a draft but not sure how. I also created a forum post: https://help.nextcloud.com/t/uploading-large-files-continues-to-fail/28550 per your suggestion |
Steps to reproduce
Expected behaviour
Tell us what should happen
If it errors out, it should provide some information as to what happened. Nextcloud logs show nothing.
Actual behaviour
When uploading, it just just displays an exclamation and that's all. Here is a video:
Video:
https://streamable.com/txfab
Server configuration
Operating system:
Ubuntu 16.04
Web server:
Nginx 1.10.3
Database:
MariaDB 10.2.13
PHP version:
PHP 7.2
Nextcloud version: (see Nextcloud admin page)
13
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh Install
Access.Log
https://hastebin.com/icifozuyig.log
Error.Log
https://hastebin.com/atayoyubey.log
Nextcloud Config
https://hastebin.com/ovafuceyuw.php
Nextcloud Logs
Blank, nothing in there.
The text was updated successfully, but these errors were encountered: