Albums are not purged from the recent/sidebar when deleted #5419

Open
opened 2026-02-20 04:00:01 -05:00 by deekerman · 3 comments
Owner

Originally created by @mmomjian on GitHub (Apr 23, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

When deleting an abum, it is not removed from the "quick access" albums on the left sidebar. A page reload fixes it.

Error when clicking on the non-existent album:

Not found or no album.read access (400)

Stacktrace
Error: Error: 400
    at Object.Ge [as ok] (https://immich.domain.tld/_app/immutable/chunks/Cn2c85Km.js:1:5430)
    at async Promise.all (index 0)
    at async Ma (https://immich.domain.tld/_app/immutable/nodes/6.B44bGtBv.js:1:2586)
    at async je (https://immich.domain.tld/_app/immutable/chunks/cztDL2Pb.js:1:15834)

Image

The OS that Immich Server is running on

Debian 12

Version of Immich Server

v1.131.3

Version of Immich Mobile App

v1.131.3

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

  1. Make a new album
  2. Reload page, shown on left sidebar
  3. Delete album
  4. Album still shown in left sidebar...

Relevant log output


Additional information

No response

Originally created by @mmomjian on GitHub (Apr 23, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug When deleting an abum, it is not removed from the "quick access" albums on the left sidebar. A page reload fixes it. Error when clicking on the non-existent album: ``` Not found or no album.read access (400) Stacktrace Error: Error: 400 at Object.Ge [as ok] (https://immich.domain.tld/_app/immutable/chunks/Cn2c85Km.js:1:5430) at async Promise.all (index 0) at async Ma (https://immich.domain.tld/_app/immutable/nodes/6.B44bGtBv.js:1:2586) at async je (https://immich.domain.tld/_app/immutable/chunks/cztDL2Pb.js:1:15834) ``` ![Image](https://github.com/user-attachments/assets/27b76e6b-80d9-4476-a9fb-46b9f69a2b70) ### The OS that Immich Server is running on Debian 12 ### Version of Immich Server v1.131.3 ### Version of Immich Mobile App v1.131.3 ### Platform with the issue - [ ] Server - [x] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps 1. Make a new album 2. Reload page, shown on left sidebar 3. Delete album 4. Album still shown in left sidebar... ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@GabrielMatsson commented on GitHub (May 20, 2025):

Hello can I work on this? @mmomjian
I think I have the solution already! :)

@GabrielMatsson commented on GitHub (May 20, 2025): Hello can I work on this? @mmomjian I think I have the solution already! :)
Author
Owner

@mmomjian commented on GitHub (May 20, 2025):

Thanks!

@mmomjian commented on GitHub (May 20, 2025): Thanks!
Author
Owner

@pwojtaszko commented on GitHub (Aug 19, 2025):

@mmomjian I implemented fix using websockets and tested it. Feel free to review and put some comments. Thanks!

@pwojtaszko commented on GitHub (Aug 19, 2025): @mmomjian I implemented fix using websockets and tested it. Feel free to review and put some comments. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/immich#5419
No description provided.