IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
885 stars 495 forks source link

Issues with Automatic Unpacking/Uploading of ZIP files containing many files. #10591

Open sergejzr opened 6 months ago

sergejzr commented 6 months ago

What steps does it take to reproduce the issue? Upload a ZIP file containing more than 1000 files. Attempt to upload another file immediately after receiving the error message from the initial upload.

During the upload of ZIP files with more than 1000 files. When initiating subsequent uploads before the deletion process of the initial 1000 files is completed.

Which version of Dataverse are you using?

6.2

Any related open or closed issues to this bug report?

There are several issues mentioning ZIP uploads, but not this behavior exactly.

Screenshots:

Additional suggestions Introduce a checkbox allowing users to choose whether to unpack ZIP, TGZ archives, etc. Add a warning message on the upload field indicating that archives will be unpacked, and mention the .ZIP.ZIP workaround.

No matter the issue, screenshots are always welcome.

To add a screenshot, please use one of the following formats and/or methods described here:

pdurbin commented 6 months ago

@sergejzr have you tried setting :ZipUploadFilesLimit? The default is 1000 files.

Please see https://guides.dataverse.org/en/6.2/installation/config.html#zipuploadfileslimit

sergejzr commented 6 months ago

Hi Phil, yes, we can set the limit up

pdurbin commented 6 months ago

@sergejzr great. Does that solve the problem?

sergejzr commented 6 months ago

The problem when re-upload (and automatic renaming with suffix “-2 ”) remains. The request came directly form our users. I changed the text in the upload area, adding warnings about the zip upload. This is the best I can do at the moment.

pdurbin commented 6 months ago

@sergejzr do you have a small zip we can use for testing? One that will reproduce the problem?

sergejzr commented 5 months ago

I asked the user to provide us with the file. Interestingly, I can not reproduce it anymore with my test-zip.

cmbz commented 5 months ago

@sergejzr please provide a sample for testing, otherwise we can't move the issue forward.