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

How to modify the zip timeout? #654

Open
zhucan opened this issue Dec 19, 2023 · 13 comments
Open

How to modify the zip timeout? #654

zhucan opened this issue Dec 19, 2023 · 13 comments

Comments

@zhucan
Copy link
Contributor

zhucan commented Dec 19, 2023

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

@zhucan zhucan changed the title How modify the zip timeout? How to modify the zip timeout? Dec 19, 2023
@mickael-kerjean
Copy link
Owner

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
Copy link
Contributor Author

zhucan commented Dec 21, 2023

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

@mickael-kerjean
Copy link
Owner

mickael-kerjean commented Dec 22, 2023

/admin, for example: https://demo.filestash.app/admin

@kbex1
Copy link

kbex1 commented Dec 31, 2023

@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 ?

@3secondz-jw
Copy link

@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
Copy link
Contributor Author

zhucan commented Jan 15, 2024

@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

@3secondz-jw
Copy link

@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
Copy link

kbex1 commented Jan 15, 2024

@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

@mickael-kerjean
Copy link
Owner

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

@3secondz-jw
Copy link

@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/

@mickael-kerjean
Copy link
Owner

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

@3secondz-jw
Copy link

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

@3secondz-jw
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants