you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 months ago (3 children)

Did you make any modifications for large file uploads? My main problem was that big files (As in 5GB) would fail.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 3 months ago (2 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.

  • source
  • parent
  • hideshow 2 child comments