-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
[BUG] my healthcheck started failing after upgrading to v0.8.0 #601
Comments
Good to hear it's not just me. Btw. the restart you see in the logs is my autoheal container restarting scrutiny because the healthcheck failed. For what it is worth, I'm also wondering about this line in the logs:
This is definitely not the first time for this device. Also, I have 2 different SDA devices in scrutiny because I swapped around a few drives. Scared to delete one from scrutiny as when I tried that, scrutiny stopped working. |
Having the same problem with this health configuration
|
@dropsignal was this something you experienced when developing on debian 12 (bookworm) ? |
Not this specifically, but it looks like it's related to the unified /usr issue. Healthcheck is trying to execute curl using /bin/sh which doesn't exist anymore. Technically it does on a full installation of Debian 12 because /bin is just a symbolic link to /usr/bin. However, in Debian 12 slim, /bin/sh is gone. If healthcheck were updated to use /usr/bin/sh, then it will work again. The other option is to put a symbolic link from /bin/sh to /usr/bin/sh in the docker image, but that defeats the purpose of trying to unify everything under /usr/bin if others don't update their path references like they're supposed to. |
Can you try changing:
to
or
and report back? |
@AnalogJ the second solution worked for me. Thank you! |
The first one didn't work for me either while the second one does, but you need to insert a space after
Thanks for helping us out. |
Describe the bug
This healthcheck has been working for a while but started failing after the upgrade to scrutiny v0.8.0
If I manually enter the container and execute it, echo$? returns 0 so it clearly is working.
Expected behavior
The healthcheck to be working.
Log Files
tmp.log
Please also provide the output of
docker info
The text was updated successfully, but these errors were encountered: