Skip to content

bulk_add_csv 504 gateway timeout after exactly 60s #2138

@Kodtiz3D

Description

@Kodtiz3D

Server Software

  • Shimmie version: 2.12.2-20260225-92e0fe6
  • Install method: Docker
  • Server OS: Linux - TrueNAS SCALE
  • Database: sqlite 3.46.1
  • Web server: nginx 1.26.3
  • Theme: lite
  • Nice URLs: enabled

Client Software

  • Device: Desktop Linux
  • Browser: Firefox 148.0-1 and Chromium 145.0.7632.109

What steps trigger this bug
Get a sufficiently large .csv file. My testing showed 70+ rows was enough. Might depend on how powerful the host is though.
Try to import through the web interface and wait 60 seconds.
After 60 seconds I get a 504 Gateway timeout.

What did you expect to happen?
The import to still happen in the background.

What actually happened?
No files were added/modified.

I can't seem to find any configuration files to change the timeout, and looking at the main.php file here it's supposed to disable the timeout during this process. At least that's what I expect to happen. In the mean time, is there a way to run/invoke the script in the background as a workaround? Hopefully directly on the host, rather than through the web interface.
With a smaller csv of about 30-60 rows long I was able to get it working as intended. And a much larger csv just breaks it outright. With a HTTP 500 error.

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