You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If alpaga.com is created before the group, Uptime Kuma responds with this error:
WARN [autokuma::sync] Encountered error during sync: Server responded with an error: INSERT INTO monitor_tag (tag_id, monitor_id, value) VALUES (1, 92, 'group') - SQLITE_CONSTRAINT: FOREIGN KEY constraint failed
alpaga.com is created in Uptime Kuma, without parent group, but not stored in AutoKuma database.
AutoKuma will then create several alpaga.com probes, until the creation of the parent group.
This is also the case when the notification is missing.
This behavior was not an issue when AutoKuma based itself on labels to identifys its entries in Uptime Kuma.
The text was updated successfully, but these errors were encountered:
landure
changed the title
AutoKuma db out of sync due to groups creation not prioritized
[unreleased] AutoKuma db out of sync due to groups creation not prioritized
Nov 5, 2024
Hmm I'd consider this a bug in uptime kuma tbh. The monitor should not be created if an error happens, I also can't just ignore the error on the autokuma side because I never get the id of the monitor in case of an error.
Btw this can only happen when manually referencing an id (e.g. in your notification_id_list), when using one of the _names the id is resolved locally, so this error is not actually originating from your monitor->group relation but something else. The error seems to indicate this is from a missing "Tag" not a missing parent monitor.
Hi,
I was incorrectly using master image. This issue occured:
with the introduction of AutoKuma database, an unwanted behavior appeared (with static monitors)
If
alpaga.com
is created before the group, Uptime Kuma responds with this error:alpaga.com
is created in Uptime Kuma, without parent group, but not stored in AutoKuma database.AutoKuma will then create several alpaga.com probes, until the creation of the parent group.
This is also the case when the notification is missing.
This behavior was not an issue when AutoKuma based itself on labels to identifys its entries in Uptime Kuma.
The text was updated successfully, but these errors were encountered: