immich-app/immich

[BUG] Stacks not removed on Library deletion

Open

#16.151 aperta il 17 feb 2025

Vedi su GitHub
 (3 commenti) (3 reazioni) (0 assegnatari)TypeScript (5601 fork)batch import
external-librarygood first issue

Metriche repository

Star
 (100.600 star)
Metriche merge PR
 (Merge medio 5g 3h) (258 PR mergiate in 30 g)

Descrizione

The bug

Problem Description When deleting an External Library, a Stack that contains photos from this External Library will not be unstacked. The Stack stays with the cover photo in the library. Manual unstacking is needed, so that the stack will be removed from the Timeline.

Expected Behavior If a Stack contains only photos from one External Library AND this External Library will be deleted, also unstack/delete the stack. If a Stack contains photos from various External Library but only one External Library will be deleted, keep the stack with remaining photos

The OS that Immich Server is running on

AlmaLinux release 9.5 (Teal Serval)

Version of Immich Server

v1.126.1

Version of Immich Mobile App

v1.126.1 build.194

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

- not relevant for bug

Your .env content

- not relevant for bug

Reproduction steps

  1. Add an External Library with 2 or more photos
  2. Stack Photos from this External Library (2 or more) in Timeline
  3. Delete the External Library in Admin menu
  4. Return to Timeline and find the stack still being there, but with one Photo
  5. Manually unstack the stack so that it will be removed from the Timeline ...

Relevant log output

Additional information

No response

Guida contributor