this post was submitted on 27 Jul 2026
51 points (96.4% liked)

Selfhosted

61003 readers
364 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] captcha_incorrect@lemmy.world 3 points 14 hours ago (1 children)

No changes to the container image, but I had to fiddle with the config file. There is an option (tokenExpirationHours) to set for how long a token is valid, default is 2 hours. I can only find this in the commented example config, setting it to sometime really high like 50 let my friend upload his audiobooks without problems.

Create a config file and place it somewhere the container can access it. Then add the environment variable FILEBROWSER_CONFIG=/some/path/to/your/config.yaml.

Here is a snippet from my config:

server:
  # ...
auth:
  tokenExpirationHours: 50
  # ...
userDefaults:
  fileLoading:
    maxConcurrentUpload: 100 # The inferface only shows up to 10 so I don't know if setting this value higher does anything
    uploadChunkSizeMb: 10

tokenExpirationHours is the key to set.

[โ€“] jello@programming.dev 1 points 10 hours ago

Thanks! I'll give it a go at some point, I greatly appreciate the help :)