[BUG] 504 when viewing large (shared) albums #1666

Closed
opened 2026-02-05 02:57:20 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @traktuner on GitHub (Nov 21, 2023).

The bug

Hello,
I have a shared family album with 6k assets in it.
Since 1.88(.1) I can't open this album any more in web. On mobile it's ok.
After some time, the server responds with a 504 gateway timeout.
Request failed with status code 504 (504 - )
Restarting the stack brought no success.
Also, there are no log entries in the corresponding containers.

The OS that Immich Server is running on

Docker

Version of Immich Server

1.88.1

Version of Immich Mobile App

1.88.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

imagegenius AIO

Your .env content

not relevant

Reproduction steps

see issue above

Additional information

No response

Originally created by @traktuner on GitHub (Nov 21, 2023). ### The bug Hello, I have a shared family album with 6k assets in it. Since 1.88(.1) I can't open this album any more in web. On mobile it's ok. After some time, the server responds with a 504 gateway timeout. `Request failed with status code 504 (504 - )` Restarting the stack brought no success. Also, there are no log entries in the corresponding containers. ### The OS that Immich Server is running on Docker ### Version of Immich Server 1.88.1 ### Version of Immich Mobile App 1.88.0 ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML imagegenius AIO ``` ### Your .env content ```Shell not relevant ``` ### Reproduction steps ```bash see issue above ``` ### Additional information _No response_
Author
Owner

@alextran1502 commented on GitHub (Nov 21, 2023):

@martabal Do you have any thoughts on this one?

@alextran1502 commented on GitHub (Nov 21, 2023): @martabal Do you have any thoughts on this one?
Author
Owner

@martabal commented on GitHub (Nov 21, 2023):

Yes, I'm fixing it right now

@martabal commented on GitHub (Nov 21, 2023): Yes, I'm fixing it right now
Author
Owner

@martabal commented on GitHub (Nov 21, 2023):

Oh you closed #5224 😲

@martabal commented on GitHub (Nov 21, 2023): Oh you closed #5224 😲
Author
Owner

@alextran1502 commented on GitHub (Nov 21, 2023):

@martabal yeah damnit Alex, can you reopen a new PR and rebase main?

@alextran1502 commented on GitHub (Nov 21, 2023): @martabal yeah damnit Alex, can you reopen a new PR and rebase main?
Author
Owner

@traktuner commented on GitHub (Nov 21, 2023):

Thanks!
To clarify: this affects not the album overview page (click on albums) but albums with many assets in it.
DB goes nuts when clicking on the album, then the server times out.

@traktuner commented on GitHub (Nov 21, 2023): Thanks! To clarify: this affects not the album overview page (click on albums) but albums with many assets in it. DB goes nuts when clicking on the album, then the server times out.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1666