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
Can you remove both the redis and the microservice container, then rebuild them (docker-compose up)
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 downit seems like you have dangling container
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
so the microservice container wasn't shutdown completely, therefore dangling
Let's see
i tried deleting what u said
have those running and perform
docker container prune
but still, microservices won't start
the output should show something
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
ok now restart the stack
how?
composde down + up?
yes
⠿ 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
now bring everything down
then
docker container prune
then docker network prune
after that docker compose up
root@Tower:~# docker compose up
no configuration file provided: not found
how do you usually restarting the stack?
compose down
and after compose up
do that 😛
[+] 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 upcan you show me
docker network ls
?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
while you have everything down
do
docker network rm 658b44ba1266
sorry
then docker container prune
then can you show me docker ps
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
Are all the containers down?
let's bring them down first then
docker container prune
all containers from immich?
or all my containers?
from Immich
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 anythingwhat is your
docker ps
?now try
docker network rm 658b44ba1266
Error response from daemon: error while removing network: network immich_default id 658b44ba1266bd10364d7799ddc088e8a396a4511987dcd431e0724580b1e819 has active endpoints
try add
--force
after thatroot@Tower:~# docker network rm 658b44ba1266 --forceunknown flag: --force
See 'docker network rm --help'.
doesn't seem to have a force command
damnit
hmm
maybe try restarting your server?
I am not sure what is going on with Unraid
rebooting now
quick question
is there any reason why immich doesn't have an unraid docker?
like from the store
it works now
:/
btw
any idea why it says apply update, even tough i'm on the latest version?
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
i understand
docker ps -a will show stopped containers btw
Then you can do docker rm with the stopped id/name.
@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
Thanks @MattFaz
GitHub
Update instructions for Unraid by MattFaz · Pull Request #1131 · im...
Added instructions on how to update Immich in Unraid.
Amazing! Thank you