#Missing File?

1 messages · Page 1 of 1 (latest)

west shoal
#

It looks like a file from my phone was partially backed up but never saved to disk. Its metadata is in the Immich database but otherwise has never existed in any snapshot. Is this a bug? I don't mind losing the file but I'm not sure what happened here.

hollow seal
#

There's an unfortunate race condition where Immich can lose track of where a file is stored. It should still exist somewhere, probably in the upload folder. The file moving logic is unfortunately very tricky, but we are working on improvements for this.

west shoal
#

ok thanks

#

is there a gh issue for this? i'm not sure if i could fix it but i'd like to at least look at it

#

thanks!

west shoal
#

@hollow seal i have quite a few that failed, do you know how i could get them to import properly?

hollow seal
#

Hmm, good question. If you just try to reupload them, they will get rejected because the asset already exists 🤔

#

@finite sandal @signal perch thoughts?

signal dragon
#

So those assets have been stored in the database but didn't get moved?

#

Do they have originalPath set?

ashen mesaBOT
finite sandal
#

Try to run stoeage migration again, then probably try to re upload those files over the web interface

signal perch
#

Well, look to see if storage migration reports any errors (immich-microservices logs) and send those here

west shoal
#

ok, attempting to run the migration job

#

watching immich-microservices's logs

#

had 111 images sitting in the uploads dir, down to 2

#

the specific image i was noticing missing is there now, no need to reupload it by the web interface

#

these are the files still in the upload dir

#

tried running the job again and got the same 2 errors

signal perch
#

Looks like two orphans maybe? The two files with errors are different than the two in the upload directory, correct?