fix: add tokenExpirationTime to config init and troubleshoot docs (#5546)

Co-authored-by: Henrique Dias <mail@hacdias.com>
This commit is contained in:
Brian Fromm
2025-11-17 00:57:02 -07:00
committed by GitHub
parent 0a0cb8046f
commit 8c5dc7641e
5 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
# Troubleshooting
## Session Timeout
By default, user sessions expire after **2 hours**. If you're uploading large files over slower connections, you may need to increase this timeout to prevent sessions from expiring mid-upload. You can configure the session timeout using the `tokenExpirationTime` setting.
You can either set this option during runtime by using the flag `--tokenExpirationTime`, the environment variable `FB_TOKEN_EXPIRATION_TIME`, or in your configuration file. If you want to persist this to the configuration, please use [`filebrowser config set`](cli/filebrowser-config-set.md).
Valid duration formats include `"2h"`, `"30m"`, `"24h"`, or combinations like `"2h30m"`.

View File

@@ -100,6 +100,7 @@ nav:
- customization.md
- authentication.md
- command-execution.md
- Troubleshooting: troubleshooting.md
- Deployment: deployment.md
- Command Line Usage:
- cli/filebrowser.md