Open kidroca opened 2 months ago
@kidroca Can this be reproducible with a single external library?
@zackpollard, Can you help take a look at this issue? Thank you
I tried moving files around and renaming them (to create a new file and offline the old path) and they always end up in trash for me
@alextran1502
@kidroca Can this be reproducible with a single external library?
I've added all paths under the same external library, so any duplicates can be detected:
- "/mnt/fastShare/kidroca/Google_Photos_Takeout:/mnt/family/kidroca/Google_Photos_Takeout"
- "/mnt/fastShare/kidroca/PhotoSync:/mnt/family/kidroca/PhotoSync"
- "/mnt/d/Nadya_Google_Photos_Takeout:/mnt/family/nadeto/Google_Photos_Takeout"
- "/mnt/fastShare/nadeto/PhotoSync:/mnt/family/nadeto/PhotoSync"
But originally, the paths below were added to a separate external library
- "/mnt/d/Nadya_Google_Photos_Takeout:/mnt/family/nadeto/Google_Photos_Takeout"
- "/mnt/fastShare/nadeto/PhotoSync:/mnt/family/nadeto/PhotoSync"
Initially I created 2 external libraries, but later realized that this won't detect duplicates across different external libraries
I didn't want to lose all indexing / thumbnails / face recognition of the 2nd external library, so I didn't remove it.
Now I have one external library that contains everything and a 2nd external library, that contains a subset.
I guess I should have started with a single library and split into 2 only after sorting out the duplicates
In any case I've removed about 6000 files flagged as duplicates by Immich. Reviewing individual files via the duplicates utility confirms they are offline, but the /trash
view is empty
I've just removed a bunch of videos outside of Immich and rescanned libraries and the removed videos do appear in the trash
I don't think these videos were flagged as duplicates by Immich, could this be the problem?
The assets flagged as duplicates don't appear in trash, because they are flagged as duplicates and somehow this takes priority over listing them in trash?
The bug
As per release notes for v1.116 for external libraries:
Immich identified 6000+ files as duplicates, I downloaded the list via an API call and used it to automatically move away most of the duplicates automatically
After that I've triggered a new scan for the external library, but non of the files appear in the trash folder - it's empty. Reviewing my duplicates and opening the full image I see an "Asset Offline" warning
I expected to see them in trash and empty the trash to remove all
A potential workaround might be to find all the asset IDs for the stuff I moved away and use the API to delete assets by ID
The OS that Immich Server is running on
ghcr.io/immich-app/immich-server:release
Version of Immich Server
v1.116.2
Version of Immich Mobile App
v1.0.0 (unused)
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Observe: offline files (indexed files now missing in ext library) are not listed in trash
Relevant log output
Additional information
No response