sharry icon indicating copy to clipboard operation
sharry copied to clipboard

Chunk number in uploads not incremented [HTTP 500] Internal Error: The file already exists

Open sudo-bencho opened this issue 10 months ago • 3 comments

The uploaded file is always "chunk-size" large, it seems chunk number is not incremented

setup: docker behind nginx with the config from docs. version: 1.14.0

Image

Image

(guess it's a javascript problem)

sudo-bencho avatar Mar 07 '25 21:03 sudo-bencho

Hi @sudo-bencho this is always hard to debug for me. To reproduce, you say using a file that is exactly chunkSize is triggering this?

Can you share more about your setup? Like, what file backend you are using, the chunk-size. What browser is this and do you have any browser plugins enabled?

eikek avatar Mar 15 '25 21:03 eikek

( a file cannot be larger than chunkSize since the upload thingy always tries to send the first chunk again )

filesystem+psql backend firefox/chrome with and without plugins

sudo-bencho avatar Mar 16 '25 02:03 sudo-bencho

I think it will retry a chunk, if the server doesn't respond with success. Are there any hints in the server logs?

eikek avatar Mar 16 '25 19:03 eikek