dependency failed to start: container runtipi-queue is unhealthyafter updating to 4.0.0
I tried updating to 4.0.0. I backed up my stuff first then ran the updater script. After that I tried to start runtipi but it errored out with that error. It pops-up everytime I try to start runtipi and tipi doesn't start.
OS: Debian 12
I attached the logs of runtipi-queue container.
25 Replies
This is very weird, because all the logs show that the queue is starting correctly. A few step we can do:
1. Can you run
./runtipi-cli debug
and paste the output?
2. Can you run sudo docker exec -it runtipi-queue rabbitmq-diagnostics -q ping
do you see a success message? Was it long to respond?
3. Have you something interesting in logs/error.log
?
Other possible causes:
1. Have you enough disk space left on your device?
2. Is your server a low end device? Maybe the queue is not starting fast enough before the timeout2. Success, doesn't take long seems normal
3. The logs there are from before the update
1.1 Around 20-25gb free
2.2 It's low end, but not super low-end I've been running it since January with few containers and it's been doing fine so far
If you do
docker-compose up -d runtipi-queue
does it starts correctly? You can check with docker ps
if it is healthy
What do you have in your user-config/tipi-compose.yml
?docker-compose is not found as a command
Sorry
docker compose up -d runtipi-queue
and docker ps:
Okay so the healthcheck has a problem. Can you try the following: In tipi-compose.yml
And then
./runtipi-cli start
Oh and before doing this, can you run sudo docker inspect --format='{{json .State.Health}}' runtipi-queue
^ this will give us the reason why the healthcheck failedOkay good to know, so the container fails to responds before the 3s timeout
Increasing it could potentially resolve the issue
It started successfully now
That fixed it
The increased timeout?
Tipi is up but noone of the apps are
Yes, after 4.0 the apps need to be started manually
Because they have been migrated internally
they can't start for some reason
You get an error log?
Okay maybe the queue is still not operational, let's dive more
Did you keep the
test: rabbitmq-diagnostics -q ping
or just have put it to true
?test: rabbitmq-diagnostics -q ping
Okay then it should work for the queue. Now the apps fail to start. Do you have anything in logs/error.log?
Theres a bunch more of these for all of them
Oh okay, so this is a different issue it seems you have apps running on your host machine on the same ports. Did you stop all your apps before upgrading?
Do you have for example the bazarr container still running?
I stopped tipi before the upgrade. I see some running in docker ps.
Okey so you had to stop the apps (the script should have done this and asked you to double check)
This is not a problem, run for example docker stop bazarr and then you can start it from runtipi
it's up so I just need to do that for everything else
I have issues after updating to v4.0. All apps won’t start and it also won’t install. Fresh reinstall Runtipi won’t help for me. I was hoping you will get this resolve.
Please open a new thread and send the required info
Yes exactly, thanks for taking the time debugging
I'll post a patch update for the timeout thing we have discovered