immich icon indicating copy to clipboard operation
immich copied to clipboard

Previews overwriting thumbnails

Open ajpanton opened this issue 7 months ago • 2 comments

The bug

I was asked on Discord to post this here.

I started using Immich in the beginning of June, or at the very end of May. I also don't remember what version it was, but whatever was the newest TrueNAS Scale app back then. I'm sorry for the lack of exactness.

I'm exclusively using an external library with 19k images. Nothing has ever been uploaded to Immich directly.

Going by the database column "fileModifiedAt", all images until the 1st of June (13k images) will be referred to as "old", and everything starting from the 2nd of June (6k images) are "new". Something probably happened here, but I'm not sure what. It's possible that that's when I started using Immich, but it's also possible that I installed it a few days earlier and that's when I upgraded it to a newer version.

All old images (with a very few exceptions, not sure why) have had their previews stored with the -thumbnail suffix, overwriting any potential thumbnail that might've been created first. The database column "previewPath" has the -thumbnail suffix, and this also means that when the webUI tries to serve me a thumbnail, it instead serves me the higher-res preview. All new images correctly have thumbnails with the -thumbnail suffix and previews with the -preview suffix.

I'm sorry for being so vague, but I'm really not sure about a lot of things here. I only noticed this now many versions later and can't even tell if this has already been fixed or not. Could be the initial scan thing, or it could be an older version thing, or maybe something with the TrueNAS version.

The OS that Immich Server is running on

TrueNAS Scale

Version of Immich Server

Not sure

Platform with the issue

  • [X] Server
  • [ ] Web
  • [ ] Mobile

ajpanton avatar Jul 16 '24 20:07 ajpanton