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
I also just noticed that I might have merged the same/overlapping functionality twice.
(compare the way monitor conditions for the dns monitor work vs the json monitor.. π«€)
π I have found these related issues/pull requests
N/A
π‘οΈ Security Policy
Description
After an upgrade to v2, JSON monitors are broken until edited and re saved.
Error:
Monitor #174 'API check': Failing: Error evaluating JSON query: Invalid condition null. Response from server was: true | Interval: 600 seconds | Type: json-query | Down Count: 0 | Resend Interval: 0
When the monitor is edited, the correct info is populated, and when Saved the monitor comes back up.
(this screenshot is from a different monitor with the same issue, should say
true
)π Reproduction steps
Setup a JSON monitor in v1 and upgrade to v2 beta
π Expected behavior
JSON monitors are preserved
π Actual Behavior
JSON monitors require re saving
π» Uptime-Kuma Version
2.0.0-beta
π» Operating System and Arch
Ubuntu 20.04 armv7
π Browser
Chrome 130
π₯οΈ Deployment Environment
Runtime: Version: 27.3.1
API version: 1.47
Go version: go1.22.7
Database: sqlite
Filesystem used to store the database on: EXT4
number of monitors: 200+
π Relevant log output
2024-10-31T15:38:19-04:00 [MONITOR] WARN: Monitor #174 'API check': Failing: Error evaluating JSON query: Invalid condition null. Response from server was: true | Interval: 600 seconds | Type: json-query | Down Count: 0 | Resend Interval: 0
The text was updated successfully, but these errors were encountered: