Weird problems after upgrade to 1.36.2 from 1.34.25

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
fontiano
Posts: 37
Joined: Wed Dec 25, 2019 10:29 am

Weird problems after upgrade to 1.36.2 from 1.34.25

Post by fontiano » Mon May 31, 2021 8:41 pm

After the upgrade to 1.36.2 from 1.34.25 (Debian buster) I had to roll back because I mainly had 2 problems:

1) cannot view live stream of an old Hosafe cam (C6F0SgZ3N0P6L2)
2) sql errors with events api (/zm/api/events/xxx.json)

I imported the configuration to a test environment and again upgraded to 1.36.2. The sql errors have disappeared but I still can't see the live stream of the same camera.

If I configure it in the same way as the production system I get the error: zmc_m5 10071 ERR Failed to prime capture of initial monitor (curl - http: // user: password@10.0.1.12/tmpfs/auto.jpg)

if instead I try to configure it via rstp I have no errors on the logs, the camera records the events but I cannot see the live stream (ffmpeg - rtsp: // user: password@10.0.1.12: 554/11)

what could I try to do?
zm 1.34.25 - Debian 10

fontiano
Posts: 37
Joined: Wed Dec 25, 2019 10:29 am

DEBUG INFO - curl - http://user:password@10.0.1.12/tmpfs/auto.jpg

Post by fontiano » Tue Jun 01, 2021 3:54 pm

root@zm-test:/var/log/zm# tail -n 200 zmc_m5.log.1
06/01/21 17:51:03.614634 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309229
]
06/01/21 17:51:03.614650 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:03.614655 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:03.614659 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:03.897285 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: HTTP/1.1 200 OK
]
06/01/21 17:51:03.897325 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Server: Hipcam
]
06/01/21 17:51:03.897332 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Date: Tue, 01 Jun 2021 15:51:03 GMT
]
06/01/21 17:51:03.897336 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Last-Modified: Tue, 01 Jun 2021 15:51:03 GMT
]
06/01/21 17:51:03.897340 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Type: image/jpeg
]
06/01/21 17:51:03.897344 zmc_m5[10878].DB6-zm_curl_camera.cpp/398 [Content-Type is: image/jpeg
]
06/01/21 17:51:03.897348 zmc_m5[10878].DB7-zm_curl_camera.cpp/408 [Content type matched as image/jpeg]
06/01/21 17:51:03.897352 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309313
]
06/01/21 17:51:03.897356 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:03.897359 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:03.897363 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:04.253887 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: HTTP/1.1 200 OK
]
06/01/21 17:51:04.253926 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Server: Hipcam
]
06/01/21 17:51:04.253935 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Date: Tue, 01 Jun 2021 15:51:03 GMT
]
06/01/21 17:51:04.253939 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Last-Modified: Tue, 01 Jun 2021 15:51:03 GMT
]
06/01/21 17:51:04.253944 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Type: image/jpeg
]
06/01/21 17:51:04.253948 zmc_m5[10878].DB6-zm_curl_camera.cpp/398 [Content-Type is: image/jpeg
]
06/01/21 17:51:04.253953 zmc_m5[10878].DB7-zm_curl_camera.cpp/408 [Content type matched as image/jpeg]
06/01/21 17:51:04.253958 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309264
]
06/01/21 17:51:04.253963 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:04.253967 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:04.253971 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:04.490845 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: HTTP/1.1 200 OK
]
06/01/21 17:51:04.490874 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Server: Hipcam
]
06/01/21 17:51:04.490879 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Date: Tue, 01 Jun 2021 15:51:03 GMT
]
06/01/21 17:51:04.490883 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Last-Modified: Tue, 01 Jun 2021 15:51:03 GMT
]
06/01/21 17:51:04.490887 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Type: image/jpeg
]
06/01/21 17:51:04.490892 zmc_m5[10878].DB6-zm_curl_camera.cpp/398 [Content-Type is: image/jpeg
]
06/01/21 17:51:04.490896 zmc_m5[10878].DB7-zm_curl_camera.cpp/408 [Content type matched as image/jpeg]
06/01/21 17:51:04.490901 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309239
]
06/01/21 17:51:04.490905 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:04.490909 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:04.490913 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:04.767258 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: HTTP/1.1 200 OK
]
06/01/21 17:51:04.767284 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Server: Hipcam
]
06/01/21 17:51:04.767289 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Date: Tue, 01 Jun 2021 15:51:04 GMT
]
06/01/21 17:51:04.767300 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Last-Modified: Tue, 01 Jun 2021 15:51:04 GMT
]
06/01/21 17:51:04.767304 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Type: image/jpeg
]
06/01/21 17:51:04.767309 zmc_m5[10878].DB6-zm_curl_camera.cpp/398 [Content-Type is: image/jpeg
]
06/01/21 17:51:04.767313 zmc_m5[10878].DB7-zm_curl_camera.cpp/408 [Content type matched as image/jpeg]
06/01/21 17:51:04.767318 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309394
]
06/01/21 17:51:04.767322 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:04.767326 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:04.767330 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:05.051846 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: HTTP/1.1 200 OK
]
06/01/21 17:51:05.051887 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Server: Hipcam
]
06/01/21 17:51:05.051891 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Date: Tue, 01 Jun 2021 15:51:04 GMT
]
06/01/21 17:51:05.051895 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Last-Modified: Tue, 01 Jun 2021 15:51:04 GMT
]
06/01/21 17:51:05.051899 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Type: image/jpeg
]
06/01/21 17:51:05.051903 zmc_m5[10878].DB6-zm_curl_camera.cpp/398 [Content-Type is: image/jpeg
]
06/01/21 17:51:05.051907 zmc_m5[10878].DB7-zm_curl_camera.cpp/408 [Content type matched as image/jpeg]
06/01/21 17:51:05.051911 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309440
]
06/01/21 17:51:05.051915 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:05.051918 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:05.051922 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:05.330734 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: HTTP/1.1 200 OK
]
06/01/21 17:51:05.330773 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Server: Hipcam
]
06/01/21 17:51:05.330781 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Date: Tue, 01 Jun 2021 15:51:04 GMT
]
06/01/21 17:51:05.330786 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Last-Modified: Tue, 01 Jun 2021 15:51:04 GMT
]
06/01/21 17:51:05.330790 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Type: image/jpeg
]
06/01/21 17:51:05.330795 zmc_m5[10878].DB6-zm_curl_camera.cpp/398 [Content-Type is: image/jpeg
]
06/01/21 17:51:05.330799 zmc_m5[10878].DB7-zm_curl_camera.cpp/408 [Content type matched as image/jpeg]
06/01/21 17:51:05.330804 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309462
]
06/01/21 17:51:05.330808 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:05.330813 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:05.330817 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:05.737581 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: HTTP/1.1 200 OK
]
06/01/21 17:51:05.737622 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Server: Hipcam
]
06/01/21 17:51:05.737629 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Date: Tue, 01 Jun 2021 15:51:05 GMT
]
06/01/21 17:51:05.737633 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Last-Modified: Tue, 01 Jun 2021 15:51:05 GMT
]
06/01/21 17:51:05.737637 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Type: image/jpeg
]
06/01/21 17:51:05.737641 zmc_m5[10878].DB6-zm_curl_camera.cpp/398 [Content-Type is: image/jpeg
]
06/01/21 17:51:05.737645 zmc_m5[10878].DB7-zm_curl_camera.cpp/408 [Content type matched as image/jpeg]
06/01/21 17:51:05.737649 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309184
]
06/01/21 17:51:05.737653 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:05.737667 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:05.737670 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:06.053721 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: HTTP/1.1 200 OK
]
06/01/21 17:51:06.053757 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Server: Hipcam
]
06/01/21 17:51:06.053764 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Date: Tue, 01 Jun 2021 15:51:05 GMT
]
06/01/21 17:51:06.053769 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Last-Modified: Tue, 01 Jun 2021 15:51:05 GMT
]
06/01/21 17:51:06.053773 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Type: image/jpeg
]
06/01/21 17:51:06.053777 zmc_m5[10878].DB6-zm_curl_camera.cpp/398 [Content-Type is: image/jpeg
]
06/01/21 17:51:06.053782 zmc_m5[10878].DB7-zm_curl_camera.cpp/408 [Content type matched as image/jpeg]
06/01/21 17:51:06.053787 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309245
]
06/01/21 17:51:06.053791 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:06.053795 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:06.053798 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:06.332430 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: HTTP/1.1 200 OK
]
06/01/21 17:51:06.332576 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Server: Hipcam
]
06/01/21 17:51:06.332687 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Date: Tue, 01 Jun 2021 15:51:05 GMT
]
06/01/21 17:51:06.332798 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Last-Modified: Tue, 01 Jun 2021 15:51:05 GMT
]
06/01/21 17:51:06.332908 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Type: image/jpeg
]
06/01/21 17:51:06.333025 zmc_m5[10878].DB6-zm_curl_camera.cpp/398 [Content-Type is: image/jpeg
]
06/01/21 17:51:06.333133 zmc_m5[10878].DB7-zm_curl_camera.cpp/408 [Content type matched as image/jpeg]
06/01/21 17:51:06.333244 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Content-Length: 309273
]
06/01/21 17:51:06.333354 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Connection: close
]
06/01/21 17:51:06.333464 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header: Accept-Ranges: bytes
]
06/01/21 17:51:06.333565 zmc_m5[10878].DB4-zm_curl_camera.cpp/383 [Got header:
]
06/01/21 17:51:06.590990 zmc_m5[10875].ERR-zmc.cpp/259 [Failed to prime capture of initial monitor]
06/01/21 17:51:06.591531 zmc_m5[10875].DB1-zm_db.cpp/189 [Success running sql query INSERT INTO Monitor_Status (MonitorId,Status) VALUES (5, 'NotRunning') ON DUPLICATE KEY UPDATE Status='NotRunning']
06/01/21 17:51:06.591548 zmc_m5[10875].DB1-zmc.cpp/381 [terminating]
zm 1.34.25 - Debian 10

fontiano
Posts: 37
Joined: Wed Dec 25, 2019 10:29 am

DEBUG Hosafe - rtsp://user:password@10.0.1.12:554/11

Post by fontiano » Tue Jun 01, 2021 4:17 pm

Debug log attached.
Attachments
zmc_m5.zip
(684.65 KiB) Downloaded 15 times
zms_m5.log
(23.68 KiB) Downloaded 12 times
zm 1.34.25 - Debian 10

fontiano
Posts: 37
Joined: Wed Dec 25, 2019 10:29 am

Re: Weird problems after upgrade to 1.36.2 from 1.34.25

Post by fontiano » Sat Jun 12, 2021 9:30 am

After update to 1.37.0 (apt repo 1.36) i deleted camera entry and recreated it with same parameters.

It started working again with rtsp.
zm 1.34.25 - Debian 10

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests