Uptime-Kuma-Web-API icon indicating copy to clipboard operation
Uptime-Kuma-Web-API copied to clipboard

Restore from backup not working for latest kuma version

Open emmiga opened this issue 10 months ago • 0 comments

It seems that there is a compatibility issue with the version. My api version is 1.2.2 and the uptime-kuma version is 1.23.11. Restoring a backup via API is ending into an error:

"SQLITE_CONSTRAINT: NOT NULL constraint failed: monitor.invert_keyword"

The invert_keyword has a value of "false" and not NULL, but it seems that when it tried to insert it to the db, it is not getting the "false" value, but "null" instead.

Backup is working from kuma version 1.21.3. Haven't tested yet with other version.

emmiga avatar Apr 14 '24 12:04 emmiga