I
Immich3y ago
Bleh5

jobs Stuck

All of my jobs seem to be stuck. I uploaded a lot of files manually since I didn’t want to deal with CLI bulk upload, and it got stuck processing (active and waiting numbers weren’t going down). I restarted the docker containers and now waiting is 0 but active is still not moving. Did I mess up my setup? Maybe I’ll redo everything with the CLI.
39 Replies
bo0tzz
bo0tzz3y ago
Check the logs of your microservices container to make sure it's running
Bleh5
Bleh5OP3y ago
Showed 60%+ cpu for micro services, when I tried to open logs through docker it exited with an error saying database is locked. Trying a restart of my Synology now. “Failed to initialize logging driver: database is locked”
bo0tzz
bo0tzz3y ago
Is that in the immich log? That sounds like a docker or synology error
Bleh5
Bleh5OP3y ago
Docker log. I’ll troubleshoot some more tonight.
Alex Tran
Alex Tran3y ago
It appears stuck but just the CPU from machine learning hogged everything
Bleh5
Bleh5OP3y ago
started over from scratch and was in the middle of processing 48000 files with the CLI bulk upload. looks like it kept getting disconnected and then the microservices process stopped. when i try to restart it, i get this error.
bo0tzz
bo0tzz3y ago
Try deleting the microservices container and all its volumes. It's picked up some bad state
Alex Tran
Alex Tran3y ago
remove the redis container as well
bo0tzz
bo0tzz3y ago
That shouldn't be needed I think This is just the geocoder data being bad
Bleh5
Bleh5OP3y ago
Renamed /docker/immich/micro/cities500, repulled the image, restarted the container. Seems to be progressing now. Thanks. spoke too soon. started running then stopped again
bo0tzz
bo0tzz3y ago
Same error again?
Bleh5
Bleh5OP3y ago
similar error, different line. was "Deuchendorf" before, now it's "Edesheim"
bo0tzz
bo0tzz3y ago
Did you do the rename while the container was still running? If so try again but stop the container first
Bleh5
Bleh5OP3y ago
it was stopped. i'll try again. you mean microservices, container, right?
bo0tzz
bo0tzz3y ago
Yeah
Bleh5
Bleh5OP3y ago
ran for about three minutes, error at different line
Bleh5
Bleh5OP3y ago
"Yegor’yevsk"
Alex Tran
Alex Tran3y ago
I think you raised this issue before? I recalled seeing the issue with this specific location
bo0tzz
bo0tzz3y ago
Very strange that it keeps doing this
Bleh5
Bleh5OP3y ago
nope. this is the first few times i'm trying immich first time installing on Sunday
bo0tzz
bo0tzz3y ago
No chance you happen to have another copy of the microservices container running or something? That's the only way I can imagine this happening multiple times in a row
Bleh5
Bleh5OP3y ago
just one copy
Alex Tran
Alex Tran3y ago
I have a feeling that the location with the ' in its name causing confusion with the csv parser that the library is using
bo0tzz
bo0tzz3y ago
I don't think so, if that was the case then it'd be breaking for other people as well I'm pretty sure this is the broken file issue we see regularly, but I don't get why it keeps happening after clearing
Alex Tran
Alex Tran3y ago
What system are you running Immich on? @Bleh5
Bleh5
Bleh5OP3y ago
Synology NAS docker
Alex Tran
Alex Tran3y ago
and running Docker-compose, correct?
Bleh5
Bleh5OP3y ago
not sure?
Alex Tran
Alex Tran3y ago
Do you follow a guide on how to install? Can you point us to the guide?
bo0tzz
bo0tzz3y ago
That's a pretty old guide
Alex Tran
Alex Tran3y ago

immich-microservices:
image: altran1502/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"]
container_name: Immich-microservices
hostname: immich-microservices
user: 1026:100
security_opt:
- no-new-privileges:true
env_file:
- stack.env
volumes:
- /volume1/docker/immich/upload:/usr/src/app/upload
- /volume1/docker/immich/micro:/usr/src/app/.reverse-geocoding-dump
restart: always
depends_on:
immich-redis:
condition: service_healthy
immich-db:
condition: service_started

immich-microservices:
image: altran1502/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"]
container_name: Immich-microservices
hostname: immich-microservices
user: 1026:100
security_opt:
- no-new-privileges:true
env_file:
- stack.env
volumes:
- /volume1/docker/immich/upload:/usr/src/app/upload
- /volume1/docker/immich/micro:/usr/src/app/.reverse-geocoding-dump
restart: always
depends_on:
immich-redis:
condition: service_healthy
immich-db:
condition: service_started
Bleh5
Bleh5OP3y ago
i changed to this if it matters: immich-machine-learning: image: bertmelis1/immich-machine-learning-noavx:release
Alex Tran
Alex Tran3y ago
After you have portainer installed, can you try to use this guide instead? https://immich.app/docs/install/portainer
Portainer | Immich
Install Immich using Portainer's Stack feature.
Bleh5
Bleh5OP3y ago
i'm using portainer. sure.
Alex Tran
Alex Tran3y ago
No that shouldn't cause the error you see since it is machine-learning
Bleh5
Bleh5OP3y ago
Up and running per that guide, and reuploading files. Will report back if it gets stuck anywhere.

Did you find this page helpful?