immich_microservices restarting endlessly after CLI bulk upload

Hello, I've started using Immich yesterday, and it imported pictures from my phone's camera flawlessly and was working amazing until I decided to bulk import the rest of my pictures and videos through the CLI bulk upload. I'm using docker through portainer, and mounted the picture's path to the immich_server container. I've opened the immich_server container terminal and started the upload recursively as instructed in the docs. Everything was uploaded fine, but after the upload, the jobs were taking waaay too long to process the files. After many hours, I noticed that the immich_microservices container was restarting endlessly every few seconds. I've tried turning off just the microservices container and also turning off the whole stack and then turning it back on to no success. These are the logs I get with just the generate thumbnails job running on the immich_microservices container: (see immich.log file) And then it starts from the begging all over again, sometimes it can squeeze a thumbnail or two between the restarts. If anyone could help me, I would greatly appreciate it.
2 Replies
Alex Tran
Alex Tran2y ago
Did you happen to limit the resources (ram/cpu) of microservices container?
OneWhoWaits
OneWhoWaitsOP2y ago
I didn't, at least not explicitly, though immich is running on a debian VM with 5gb of allocated ram that it is sharing with some other services. Could this be caused by lack of memory? I've turned off another VM I had running and allocated 2 more gbs os memory to the VM that was running Immich, that seems to have solved the issue and the jobs have been running fine for now. Thanks for the help!!

Did you find this page helpful?