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
run onezone list
check hook execution record are missing
Details
In oned.log:
Thu Aug 6 10:36:09 2020 [Z0][HKM][E]: Error executing Hook 0
Thu Aug 6 10:36:09 2020 [Z0][ONE][E]: SQL command was: SELECT IFNULL(MAX(exeid), -1), COUNT(*) FROM hook_log WHERE hkid = 0, error ERROR: function ifnull(integer, integer) does not exist
LINE 1: SELECT IFNULL(MAX(exeid), -1), COUNT(*) FROM hook_log WHERE ...
Description
When using Postgres DB backend, hooks are executed, but the execution record is not created
To Reproduce
Create hook using template
run
onezone list
check hook execution record are missing
Details
In oned.log:
It seems in postgresql the IFNULL is called NULLIF (https://www.postgresqltutorial.com/postgresql-nullif/)
Progress Status
The text was updated successfully, but these errors were encountered: