-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
WebUI: Serialize upload of files to prevent upload failures #18537
Comments
Are you sure about that? Please test it with 11 files. 10 should be uploaded in parallel. Upload changed from sequential to concurrent: #13855 I think 10 is a very bad default anyway but I was overruled ;) Feel free to open a pull request and change it to a lower value. |
An solution could be to make this user configurable. An even better solution: Don't jnust show one progressbar, but allow to collapse it. Then the user could set a limit and maybe even pause each upload indivitually. |
I tested with 12 files from which onl two succeeded to upload. |
I can confirm this issue still persists in Nextcloud 20 and also on single file uploads. The larger the file the more likely it fails. With a 1GB File there is a 3 in 4 chance it fails. Sometimes in the beginning sometimes near the end. My personal workaround is currently using curl to upload to dav. |
Is this Issue still valid in NC21.0.2? If not, please close this issue. Thanks! :) |
As far as I can see with NC21 files are now uploaded in chunks, however, still several ones at a time. With my current setup I cannot reproduce this issue ATM. I suppose the issue comes back when internet bandwidth gets more limited (caused by the Slowloris protection of the webserver). |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Uploading several bigger files fails using the WebUI.
Steps to reproduce
Expected behaviour
The files are all uploaded (sequentially) and the upload succeeds.
Actual behaviour
All files are uploaded in parallel. Only a part of the files are uploaded correctly. This is especially an issue with less bandwidth and gets even worse if Slowloris mitigations are enabled.
Server configuration
Operating system: Debian 9.11
Web server: Apache/2.4.25 (Debian)
Database: MariaDB 10.1.41-MariaDB
PHP version: 7.3.13
Nextcloud version: 17.0.2
Updated from an older Nextcloud/ownCloud or fresh install: updated
Where did you install Nextcloud from: Nextcloud.org server package
Signing status:
Signing status
Are you using external storage, if yes which one: local
Are you using encryption: no
Client configuration
Browser: Mozilla Firefox 71.0
Operating system: Win 10 x64
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
I see the following warnings approx. 29K times:
The text was updated successfully, but these errors were encountered: