-
-
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
Partial downloads from S3 Primary Storage #11895
Comments
GitMate.io thinks possibly related issues are #4730 (Storage), #5928 (Support for multiple primary storage?), #3748 (Primary S3 Storage Backend + Encryption problem with file size, mimetype and first download failed), #11637 (No upload to shared folder possible after update to 14.0.1 (S3 primary storage)), and #10022 (S3 Primary storage backup). |
I have pretty much the same problem. My downloads stay at 0 - 3,4 kbit/s after downloading 30 - 60 MB of a big file. Edit: We mounted local directories as external storage and put our files there. Downloads are working now. As soon as we try to download anything from the S3 Bucket the problem is back. It has definitely something to do with the S3 Implementation of Nextcloud. Moving the files from S3 to the local directories worked without problems. So Nextcloud is able to get the files but has problems bringing them to the client. |
@fetra1 Have you made any progress on finding a solution to the S3 issues? |
I completely migrated to EBS storage. This solved the problem. After updating to 14.0.4 I mounted S3 as external volume and retried it which worked without any problems. |
This is still an issue with Nextcloud 15.0.2. Large uploads and downloads to S3 primary storage are impacted. |
After switching from Apache to nginx, increasing the RAM on my server from 512MB to 2GB, increasing proxy buffer and memory limits and timeouts substantially, creating a dedicated partition for temporary files for buffering, updating to Nextcloud 16.0.0 and applying the fix posted here: #13829 it appears as though uploads and downloads of large files is working as expected. I'm not sure what exactly fixed the issue or if it was a combination of different things that I did but I'm glad it's working and I hope it stays working. Large (~3GB) multipart uploads are unreliable, failing about 50% of the time. |
Still happening? |
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. |
Steps to reproduce
Expected behaviour
File should download
Actual behaviour
Download starts but transfer rate trickles down to ~4KB/s and eventually stops with failure
Server configuration
Operating system: Ubuntu 18.04
Web server: Apache 2.4.29
Database: MySQL 5.6.39
PHP version: 7.2
Nextcloud version: 14.0.3
Updated from an older Nextcloud/ownCloud or fresh install: Updated from 13
Where did you install Nextcloud from: Direct download
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: S3 Primary
Are you using encryption: no
Are you using an external user-backend, if yes which one: No
Client configuration
Browser: Firefox 61 / Chrome 69
Operating system: Windows 10 x64
Logs
The logs don't appear to have any pertinent info
More info posted here: https://help.nextcloud.com/t/downloads-from-nextcloud-stalling-s3-primary-storage/39191
The text was updated successfully, but these errors were encountered: