mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #270] [BUG] Whoogle 0.4.0 shows as "health: starting" in Docker #185
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#185
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @s3rverro0m on GitHub (Apr 6, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/270
Prior to version 0.4.0, ie...0.3.2, Whoogle would fully initialize and Traefik would pick it up. Now it seems that the container doesn't "fully" start up, or at least it doesn't tell Docker that it's fully started. I am able to access Whoogle locally.
0.4.0:
c0059fd2182a benbusby/whoogle-search:latest "/bin/sh -c 'misc/to…" About a minute ago Up About a minute (health: starting) 5000/tcp whooglevs 0.3.2:
d7b7d330cbf3 benbusby/whoogle-search:0.3.2 "/bin/sh -c 'config/…" 22 seconds ago Up 15 seconds 5000/tcp whoogleI'm running this on my own server using CentOS 8. Looking at the logs of 0.4.0, I see that bootstrapping fully finishes:
The logs are identical on 0.3.2, but I see that the docker command is different:
/bin/sh -c 'misc/to…vs/bin/sh -c 'config/…. Not sure where else to look.Please let me know if I can share anymore logs, or troubleshoot some more.
@inlophe commented on GitHub (Apr 7, 2021):
This happen to me too. Actually this happen too when I use 0.3.2 beta and buildx-experimental last time before 0.3.2 comes out.
I don't know if this is relevant or not, after I looked at whoogle docker hub, I notice that this happen (to me, at least) everytime the image compressed size is under 100MB, around 70ish MB to be exact (0.3.2 beta/buildx-experimental , 0.4.0) . But when the compressed size around 180-190MB it works fine (0.3.1 , 0.3.2).
Is there anything different when building the image that makes the size that different?
@benbusby commented on GitHub (Apr 7, 2021):
I noticed something similar actually. The
health: startingis due to the healthcheck interval being set to 5 minutes, meaning the image isn't fully "up" until then. I've reduced it now to 30 seconds, and the container should be fully running after the first health check. This seems fixed on my end, but please re-open if you're still having the problem.Yes, in the latest release the Dockerfile uses a multi-stage build to optimize the size of the image.