#extract metadata always at 1 active 0 waiting

1 messages · Page 1 of 1 (latest)

ionic sandal
#

might just be beacuse i just setup immich with immich go and a large takeout (73gb) but the extract metadata job is always at 1 - 0 .

Sidecar metadata saeems to not run if i hit sync it will run for a second then stop but the number goes down each time.

is extract metadata just so fast the numbers never change or could this be an issue?

paper mangoBOT
#

:wave: Hey @ionic sandal,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: read applicable release notes.
  3. :ballot_box_with_check: reviewed the FAQs for known issues.
  4. :ballot_box_with_check: reviewed Github for known issues.
  5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: uploaded the relevant information (see below).
  7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

ionic sandal
#

for refence i have 15067 photos (27gib) and 1724 (41gib) videos. its been running over an hour maybe closer to two.

#

changing the PostgreSQL_Immich docker to tensorchord/pgvecto-rs:pg16-v0.3.0 and restarting immich caused the job to finish after 60 seconds

trying to run sidecar metadata discover made the number of missing over 1500 and stopped right away again.

running missing on extract metadata now shows the updated amount of 50 active and waiting now shows over 1500.

my guess is the updated sql allowed the job to run and this will need to happen before sidecar.

if someone could confirm this then all will be well thank you.

paper mangoBOT
ionic sandal
gentle skiff
#

Is your image corrupted?

ionic sandal
#

Don't believe so I just started it last night and let immich go run overnight

ionic sandal
gentle skiff
#

Can you get the image associated to the id and open it with an image viewer on your pc?

ionic sandal
#

I'm gonna be honest I didn't understand a word of that

#

Oh is part of the log an id for one of the photos?

gentle skiff
#

Sharp is a library used to generate thumbnails from the original photo

ionic sandal
# gentle skiff Yes

my bad was thinking docker image. trying to search in my windows smb as its the only way i could think of

gentle skiff
ionic sandal
# gentle skiff I can’t open the link, but IIRC, the log said that sharp can’t generate the thum...

[Nest] 290 - 08/01/2025, 5:20:28 AM ERROR [Microservices:{"id":"5b415432-1353-4378-94d7-fbcff40952fa"}] Unable to run job handler (AssetGenerateThumbnails): Error: Input file contains unsupported image format Error: Input file contains unsupported image format at Sharp.toBuffer (/app/immich/server/node_modules/sharp/lib/output.js:163:17) at MediaRepository.decodeImage (/app/immich/server/dist/repositories/media.repository.js:105:68) at MediaService.decodeImage (/app/immich/server/dist/services/media.service.js:177:59) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async MediaService.generateImageThumbnails (/app/immich/server/dist/services/media.service.js:189:44) at async MediaService.handleGenerateThumbnails (/app/immich/server/dist/services/media.service.js:116:25) at async JobService.onJobStart (/app/immich/server/dist/services/job.service.js:198:28) at async EventRepository.onEvent (/app/immich/server/dist/repositories/event.repository.js:126:13) at async /app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:499:32 at async Worker.retryIfFailed (/app/immich/server/node_modules/bullmq/dist/cjs/classes/worker.js:775:24) [Nest] 290 - 08/01/2025, 5:20:29 AM ERROR [Microservices:{"id":"ee8dcf5a-ad8b-440b-a17d-67b4afba3d22"}] Unable to run job handler (AssetGenerateThumbnails): Error: ffmpeg exited with code 234: Conversion failed!

#

part of it. there's 4 ids one in 4 errors.

#

sidecar also won't run still

gentle skiff
#

Can you get the image associated to the id 5b415432-1353-4378-94d7-fbcff40952fa

#

I think that’s the id of the broken image

ionic sandal
#

maybe storage template is making the names different?

gentle skiff
#

Yes

#

Use that id on the web

ionic sandal
#

i tried in the immich web app and nothing

gentle skiff
#

my.immich.app/photos/id

ionic sandal
#

looks broken to me

gentle skiff
#

Yes

#

That’s expected

#

Can you download it?

ionic sandal
#

i'll do the other 3

gentle skiff
#

Or at lest get the filename

ionic sandal
#

fb.bin.png

#

snapchat mp4 but this one shows the video just fine

#

.recoreded-##############.mp4 also shows as video

#

4th is also a video snaphat mp4

gentle skiff
#

Retrying the generate thumbnail job always fail?

ionic sandal
#

seems worse

#

scary red text as well

#

same videos

gentle skiff
#

Can you play it fine on your PC?

#

Might be a corrupted video

ionic sandal
#

Plays fine in immich

#

Do you mean download it and try it?

gentle skiff
#

Seems like ffmpeg can’t generate a thumbnail for the video

gentle skiff
ionic sandal
#

Okay give me a second and I will

glass minnow
#

I've seen that happen with very short videos

ionic sandal
#

about to check had to install vlc i dont have a video player lol

#

maybe this?

gentle skiff
#

Well if VLC can’t play it, your video is probably corrupted lol

ionic sandal
#

I deleted them and hit missing and nothing really happened it didn't run and nothing popped up in the logs.

So I did all again and looks like it's fine so far

#

I'm going to let this finish see if there's any errors and then I'll try to run sidecar again and I'll come back and let you know

gentle skiff
#

Nice

ionic sandal
# gentle skiff Nice

Thumbnails ran all the way through with zero errors.

Sidecar metadata will still not run

#

Well I don't know now first time I clicked on it it showed 15 - 7,000 and stopped running after 3 seconds

Now when I click on it it shows 0 - 1 and then stops running so I don't know on that one.

I'll leave this open while I run the rest of the jobs just in case there's another error I need help with on one of them.

ionic sandal
gentle skiff
#

Anything in the logs?

ionic sandal
#

No

#

Not in the unraid logs

#

Should I pull the actual log from the web UI?

#

Or change the log setting? It's on log currently.

gentle skiff
#

No, only the containers logs are interesting

#

You can try to change the immich log level to see the issue

#

Did you upload the sidecar files with immich go?

ionic sandal
ionic sandal
#

it keeps putting the DEBUG [Api:LoggingInterceptor~n6u5x5kg] GET /api/jobs 200 1.86ms xxx.xxx.xxx.xxx line now

#

job still didn't fully run

gentle skiff
gentle skiff
ionic sandal
#

Like the log file the app creates and stores in the file system

gentle skiff
#

immich does not create a log in the filesystem

#

can you see the sidecar files on your fs?

ionic sandal
#

where would that be?

ionic sandal
#

i don't think so??

gentle skiff
#

Next to the original picture IIRC

ionic sandal
#

Almost 100% of the photos have moved from uploads to library and there's no sidecars anymore

I guess it processed them already but idk why it shows 1500 on the sidecar job when I try to run it then