Version: 1.31.39~20180222205919-trusty
from ppa:iconnor/zoneminder-storageareas
installed on Ubuntu 14.04.4 LTS
I ran into an issuing upgrading my existing install, so I purged the old install and dropped the MySQL table. This install should be fairly fresh. I ran into issues getting the database created, so I started with 1.30.4-trusty1 and upgraded to 1.31.39. I see in the ppa listing, there are newer versions of 1.31.39 available, but after doing an apt-get update, apt still thinks the 20180222205919 release is the latest. My apologies if this issue has been addressed already.
When log_level_syslog or log_level_database is set to info or debug, nph-zms applies text before the header when serving up a jpg. Instead of displaying the jpg, chrome downloads a file nph-zms and inside it contains:
Code: Select all
Not logging to file because level <= mFileLevel
HTTP/1.0 200 OK
Server: ZoneMinder Video Server/1.31.39
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Sun, 11 Mar 2018 18:58:19 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 30880
Content-Type: image/jpeg
����JFIF��C
...
I'm not sure if it's related, but I also ran into an issue where the "Filters" weblink failed to work, giving a server error 500 I think. My apache error log gave me:
PHP Parse error: Syntax error, unexpected '(' in /usr/share/zoneminder/www/includes/Filter.php on line 23
/usr/share/zoneminder/www/includes/Filter.php, line 23:
Code: Select all
'sort_asc' => (ZM_WEB_EVENT_SORT_ORDER == 'asc'),
Code: Select all
'sort_asc' => 'asc',
Before I dig any further for these issues, is there a specific version of apache/php/javascript I should be using that may be causing my problems?
For reference, after doing apt-get update, this is what apt tells me is the latest available:
Code: Select all
root@Server:/# apt-cache policy zoneminder
zoneminder:
Installed: 1.31.39~20180222205919-trusty
Candidate: 1.31.39~20180222205919-trusty
Version table:
*** 1.31.39~20180222205919-trusty 0
500 http://ppa.launchpad.net/iconnor/zoneminder-storageareas/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
1.31.1~20180221085257-trusty 0
500 http://ppa.launchpad.net/iconnor/zoneminder-master/ubuntu/ trusty/main amd64 Packages
1.30.4-trusty1 0
500 http://ppa.launchpad.net/iconnor/zoneminder/ubuntu/ trusty/main amd64 Packages
1.26.5-1ubuntu3 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages