iam4x / bobarr

🍿 The all-in-one alternative for Sonarr, Radarr, Jackett... with a VPN and running in docker
MIT License
1.53k stars 88 forks source link

Healthcheck not working #173

Open Taranys opened 3 years ago

Taranys commented 3 years ago

Hi :)

Thanks for this project, it is really promising !

I found an issue when I tried to add traefik on docker-compose to manage a reverse-proxy and add plex. It didn't work well because Docker healthcheck is not working :

docker inspect --format "{{json .State.Health }}" bobarr-web

{"Status":"starting","FailingStreak":1,"Log":[{"Start":"2020-12-24T13:16:43.736731731Z","End":"2020-12-24T13:16:43.862622808Z","ExitCode":1,"Output":"/bin/sh: curl: not found\n"}]}

It seems that node-alpine do not contains curl :/

As a workaround, I disabled healthcheck and it works :

  web:
    container_name: bobarr-web
    image: iam4x/bobarr-web:latest
    healthcheck:
      disable: true
rguillon commented 3 years ago

Hi,

I have the same issue and used the same workaround.

However, it seems that the container bobarr-web is only marked as unhealthy because curl is missing.

By manually installing curl (apk add curl), the container can be healthmonitored and is no longer filtered off by traefik. Of course it's not a proper solution as curl is lost every time the container is rebuilt.

Damien13150 commented 3 years ago

Hi !

The healthchek disabled method worked fine and now traefik is working, but whenever I go to Bobarr, there is no data in movies nor tv shows and I can't search any movies or tv shows.

image image

When I wasn't using traefik and only connected on local, it worked fine, do you have any idea why this happens ? And how to fix it ?

Thanks !