Closed ericswpark closed 3 months ago
I does not only happen for uploads from mobile but for any upload via the API.
I am currently uploading a bunch of photos using https://github.com/simulot/immich-go and they also appear in the Trash library as described in the original report above.
I must admit that I currently use it as "a feature, not a bug" to have a nice visual feedback of my current CLI upload progress.
But it's definitely a bug and bad user experience. Being new to Immich I was wondering why my uploads were immediately trashed and feared to have lost some images because I clicked "Empty Trash".
Hey, it seems like this doesnt only affect uploads. I added an external library, and about 1/4-1/2 of the images (roughly 1-2k images) end up in the trash and because the default setting of emptying trash is 30 days, i initially was wondering where so many of my images went, but then noticed they just went to trash and then removed.
@Joly0 that sounds like a different bug. This one is purely visual - the newly uploaded photos via API/mobile show up under Trash if it is currently open, but refreshing it clears it up. I'm guessing this is because the updates over websocket tell Immich to show the images under the currently open tab, and if it happens to be Trash then uploaded photos start showing up under Trash.
However, I haven't actually tested clicking on "empty trash" when this visual bug occurs. It's possible the webUI issues "permanently delete" commands for the photo IDs that show up under trash and causing it? If so this would be an even serious issue than originally reported.
Thx @ericswpark for the clarification, than it might be another issue. Will look into it again and might create a bug report then
@michelheusschen since you self-assigned the duplicate #10347, I've assigned you here as well.
The bug
Uploads from mobile will show in whatever tab is open on the webUI. A good way to reproduce this is with the "Trash" tab. Refreshing will rectify this issue, but new uploads that stream in will continue to be displayed in the incorrect place. (Until refreshed again.)
The OS that Immich Server is running on
unRAID
Version of Immich Server
v1.102.2
Version of Immich Mobile App
v1.102.2
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
No response
Additional information
No response