Hello I upgraded my Ubuntu Server to 20.4 and did a clean install of zoneminder 1.36.7 from the repo. Everything appears fully functional other than the video download and video export. When I try to export or view with either .zip or tar it says it succeeds and a zip or tar file is generated however it is missing the video. For instance it will say the size generated should be 54.59MB but the actual size is 95.2KB.
OPT_FFMPEG enabled (tried toggling it back and forth and saving)
PATH_FFMPEG = /usr/bin/ffmpeg
$which ffmpeg
/usr/bin/ffmpeg
Strangely even when turning on debug info, setting it to '9' and then restarting I am not seeing anything which seems relevant to generating the export at all? I even disabled all my monitors so that it would reduce extraneous information. How may I debug this further?
Everythign working great other than video dl and export
Re: Everythign working great other than video dl and export
Debug log level 9 all components (hopefully I did this right)
https://pastebin.com/icv1jxac
All I did here was restart zoneminder and try to download a video of an event. Interestingly I see absolutely nothing in the log about this?
https://pastebin.com/icv1jxac
All I did here was restart zoneminder and try to download a video of an event. Interestingly I see absolutely nothing in the log about this?
Re: Everythign working great other than video dl and export
A shot in the dark here... Is there anything helpful/unusual in the webserver logs?
Re: Everythign working great other than video dl and export
I do see some errors which seem related to the montage view which I usually keep running. Though the errors are troubling they aren't constant and everything seems to be working there.
(note blank line between some entries manually added by myself to improve readability of logs)
Code: Select all
[Wed Sep 29 18:35:44.260151 2021] [cgi:warn] [pid 142545] [client 192.168.1.201:49754] AH01220: Timeout waiting for output from CGI script /usr/lib/zoneminder/cgi-bin/nph-zms, referer: http://192.168.1.202:8080/zm/?view=event&eid=2000&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+day&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=1&sort_field=StartDateTime&sort_asc=1&page=1
[Wed Sep 29 19:12:42.751196 2021] [cgi:warn] [pid 142628] [client 192.168.1.201:49898] AH01220: Timeout waiting for output from CGI script /usr/lib/zoneminder/cgi-bin/nph-zms, referer: http://192.168.1.202:8080/zm/?view=montage&group=0
Code: Select all
[Wed Sep 29 18:31:26.113538 2021] [cgi:warn] [pid 137646] [client 192.168.1.201:49530] AH01220: Timeout waiting for output from CGI script /usr/lib/zoneminder/cgi-bin/nph-zms, referer: http://192.168.1.202:8080/zm/index.php
[Wed Sep 29 18:31:36.974199 2021] [php7:notice] [pid 142734] [client 192.168.1.201:49792] WAR [Invalid value for width: px]
[Wed Sep 29 18:31:37.007565 2021] [php7:notice] [pid 142734] [client 192.168.1.201:49792] WAR [Invalid value for width: px]
[Wed Sep 29 18:31:37.041039 2021] [php7:notice] [pid 142734] [client 192.168.1.201:49792] WAR [Invalid value for width: px]
[Wed Sep 29 18:31:37.074538 2021] [php7:notice] [pid 142734] [client 192.168.1.201:49792] WAR [Invalid value for width: px]
Code: Select all
[Wed Sep 29 17:41:21.846278 2021] [php7:notice] [pid 139860] [client 192.168.1.201:49422] DBG [View: console Request: modal Action: User: david], referer: http://192.168.1.202:8080/zm/index.php?view=events&page=1&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+hour&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=4
[Wed Sep 29 17:41:21.846421 2021] [php7:notice] [pid 139860] [client 192.168.1.201:49422] DBG [Including modals/download.php], referer: http://192.168.1.202:8080/zm/index.php?view=events&page=1&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+hour&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=4
[Wed Sep 29 17:41:23.590455 2021] [php7:notice] [pid 139860] [client 192.168.1.201:49422] DBG [Setting cookie parameters to Array\n(\n [lifetime] => 3600\n [path] => /\n [domain] => \n [secure] => \n [httponly] => 1\n [samesite] => Strict\n)], referer: http://192.168.1.202:8080/zm/index.php?view=events&page=1&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+hour&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=4
[Wed Sep 29 17:41:23.619504 2021] [php7:notice] [pid 139860] [client 192.168.1.201:49422] DBG [View: request Request: event Action: download User: david], referer: http://192.168.1.202:8080/zm/index.php?view=events&page=1&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+hour&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=4
[Wed Sep 29 17:41:23.619626 2021] [php7:warn] [pid 139860] [client 192.168.1.201:49422] PHP Warning: mkdir(): File exists in /usr/share/zoneminder/www/skins/classic/includes/export_functions.php on line 904, referer: http://192.168.1.202:8080/zm/index.php?view=events&page=1&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+hour&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Battr%5D=MonitorId&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bop%5D=%3D&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bval%5D=4