immich-immich-microservices-1 stopped and won't start

So i was uploading some files using CLI, at some point it stopped, and the server crashed, when i attemped to compose down and after up, microservices won't start again...
45 Replies
Alex Tran
Alex Tran3y ago
Can you remove both the redis and the microservice container, then rebuild them (docker-compose up)
tranCe-addiCted
tranCe-addiCtedOP3y ago
sec ⠿ Network immich_default Error 0.0s failed to remove network immich_default: Error response from daemon: error while removing network: network immich_default id 658b44ba1266bd10364d7799ddc088e8a396a4511987dcd431e0724580b1e819 has active endpoints this error i get when composing down
Alex Tran
Alex Tran3y ago
it seems like you have dangling container
tranCe-addiCted
tranCe-addiCtedOP3y ago
WARN[0000] The "IMMICH_SERVER_URL" variable is not set. Defaulting to a blank string. [+] Running 6/7 ⠿ Container immich_redis Started 1.3s ⠿ Container immich_postgres Started 1.6s ⠿ Container immich-immich-web-1 Started 1.7s ⠿ Container immich-immich-machine-learning-1 Started 2.3s ⠿ Container immich-immich-server-1 Started 2.1s ⠿ Container immich-immich-microservices-1 Starting 2.6s ⠿ Container immich_proxy Started 2.4s Error response from daemon: endpoint with name immich-immich-microservices-1 already exists in network immich_default
Alex Tran
Alex Tran3y ago
so the microservice container wasn't shutdown completely, therefore dangling Let's see
tranCe-addiCted
tranCe-addiCtedOP3y ago
i tried deleting what u said
Alex Tran
Alex Tran3y ago
have those running and perform docker container prune
tranCe-addiCted
tranCe-addiCtedOP3y ago
but still, microservices won't start
Alex Tran
Alex Tran3y ago
the output should show something
tranCe-addiCted
tranCe-addiCtedOP3y ago
root@Tower:~# docker container prune WARNING! This will remove all stopped containers. Are you sure you want to continue? [y/N] y Deleted Containers: 02f84266eb5fee7d5707c8c65f5debb4402e9788ad7aab6f1cbf9ce42fb8c151 Total reclaimed space: 0B
Alex Tran
Alex Tran3y ago
ok now restart the stack
tranCe-addiCted
tranCe-addiCtedOP3y ago
how? composde down + up?
Alex Tran
Alex Tran3y ago
yes
tranCe-addiCted
tranCe-addiCtedOP3y ago
⠿ Network immich_default Error 0.0s failed to remove network immich_default: Error response from daemon: error while removing network: network immich_default id 658b44ba1266bd10364d7799ddc088e8a396a4511987dcd431e0724580b1e819 has active endpoints WARN[0000] The "IMMICH_SERVER_URL" variable is not set. Defaulting to a blank string. [+] Running 6/7 ⠿ Container immich_postgres Started 1.7s ⠿ Container immich_redis Started 1.4s ⠿ Container immich-immich-web-1 Started 1.6s ⠿ Container immich-immich-server-1 Started 2.1s ⠿ Container immich-immich-machine-learning-1 Started 2.2s ⠿ Container immich-immich-microservices-1 Starting 2.7s ⠿ Container immich_proxy Started 2.4s Error response from daemon: endpoint with name immich-immich-microservices-1 already exists in network immich_default
Alex Tran
Alex Tran3y ago
now bring everything down then docker container prune then docker network prune after that docker compose up
tranCe-addiCted
tranCe-addiCtedOP3y ago
root@Tower:~# docker compose up no configuration file provided: not found
Alex Tran
Alex Tran3y ago
how do you usually restarting the stack?
tranCe-addiCted
tranCe-addiCtedOP3y ago
compose down and after compose up
Alex Tran
Alex Tran3y ago
do that 😛
tranCe-addiCted
tranCe-addiCtedOP3y ago
[+] Running 0/0 ⠿ Network immich_default Error 0.0s failed to remove network immich_default: Error response from daemon: error while removing network: network immich_default id 658b44ba1266bd10364d7799ddc088e8a396a4511987dcd431e0724580b1e819 has active endpoints this is when trying to compose down WARN[0000] The "IMMICH_SERVER_URL" variable is not set. Defaulting to a blank string. [+] Running 6/7 ⠿ Container immich_postgres Started 1.6s ⠿ Container immich-immich-web-1 Started 1.4s ⠿ Container immich_redis Started 1.5s ⠿ Container immich-immich-machine-learning-1 Started 2.0s ⠿ Container immich-immich-server-1 Started 2.0s ⠿ Container immich-immich-microservices-1 Starting 2.5s ⠿ Container immich_proxy Started 2.2s Error response from daemon: endpoint with name immich-immich-microservices-1 already exists in network immich_default compose up
Alex Tran
Alex Tran3y ago
can you show me docker network ls?
tranCe-addiCted
tranCe-addiCtedOP3y ago
sec root@Tower:~# docker network ls NETWORK ID NAME DRIVER SCOPE 5dfa1e953985 bridge bridge local 12418a60e015 host host local 658b44ba1266 immich_default bridge local c83636273df3 none null local 9387e09a41cd unraidnet bridge local
Alex Tran
Alex Tran3y ago
while you have everything down do docker network rm 658b44ba1266 sorry then docker container prune then can you show me docker ps
tranCe-addiCted
tranCe-addiCtedOP3y ago
sec kid woke up to pee 😄 docker network rm 658b44ba1266 root@Tower:~# docker network rm 658b44ba1266 Error response from daemon: error while removing network: network immich_default id 658b44ba1266bd10364d7799ddc088e8a396a4511987dcd431e0724580b1e819 has active endpoints
Alex Tran
Alex Tran3y ago
Are all the containers down? let's bring them down first then docker container prune
tranCe-addiCted
tranCe-addiCtedOP3y ago
all containers from immich? or all my containers?
Alex Tran
Alex Tran3y ago
from Immich
tranCe-addiCted
tranCe-addiCtedOP3y ago
0/7folder everything is down root@Tower:~# docker container prune WARNING! This will remove all stopped containers. Are you sure you want to continue? [y/N] y Total reclaimed space: 0B doesn't seem to have deleted anything
Alex Tran
Alex Tran3y ago
what is your docker ps?
Alex Tran
Alex Tran3y ago
now try docker network rm 658b44ba1266
tranCe-addiCted
tranCe-addiCtedOP3y ago
Error response from daemon: error while removing network: network immich_default id 658b44ba1266bd10364d7799ddc088e8a396a4511987dcd431e0724580b1e819 has active endpoints
Alex Tran
Alex Tran3y ago
try add --force after that
tranCe-addiCted
tranCe-addiCtedOP3y ago
root@Tower:~# docker network rm 658b44ba1266 --forceunknown flag: --force See 'docker network rm --help'. doesn't seem to have a force command
Alex Tran
Alex Tran3y ago
damnit hmm maybe try restarting your server? I am not sure what is going on with Unraid
tranCe-addiCted
tranCe-addiCtedOP3y ago
rebooting now quick question is there any reason why immich doesn't have an unraid docker? like from the store it works now :/ btw
tranCe-addiCted
tranCe-addiCtedOP3y ago
Lightshot
Screenshot
Captured with Lightshot
tranCe-addiCted
tranCe-addiCtedOP3y ago
any idea why it says apply update, even tough i'm on the latest version?
Alex Tran
Alex Tran3y ago
Because it is not practical for combining everything into a single docker container I am not sure how unraid indicate update Could be update the Postgres or the redis image
tranCe-addiCted
tranCe-addiCtedOP3y ago
i understand
jrasm91
jrasm913y ago
docker ps -a will show stopped containers btw Then you can do docker rm with the stopped id/name.
MattFaz
MattFaz3y ago
@tranCe-addiCted Unraid will always show update ready for Immich because it was made via docker compose rather than using the Unraid community apps. Just ignore it and when you get the notification (or just whenever you feel like it) update the stack using the "Update Stack" button FYI @Alex Tran - I'll update the doco with this info
Alex Tran
Alex Tran3y ago
Thanks @MattFaz
Alex Tran
Alex Tran3y ago
Amazing! Thank you

Did you find this page helpful?