mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
[docker] container w/ healthcheck comes up -> no event or notication #2945
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#2945
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 @daberlin on GitHub (Dec 20, 2023).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
Description
Hi
When a docker container goes down, an event is logged and a notification is sent.
As soon as it comes up again, both event and notification are only sent if NO health check exists. Containers with a health check get yellow first and then green - not neother event nor notification are created.
👟 Reproduction steps
Configure monitor for container with and without health check. Stop both and restart.
👀 Expected behavior
Both containers issue an event and a notification when going down and another one when coming up again.
😓 Actual Behavior
Both containers issue an event and a notification when going down. Only the container w/o a health check sends a notification when coming up again.
🐻 Uptime-Kuma Version
1.23.10
💻 Operating System and Arch
Linux / Docker
🌐 Browser
not relevant, but Firefox
🐋 Docker Version
24.0.7
🟩 NodeJS Version
No response
📝 Relevant log output
No response
@sauloaguiar93 commented on GitHub (Dec 22, 2023):
Hello, good morning.
I experienced a similar situation but resolved it by performing a backup, stopping the container. Then, I removed the SQLite files from the volume, recreated the container, and restored the data. As a result, everything started working again without issues.