-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PiGallery2 stopped working - health issue - docker update ? #894
Comments
After some testing, it seems the latest docker version is responsible. I downgraded the following packages to these versions:
(using I have a lot of differents containers running on that server, all the others were running fine on the latest docker version so it must be something specific to PiGallery |
yeah those logs does not tell much. i see that a worker thread is trying to come up. You can disable threading in the config. Its deprecated. Maybe that makes a difference. |
I think it's related to Traefik + docker 26 + healthcheck adress. I had a similar problem with another container (Filebrowser) and I solved it using that thread: filebrowser/filebrowser#3119 (comment) I've disabled the healthcheck in my compose file and all is working with docker 26.1:
|
Can I create a PR to fix this issue ? The problem seems related to localhost endpoint, I've fixed it by adding this in my compose.yml file:
I can deploy this fix by changing localhost by 127.0.0.1 in the HEALTHCHECK section here: https://github.com/bpatrik/pigallery2/blob/9c6a7c97e3f86afc4bd280b5c6d824fa0aa6b0ad/docker/alpine/Dockerfile Here are the results from inside PiGallery2 container:
With 127.0.0.1:
The result of wget suggest it's a problem with IP v6 resolution instead of IP v4 (Connecting to localhost:80 ([::1]:80)) but busybox wget doesn't support --inet4-only option to force IP v4 resolution |
Hi, I'm using PiGallery2 with docker (latest-alpine) on a x86_64 plateform with Ubuntu 22.04. I updated my docker version to version 26.1.0, build 9714adc (latest deb available) and compose to v2.26.1 and the update seems to have broken PiGallery2.
Here is my compose section:
The debug logs seems OK
I tried with edge-alpine and lastest images, same issue.
Is there someone else affected by this bug ? Is there anything I can do to help fixing that bug ?
The text was updated successfully, but these errors were encountered: