Author |
Message |
bobmyth
|
Posted: Thu Dec 28, 2017 1:18 pm |
|
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
|
My zoneminder is not working, meaning I cannot see any live streams nor can I see any previously captured events. It appears zoneminder if still analyzing and capturing events, though.
The first step is to do: zmupdate.pl
This will update your zoneminder database from 1.30.0 to 1.30.2
The nph-zms binary appears to be compiled so that all libraries resolve (good news).
However, the nph-zms processes don't appear to go away once you attempt to view a camera or event.
Yes, I am using Firefox.
|
|
Top |
|
|
tscholl
|
Posted: Thu Dec 28, 2017 1:51 pm |
|
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location:
Lexington, Ky
|
I'm not using Zm but with the latest versions of Firefox I can no longer view any of my cameras. I do how ever get a message on the browser screen. Try IE. That's what I had to resort to.
|
|
Top |
|
|
bobmyth
|
Posted: Thu Dec 28, 2017 2:07 pm |
|
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
|
My version of Firefox has not changed. Meaning, I was able to view my cameras this morning before the upgrade and after the upgrade I am unable to view them.
|
|
Top |
|
|
tscholl
|
Posted: Thu Dec 28, 2017 8:38 pm |
|
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location:
Lexington, Ky
|
Got it, well keep using the version your using. Don't upgrade..
Wish I had something else but no other thoughts at the moment. Good luck.
|
|
Top |
|
|
bobmyth
|
Posted: Sun Dec 31, 2017 9:40 am |
|
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
|
Something else that I just noticed, I left a nph-zms process running Friday morning and how I have 28,000 files from lighthttpd in /myth/tmp, it's odd: Code: $ ls -ltr /myth/tmp -rw------- 1 http http 1055112 Dec 29 10:36 /myth/tmp/lighttpd-upload-fWipqP -rw------- 1 http http 1064678 Dec 29 10:36 /myth/tmp/lighttpd-upload-laZsr5 ... -rw------- 1 http http 1087619 Dec 31 08:33 /myth/tmp/lighttpd-upload-HSrDN7 -rw------- 1 http http 681069 Dec 31 08:33 /myth/tmp/lighttpd-upload-PhN66W
Now that I've killed the process, the files have stopped accumulating. Also interesting is the content of the files: Code: $ sudo less /myth/tmp/lighttpd-upload-ps6S00 "/myth/tmp/lighttpd-upload-ps6S00" may be a binary file. See it anyway? --ZoneMinderFrame Content-Type: image/jpeg Content-Length: 54572
<FF><D8><FF><E0>^@^PJFIF^@^A^A^@^@^A^@^A^@^@<FF><DB>^@C^@ ^G^G^H^G^F ^H^H^H^K
Looks like a zoneminder jpeg file.
|
|
Top |
|
|
bobmyth
|
Posted: Tue Jan 30, 2018 10:34 pm |
|
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
|
Small progress, I found an error: Code: # tail -f /var/log/2018-01-30/mythtv_php-cgi.log Jan 30 20:26:58 mythtv php-cgi[26996]: PHP Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /data/srv/httpd/zoneminder/api/lib/Cake/Cache/Cache.php on line 328 Jan 30 20:26:58 mythtv php-cgi[26996]: PHP Warning: /data/srv/httpd/zoneminder/api/app/tmp/cache/persistent/ is not writable in /data/srv/httpd/zoneminder/api/lib/Cake/Cache/Engine/FileEngine.php on line 385
I created /data/srv/httpd/zoneminder/api/app/tmp/cache/persistent/ but still cannot view live or recorded events. I should be able to view this URL: http://mythtv/zm/api/host/getVersion.jsonbut am not there yet.
|
|
Top |
|
|
bobmyth
|
Posted: Wed Jan 31, 2018 10:32 pm |
|
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
|
Small progress. Creating these: Code: tmp/ tmp/cache tmp/cache/models tmp/cache/cache_group tmp/cache/persistent tmp/logs
made it so I could get this somewhat working: http://mythtv/zm/api/
|
|
Top |
|
|
nigelpearson
|
Posted: Sat Feb 17, 2018 1:13 am |
|
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location:
Sydney, Australia
|
I upgraded from 8.4.2 to 8.5.1 on Dec. 29, but after a recent power outage, couldn't use the frontend because database filesystem filled up. Some snooping revealed: Code: # ls -l /data/srv/mysql/zm total 1502980 -rw-rw---- 1 mysql mysql 8972 Jan 8 2017 Config.frm -rw-rw---- 1 mysql mysql 344064 Dec 29 15:56 Config.ibd -rw-rw---- 1 mysql mysql 8636 Jan 8 2017 ControlPresets.frm -rw-rw---- 1 mysql mysql 98304 Jan 8 2017 ControlPresets.ibd -rw-rw---- 1 mysql mysql 13106 Jan 8 2017 Controls.frm -rw-rw---- 1 mysql mysql 98304 Jan 8 2017 Controls.ibd -rw-rw---- 1 mysql mysql 61 Jan 8 2017 db.opt -rw-rw---- 1 mysql mysql 8662 Jan 8 2017 Devices.frm -rw-rw---- 1 mysql mysql 98304 Jan 8 2017 Devices.ibd -rw-rw---- 1 mysql mysql 9330 Jan 8 2017 Events.frm -rw-rw---- 1 mysql mysql 163840 Jan 8 2017 Events.ibd -rw-rw---- 1 mysql mysql 8980 Jan 8 2017 Filters.frm -rw-rw---- 1 mysql mysql 98304 Jan 8 2017 Filters.ibd -rw-rw---- 1 mysql mysql 8782 Jan 8 2017 Frames.frm -rw-rw---- 1 mysql mysql 147456 Jan 8 2017 Frames.ibd -rw-rw---- 1 mysql mysql 8628 Jan 8 2017 Groups.frm -rw-rw---- 1 mysql mysql 98304 Jan 8 2017 Groups.ibd -rw-rw---- 1 mysql mysql 8830 Jan 8 2017 Logs.frm -rw-rw---- 1 mysql mysql 1535115264 Feb 17 17:38 Logs.ibd ...
The thing is, I don't even use ZoneMinder. I don't think I have ever configured it. Is that normal? Thankfully, a Google revealed a fast way to fix this: Code: mysql -uroot zm truncate table Logs; quit but this might be a problem for other users?
_________________ | Nigel Pearson, nigel.pearson.au@gmail.com| "Things you own end up owning you" - Tyler, Fight Club
|
|
Top |
|
|
bobmyth
|
Posted: Sun Feb 18, 2018 10:22 pm |
|
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
|
nigelpearson wrote: The thing is, I don't even use ZoneMinder. I don't think I have ever configured it. Is that normal?
I'm not certain if this is normal as I usually configure zoneminder and set-up rules to automatically truncate events. I appreciate the suggestion, though.
|
|
Top |
|
|
brfransen
|
Posted: Mon Feb 19, 2018 8:09 am |
|
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location:
SC
|
I don't see anywhere that zoneminder is on by default. The user would have to specifically install it using either pacman or select it in LinHES Settings --> Programs.
|
|
Top |
|
|
bobmyth
|
Posted: Wed Apr 18, 2018 9:19 pm |
|
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
|
Small progress, I suspect a PHP package called php-uapc is missing, more information here. Maybe this will fix my problem? Can someone package this?
|
|
Top |
|
|
knappster
|
Posted: Thu Apr 19, 2018 6:20 am |
|
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 580
|
I dont mind trying to build it tomorrow evening if you dont mind installing something which is not yet in the linhes repository.
|
|
Top |
|
|
bobmyth
|
Posted: Thu Apr 19, 2018 9:05 pm |
|
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
|
Sure, let me know where to get it and give me a md5sum/sha256sum value and I'll give it a go. Thanks.
|
|
Top |
|
|
knappster
|
Posted: Fri Apr 20, 2018 8:39 pm |
|
Joined: Thu Sep 27, 2007 5:44 pm
Posts: 580
|
Fair warning... I have not even tried to install this, but I was able to get it to build: php-apcu 4.0.11 Download link: https://drive.google.com/open?id=1llK2X ... J9JxWeP4Y1md5sum: 9b66cec84fbb448201a3db2c381bf50e Don't hold me responsible for any problems you encounter! It looks like you may still need to enable it in configuration somewhere as well. Let me know if this helps. I have the PKGBUILD file I can submit for consideration in the repository.
|
|
Top |
|
|
bobmyth
|
Posted: Sun Apr 22, 2018 9:29 pm |
|
Joined: Wed Jan 18, 2006 8:36 pm
Posts: 199
|
I installed the package. I added the following line to /etc/php/php.ini: Code: extension=apcu.so to the "Dynamic Extensions" section. I restarted lighttpd. I created a script to run phpinfo() for me and I did see apcu in that output. I restarted zoneminder for good measure. Unfortunately, I still cannot view live video or recorded events. The search continues...
|
|
Top |
|
|