"Add New Monitor" Error
Posted: Sat Aug 27, 2016 4:00 pm
I am running a new Ubuntu install and installed Zoneminder 1.30. (I was running 1.29 until my HDD crashed).
I go to add a monitor and get this error when I click on 'Save' button:
SQL-ERR 'SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'ServerId' at row 1', statement was 'insert into Monitors set LinkedMonitors = '', Name = 'Amcrest', ServerId = '', Type = 'Ffmpeg', Function = 'Monitor', Enabled = '1', RefBlendPerc = '6', AlarmRefBlendPerc = '6', AnalysisFPS = '15', MaxFPS = '15', AlarmMaxFPS = '15', Device = '/dev/video0', Channel = '0', Format = '255', Palette = '0', V4LMultiBuffer = '', V4LCapturesPerFrame = '1', Protocol = '', Host = '', Port = '80', RTSPDescribe = '0', LabelFormat = '%N - %d/%m/%y %H:%M:%S', LabelX = '0', LabelY = '0', LabelSize = '1', ImageBufferCount = '50', WarmupCount = '25', PreEventCount = '25', PostEventCount = '25', StreamReplayBuffer = '1000', AlarmFrameCount = '1', EventPrefix = 'Event-', SectionLength = '600', FrameSkip = '0', MotionFrameSkip = '0', AnalysisUpdateDelay = '0', FPSReportInterval = '1000', DefaultView = 'Events', DefaultRate = '100', DefaultScale = '100', WebColour = 'red', Exif = '', SignalCheckColour = '#0000c0', Path = 'rtsp://[removed]:[removed]@[removed]:554/cam/realmonitor?channel=1&subtype=0', Method = 'rtpRtsp', Options = '', Colours = '3', Width = '1280', Height = '960', Orientation = '0', Deinterlacing = '0', Sequence = 1'
I was following these instructions:
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
I cannot add a monitor. I did not get this error on my 1.29 version install. Please help!
I go to add a monitor and get this error when I click on 'Save' button:
SQL-ERR 'SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'ServerId' at row 1', statement was 'insert into Monitors set LinkedMonitors = '', Name = 'Amcrest', ServerId = '', Type = 'Ffmpeg', Function = 'Monitor', Enabled = '1', RefBlendPerc = '6', AlarmRefBlendPerc = '6', AnalysisFPS = '15', MaxFPS = '15', AlarmMaxFPS = '15', Device = '/dev/video0', Channel = '0', Format = '255', Palette = '0', V4LMultiBuffer = '', V4LCapturesPerFrame = '1', Protocol = '', Host = '', Port = '80', RTSPDescribe = '0', LabelFormat = '%N - %d/%m/%y %H:%M:%S', LabelX = '0', LabelY = '0', LabelSize = '1', ImageBufferCount = '50', WarmupCount = '25', PreEventCount = '25', PostEventCount = '25', StreamReplayBuffer = '1000', AlarmFrameCount = '1', EventPrefix = 'Event-', SectionLength = '600', FrameSkip = '0', MotionFrameSkip = '0', AnalysisUpdateDelay = '0', FPSReportInterval = '1000', DefaultView = 'Events', DefaultRate = '100', DefaultScale = '100', WebColour = 'red', Exif = '', SignalCheckColour = '#0000c0', Path = 'rtsp://[removed]:[removed]@[removed]:554/cam/realmonitor?channel=1&subtype=0', Method = 'rtpRtsp', Options = '', Colours = '3', Width = '1280', Height = '960', Orientation = '0', Deinterlacing = '0', Sequence = 1'
I was following these instructions:
https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
I cannot add a monitor. I did not get this error on my 1.29 version install. Please help!