ENVIRONMENT:
ZoneMinder 1.39.3
mariadb from 11.8.6-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
Debian trixie 13.4
BUG:
Applied sql patch zm_update-1.39.5.sql which created the following field definition:
WhatDisplay tinyint(3) unsigned NOT NULL DEFAULT 0,
That creates the following error when attempting to add a monitor :
ERR SQL-ERR 'SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: 'OnlyVideo' for column zm.Monitors.WhatDisplay at row 1', statement was 'INSERT INTO Monitors (Id....
It placed it in the correct field order though so the script ran all the way through.
SOLUTION:
Able to create the correct field definition WhatDisplay enum('OnlyVideo','OnlyAudioVisualization','VideoAudioVisualization') NOT NULL DEFAULT 'OnlyVideo' by modifying the column in MariaDB.
ENVIRONMENT:
ZoneMinder 1.39.3
mariadb from 11.8.6-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
Debian trixie 13.4
BUG:
Applied sql patch zm_update-1.39.5.sql which created the following field definition:
WhatDisplaytinyint(3) unsigned NOT NULL DEFAULT 0,That creates the following error when attempting to add a monitor :
ERR SQL-ERR 'SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: 'OnlyVideo' for column
zm.Monitors.WhatDisplayat row 1', statement was 'INSERT INTOMonitors(Id....It placed it in the correct field order though so the script ran all the way through.
SOLUTION:
Able to create the correct field definition
WhatDisplayenum('OnlyVideo','OnlyAudioVisualization','VideoAudioVisualization') NOT NULL DEFAULT 'OnlyVideo' by modifying the column in MariaDB.