bobarr icon indicating copy to clipboard operation
bobarr copied to clipboard

Healthcheck not working

Open Taranys opened this issue 4 years ago • 2 comments

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

Taranys avatar Dec 24 '20 13:12 Taranys

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.

rguillon avatar Apr 02 '21 18:04 rguillon

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 !

Damien13150 avatar Aug 05 '21 20:08 Damien13150