SQL-ERR after update
Posted: Tue Jan 21, 2020 9:46 am
Hi.
After update to Fedora 30/Zoneminder 1.34 I had seen in logs:
SQL-ERR 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'StorageId' cannot be null', statement was 'UPDATE Events SET `Id`=?, `Name`=?, `MonitorId`=?, `StorageId`=?, `SecondaryStorageId`=?, `Cause`=?, `StartTime`=?, `EndTime`=?, `Width`=?, `Height`=?, `Length`=?, `Frames`=?, `AlarmFrames`=?, `DefaultVideo`=?, `SaveJPEGs`=?, `TotScore`=?, `AvgScore`=?, `MaxScore`=?, `Archived`=?, `Videoed`=?, `Uploaded`=?, `Emailed`=?, `Messaged`=?, `Executed`=?, `Notes`=?, `StateId`=?, `Orientation`=?, `DiskSpace`=?, `Scheme`=?, `Locked`=? WHERE Id=?' params:2417291,Event-ip02- 2417291,2,,,Continuous,2020-01-21 11:10:00,2020-01-21 11:20:00,1280,800,600.05,4777,,2417291-video.mp4,0,0,0,0,0,1,0,0,0,0,,1,ROTATE_0,320632263,Medium,0,2417291
Options->Storage->id = 0
After update to Fedora 30/Zoneminder 1.34 I had seen in logs:
SQL-ERR 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'StorageId' cannot be null', statement was 'UPDATE Events SET `Id`=?, `Name`=?, `MonitorId`=?, `StorageId`=?, `SecondaryStorageId`=?, `Cause`=?, `StartTime`=?, `EndTime`=?, `Width`=?, `Height`=?, `Length`=?, `Frames`=?, `AlarmFrames`=?, `DefaultVideo`=?, `SaveJPEGs`=?, `TotScore`=?, `AvgScore`=?, `MaxScore`=?, `Archived`=?, `Videoed`=?, `Uploaded`=?, `Emailed`=?, `Messaged`=?, `Executed`=?, `Notes`=?, `StateId`=?, `Orientation`=?, `DiskSpace`=?, `Scheme`=?, `Locked`=? WHERE Id=?' params:2417291,Event-ip02- 2417291,2,,,Continuous,2020-01-21 11:10:00,2020-01-21 11:20:00,1280,800,600.05,4777,,2417291-video.mp4,0,0,0,0,0,1,0,0,0,0,,1,ROTATE_0,320632263,Medium,0,2417291
Options->Storage->id = 0