mickael-kerjean/filestash

How to modify the zip timeout?

zhucan opened this issue ยท 13 comments

zhucan commented

Description of the bug

download the dir with so many objects and the size of the object is larger, the default timeout is 60s, it's not enough
error.log

Step by step instructions to reproduce the bug

download the dir with so many objects and the size of the object is larger

Can you replicate that error from the demo?

Observed behavior

error.log

Expected behavior

we can modify the default value
Dfqp5Qu30L

in the admin console, you have under settings -> features -> protection -> zip timeout. You can up that value to whatever make sense for you and you should be good to go

zhucan commented

image
@mickael-kerjean how to go back to the admin console? only can restart the server?

kbex1 commented

@mickael-kerjean using storj backend, it seems that every value other then 60 for f.default stops the download prematurely.
any suggestions on how to fix that ?

@mickael-kerjean using storj backend, it seems that every value other then 60 for f.default stops the download prematurely. any suggestions on how to fix that ?

I also have a exactly same problem here. I'm looking for a way to change Zip Timeout value

zhucan commented

@mickael-kerjean using storj backend, it seems that every value other then 60 for f.default stops the download prematurely. any suggestions on how to fix that ?

I also have a exactly same problem here. I'm looking for a way to change Zip Timeout value

https://demo.filestash.app/admin @3secondz-jw

@zhucan Thanks, is there any public password of demo admin to access? I installed Filestash on docker, but I am experiencing download errors when I change the Zip Timeout setting to ANY value on the admin page.

kbex1 commented

@zhucan Thanks, is there any public password of demo admin to access? I installed Filestash on docker, but I am experiencing download errors when I change the Zip Timeout setting to ANY value on the admin page.

same here. i think i will try to change the default value and recompile, as i'm not that sure how everything at connects to the front side. i will post if it helps

I was able to replicate the issue, it has made its way since the rewrite of the admin console 1/2 months ago where the input fields of type number weren't correctly written in the config.json, the above commit fixes it

@mickael-kerjean Thank you for the fast fix! Can I get the fixed version via docker compose according to below docs?
https://www.filestash.app/docs/install-and-upgrade/

CI is broken for some reasons and has been regressing over the last 2/3 months, I will work it out when I have time, hopefully sometime this week

@mickael-kerjean Please let us know when the CI is ready again! Thank you

CI is broken for some reasons and has been regressing over the last 2/3 months, I will work it out when I have time, hopefully sometime this week

Is there any update on the docker CI? Thank you.