Skip to content
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

Problem with uploading a lot of files. #17709

Closed
dddmark opened this issue Oct 27, 2019 · 9 comments
Closed

Problem with uploading a lot of files. #17709

dddmark opened this issue Oct 27, 2019 · 9 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: files

Comments

@dddmark
Copy link

dddmark commented Oct 27, 2019

Hello! Pls help! :)
When i try to Uploading of lot files (1500 (*.jpg) files and 71 folder) it uploads a small amount and then produces errors.

image

image

But there is no problem if I upload 4.5 Gb file.
Ver. Nextcloud: 16.0.4

Video 1:
https://www.youtube.com/watch?v=oUN2s_zbPTI
Video 2:
https://www.youtube.com/watch?v=a3O8xCWodwI
I hope for your help! Thanks!

@dddmark dddmark added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Oct 27, 2019
@kesselb
Copy link
Contributor

kesselb commented Oct 27, 2019

Note: This is the issue tracker of Nextcloud, please do NOT use this to get answers to your questions or get help for fixing your installation. This is a place to report bugs to developers, after your server has been debugged. You can find help debugging your system on our home user forums: https://help.nextcloud.com or, if you use Nextcloud in a large organization, ask our engineers on https://portal.nextcloud.com. See also https://nextcloud.com/support for support options.

Thanks ;) I guess there are some issues with uploading many files via web but without the issue template and some logs it's quite hard to triage your problem.

@dddmark dddmark changed the title Hellow! Problem with uploading a lot of files. Hello! Problem with uploading a lot of files. Oct 27, 2019
@dddmark
Copy link
Author

dddmark commented Oct 27, 2019

image
As I saw, there is nothing useful in the logs. Maybe I'm wrong! :)

@dddmark
Copy link
Author

dddmark commented Oct 27, 2019

There is a suggestion that CSRF token is expired while uploading a lot of files (as errors on screen says)

@wiswedel wiswedel changed the title Hello! Problem with uploading a lot of files. Problem with uploading a lot of files. Oct 28, 2019
@zorn-v
Copy link
Member

zorn-v commented Nov 2, 2019

I can confirm
image

After pressing "Leave page" there is logout happened

Debug logs
изображение

Nextcloud 16.0.5

@JonathanTreffler
Copy link

JonathanTreffler commented Nov 12, 2019

Just use Flowupload
It works really well for thousands of files.

Usage of Flowupload:
Usage

(i know thats not a fix , but i dont think this a bug in nextcloud.)

@zorn-v
Copy link
Member

zorn-v commented Nov 12, 2019

Thanks for proposal, I will try

but i dont think this a bug in nextcloud

If something works not as expected - it is a bug 😉

@JonathanTreffler
Copy link

If something works not as expected - it is a bug

Ok. Youre right.
I am not sure how nextclouds implements uploading (directly (web)dav or something different ?) but i had some bad experiences too. Especially with big or many files. My server is pretty slow (4 cores for 15 Dockers) and before i used flowupload wich uses many independent chunks (each 1.04 MB) i got many timeout errors (i am not saying its nextclouds fault- but being able to retry failed uploads seems like a basic and and needed feature to me)

I think a lot more changes could be made to uploading. Especially a List of currently uploading files would be great (I made a app to implement that , but its pretty ugly/still a lot of work to do)

@dgtlmoon
Copy link

You may run into issues where the server runs out of 'power' whilst trying to build the preview thumbnails for all of the existing images... #13709 (comment)

@szaimen
Copy link
Contributor

szaimen commented Jun 7, 2021

As I cannot reproduce the original issue anymore, I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen. The latest version can be seen by checking https://nextcloud.com/install/#install-clients and https://nextcloud.com/install/#instructions-server respectively.

@szaimen szaimen closed this as completed Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: files
Projects
None yet
Development

No branches or pull requests

7 participants