Skip to content

Download Delay Issue #1687

@H4Z4RD-H42

Description

@H4Z4RD-H42

v1.0.2-stable

Description
The file download process takes an extremely long time to initiate, sometimes up to 20 or 30 minutes. The larger the file, the longer the delay.
I am not referring to the actual download speed, which remains normal. I am referring solely to the time lapse between clicking the "Download" button and the browser's "Save File" dialog box actually appearing.

Expected behaviour
The download should initiate immediately or at least within a few seconds.

What is happening instead?
After clicking "Download," nothing happen on the screen. I can still navigate freely through the folders.
At some point (after a long delay and if I didn't change the page), the file saving dialog appears.

  • Scenario A (Waiting): If I wait patiently without navigating away or interacting with other folders, the download eventually starts after X minutes (where X is proportional to the file size).

  • Scenario B (Navigation): If, after clicking "Download," I continue to browse other folders or directories, the download never initiates, even after 20 or 30 minutes.

Additional context
Unfortunately, I cannot determine if this issue is related to a recent Filebrowser update or other circumstances.
Until about 1 week ago, I had no problems and everything worked very well.
In the meantime, I migrated the server to a new machine. I reinstalled Filebrowser from scratch; I did not migrate the database or configuration (everything is new).
I am currently using a basic configuration.

filebrowser config.yaml

server:
  baseURL: "/filebrowser"
  database: "data/database.db"
  sources:
    - path: "/"
      config:
        defaultEnabled: true

docker compose

services:
  filebrowser:
    environment:
      FILEBROWSER_CONFIG: "data/config.yaml"
    volumes:
      - '/home/my_user:/home/my_user'
      - '/opt/docker/apps/filebrowser/data:/home/filebrowser/data'
      - '/opt/docker/apps/filebrowser/tmp:/home/filebrowser/tmp'
    ports:
      - '90:80'
    image: gtstef/filebrowser
    container_name: filebrowser
    restart: unless-stopped

Here, I tested downloading a MKV file of 8.5 GB.
In the first screenshot, I highlighted the moment I clicked 'Download'.
In the second screenshot, I highlighted the moment the 'Save File' dialog box finally appeared.
In this specific case, it only took 4-5 minutes, not 20, but I believe this is still anomalous, and I'm unsure what the cause might be.

Image Image

I am currently using the stable-slim Docker version. I also tried the full version, but it was the same story (same issue). I have performed other tests and trials as well, but without success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions