I
Immich•7mo ago
Stepe

#thumbnail scanning job

Hello, after week of scanning, starting from like 100k, 200k, 300kk now it jumped to over 4m. i have like 170k of images on external library. can you please help me with this? thx
No description
95 Replies
Immich
Immich•7mo ago
:wave: Hey @Stepe, Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker compose ps docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy Checklist 1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: I have read applicable release notes. 3. :blue_square: I have reviewed the FAQs for known issues. 4. :blue_square: I have reviewed Github for known issues. 5. :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting. 7. :blue_square: I have 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) If this ticket can be closed you can use the /close command, and re-open it later if needed.
Mraedis
Mraedis•7mo ago
Stop immich right now for starters
Stepe
StepeOP•7mo ago
ok
Mraedis
Mraedis•7mo ago
You 💯 % have nested mounts, so post your compose and env files please
Stepe
StepeOP•7mo ago
im on synology nas, installed in container manager
Mraedis
Mraedis•7mo ago
Could you tell me the file path of the compose file?
Stepe
StepeOP•7mo ago
No description
Mraedis
Mraedis•7mo ago
It's not immediately obvious from what you show here, usually what happens is your library folder is somehow mounted inside the external library or the other way around. You didn't also mount library somewhere inside of /volume1/homes/stepe851/Photos did you?
Stepe
StepeOP•7mo ago
No description
Stepe
StepeOP•7mo ago
docker is not inside homes photos are stored in homes/photos didnt mount anything else im not good at mounting anything in linux, so it was just in that yml
Stepe
StepeOP•7mo ago
docker is not inside
No description
Mraedis
Mraedis•7mo ago
You don't actually have a million photos or anything do you? 👀
Stepe
StepeOP•7mo ago
no, tripple checked, its 170k+-
Stepe
StepeOP•7mo ago
No description
Mraedis
Mraedis•7mo ago
I have to go right now but you should check the library and upload folders to see if anything loops back to itself :)(
Stepe
StepeOP•7mo ago
im pretty sure i dont know how to do it 🙂 so if you can help me whenewer you came back would be great, thx, cheer s not using upload folder right now
Mraedis
Mraedis•7mo ago
Just open them in file manager for starters and check the subfolders
Stepe
StepeOP•7mo ago
checking filecount in immich dir it looks ok
No description
Stepe
StepeOP•7mo ago
yes, immich library dir is empty, and upload lib contains one image i uploaded as test
Mraedis
Mraedis•7mo ago
Strange, that would mean it's just creating nonsense jobs Do the container logs show anything interesting
Stepe
StepeOP•7mo ago
now trying restartint nas but immich wont do it, its shutting down now for like 30+ min in container log theres no errors but in system log there are out of memory events
Stepe
StepeOP•7mo ago
No description
Stepe
StepeOP•7mo ago
have 6gb
Stepe
StepeOP•7mo ago
now after few hours it is 1m less, weird
No description
Mraedis
Mraedis•7mo ago
Why do you have 25 active jobs btw, I'm pretty sure that's not the default
Stepe
StepeOP•7mo ago
its not, but its faster, isnt it? is it problem?
CrushedAsian255
CrushedAsian255•7mo ago
Each job uses at least one cpu core Do you have any symlinks
Stepe
StepeOP•7mo ago
thx for the info about jobs, will reset it i dont think im using symlinks, any way to check it?
Mraedis
Mraedis•7mo ago
It's not faster at all to overcrowd your system with jobs like that, the defaults are actually already pretty intense Was this the latest version? I remember a bug that duped jobs not too long ago
Stepe
StepeOP•7mo ago
yes, have latest version
Stepe
StepeOP•7mo ago
now i see this
No description
Stepe
StepeOP•7mo ago
starting single jobs is okay? what about the failed thumbs, do i have to restart the job? missing or all?
Mraedis
Mraedis•7mo ago
Missing would be best
Stepe
StepeOP•6mo ago
hi, so immich was running fine for some weeks, made update to latest 1.121 and was fine. today synology went out of memory (it happens time to time because of immich) and after hard restart, i see this
No description
Stepe
StepeOP•6mo ago
i have like 173k images, not 3m+ im really lost now
Mraedis
Mraedis•6mo ago
Did you add your library as external library or something
Stepe
StepeOP•6mo ago
yes it like external library from beginning
Zeus
Zeus•6mo ago
Make a #help-desk-support and post your compose and env files
Stepe
StepeOP•6mo ago
create a post right?
Mraedis
Mraedis•6mo ago
@Zeus where do you think we are 😛 Could you show us this page for your instance? https://my.immich.app/admin/library-management
Zeus
Zeus•6mo ago
Oh lolol
Stepe
StepeOP•6mo ago
im connected via vpn, so not sure how i could do that
Mraedis
Mraedis•6mo ago
With a screenshot like any other time? it's just your.url/admin/library-management
Stepe
StepeOP•6mo ago
No description
Mraedis
Mraedis•6mo ago
And the paths it uses?
Stepe
StepeOP•6mo ago
No description
Mraedis
Mraedis•6mo ago
Since all your pictures are in the external libary I'd recommend starting fresh, definitely NOT mess with the job settings and try again It's either somehow nested Or your settings are just way out of wack
Stepe
StepeOP•6mo ago
not messing with job, everything set as default what you mean start again? i paused it, cleared it, resumed it and now it reads 0
Stepe
StepeOP•6mo ago
No description
Stepe
StepeOP•6mo ago
anyway, not sure what happened, it consumed all ram and made my nas not reachable, had to hard reset it. is there any way to limit how much ram it can use? hit refresh i went to 280k waiting and now counting towards 0
Stepe
StepeOP•6mo ago
No description
Mraedis
Mraedis•6mo ago
Well that sounds better 👀
Stepe
StepeOP•5mo ago
yup, it was running for month+ without problems, really dunno what happened bcause i didnt changed anything hello, yday i updated immich as usual, to 1.22.3. on 1.22.2 there was som transcoding jobs. now. on new 1.22.3 theres none. if i click ANY button on jobs, transcoding, thumbnails any and any button like missing all... it only add +1 to waiting but nothing happen. if i click 50times on that button, there will be 50 waiting whats wrong and from yday it didnt updated any of my backed up photos. im backing them via synology photos and immich is just reading them -ro and put it in immich actually im checking backed up photos on synology photos and last good sync is on 12th, then nothing
Mraedis
Mraedis•5mo ago
is the library mounted properly?
Stepe
StepeOP•5mo ago
same way as usually it was working for more than month now let me know how to check the mount and i will do it i can see photos and open them, on web or phone
Mraedis
Mraedis•5mo ago
Well docker compose logs might show something
Stepe
StepeOP•5mo ago
No description
No description
Mraedis
Mraedis•5mo ago
That doesn't look like docker compose logs to me
Stepe
StepeOP•5mo ago
ok, its log from docker from synology. how to get log we need
Mraedis
Mraedis•5mo ago
I don't know, I don't run docker on synology 👀
Stepe
StepeOP•5mo ago
can you help me how to get logs we are looking for?
Stepe
StepeOP•5mo ago
Mraedis
Mraedis•5mo ago
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'thumbnailGeneration'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'metadataExtraction'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'videoConversion'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'faceDetection'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'facialRecognition'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'smartSearch'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'duplicateDetection'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'backgroundTask'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'storageTemplateMigration'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'migration'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'search'
...
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'thumbnailGeneration'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'metadataExtraction'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'videoConversion'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'faceDetection'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'facialRecognition'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'smartSearch'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'duplicateDetection'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'backgroundTask'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'storageTemplateMigration'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'migration'
immich_server | [Nest] 35 - 12/17/2024, 9:26:40 AM WARN [Api:JobRepository~gcnsf452] Unable to set queue concurrency, worker not found: 'search'
...
Seems like no workers are being generated, I'm not sure where these reside Is there enough space to pull the images?
Stepe
StepeOP•5mo ago
yes, space is no problem IMMICH_WORKERS_INCLUDE: 'api' could this be it? tried to offload transcoding to my notebook but with no luck
Mraedis
Mraedis•5mo ago
There are more workers than that maybe use the normal compose
Stepe
StepeOP•5mo ago
compose is stock from this morning, but same results
Mraedis
Mraedis•5mo ago
Are you sure? Because it looks like the project fails to build workers also has microservices btw, which seems to be what you are missing
Stepe
StepeOP•5mo ago
im pretty sure, downloaded from web and just changed my external gallery only env had that api line
Mraedis
Mraedis•5mo ago
Mine just doesn't have that env var at all, so if you customize you better read it well 👀
Stepe
StepeOP•5mo ago
but what are these errors
Stepe
StepeOP•5mo ago
[Nest] 35 - 12/17/2024, 9:34:52 AM ERROR [Api:GlobalExceptionFilter~q9wrhnpf] Unknown error: Error: ENOENT: no such file or directory, access 'upload/encoded-video/9c7c01df-0d4b-49f8-82b8-77fa73022653/53/a4/53a45cbd-2ba4-40e3-8110-d22ef6a5d675.mp4'
Mraedis
Mraedis•5mo ago
You queue a file, it can't process it, it can't do the followup on the created file because it was never created
Stepe
StepeOP•5mo ago
Great, how to get rid of it? 🙂
Mraedis
Mraedis•5mo ago
have a microservices worker? 👀
Stepe
StepeOP•5mo ago
tried to get one working, but with no luck. now stock on nas without external worker so now env and compose stock, rebuilded and buttons on jobs are working and waiting etc looks okay now
Stepe
StepeOP•5mo ago
No description
Stepe
StepeOP•5mo ago
but still lots of these errors
Stepe
StepeOP•5mo ago
No description
Stepe
StepeOP•5mo ago
but looking at timestamp these are old errors right?
Mraedis
Mraedis•5mo ago
Yeah I guess so I don't know how long ado you restarted it all 😛
Stepe
StepeOP•5mo ago
10m any way to clear that log or leave it as is
Mraedis
Mraedis•5mo ago
just leave it
Stepe
StepeOP•5mo ago
ok, so they are actual error, timestamp on server is 1h offset
Stepe
StepeOP•5mo ago
so transcoding number is going down fast but ist not transcoding anything
No description
Stepe
StepeOP•5mo ago
No description
Stepe
StepeOP•5mo ago
why it not fall back to SW, why it stil trying do hw encoding even when the switch is off? selected disable and it works okay now, cpu load to max and log looks ok what about missed transcoded videos now?
Mraedis
Mraedis•5mo ago
wait until it's done and select missing
Stepe
StepeOP•5mo ago
why you didnt tell me that fallback isnt working 🙂 will you send it to developers to fix it?
Mraedis
Mraedis•5mo ago
If I knew I would tell you of course
Stepe
StepeOP•5mo ago
🙂 when the log is saying it transcoding bc92dfa7-3c3a-4fd6-81d4-4d2f17baa599 file, how can i find the orignal file from my library which is presented with this bc92dfa7-3c3a-4fd6-81d4-4d2f17baa599 ?
Stepe
StepeOP•5mo ago
nice trick, works, thx ok, uff, so works okay. now, you have experience how to offload transcoding to external pc? i have it running on ntb, but with no luck how to connect these two machines
Stepe
StepeOP•5mo ago
No description
Mraedis
Mraedis•5mo ago
I don't think there is any guide on offloading transcoding I'm afraid I don't do it myself either https://github.com/immich-app/immich/discussions/14142 @Stepe here's someone that made a guide

Did you find this page helpful?