I don't think so. It never drops back down?
Zoneminder on 1.18
-
- OMV 1.0
- supernerd2004
-
-
Hello,
a year ago i have build successfully with git instructions from cptjhmiller.
(https://github.com/cptjhmiller/omv-zoneminder)
but currently i get the followiing error:
Generating 'src/zm_config_defines.h'
Updating 'db/zm_create.sql'
-- ZoneMinder configuration generator completed successfully
-- Configuring incomplete, errors occurred!
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON -DCMAKE_VERBOSE_MAKEFILE=OFF -DCMAKE_COLOR_MAKEFILE=ON -DZM_RUNDIR=/var/run/zm -DZM_SOCKDIR=/var/run/zm -DZM_TMPDIR=/var/tmp/zm -DZM_LOGDIR=/var/log/zm -DZM_WEBDIR=/usr/share/zoneminder -DZM_CONTENTDIR=/var/cache/zoneminder -DZM_CGIDIR=/usr/lib/cgi-bin -DZM_WEB_USER=www-data -DZM_WEB_GROUP=www-data -DZM_PERL_SUBPREFIX=/usr/lib/perl5 -DCMAKE_INSTALL_SYSCONFDIR=etc/zm returned exit code 1
make[1]: *** [override_dh_auto_configure] Fehler 2
make[1]: Leaving directory `/home/ZoneMinder'
make: *** [build] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2
root@vault:/home/ZoneMinder#(https://github.com/ZoneMinder/ZoneMinder)
i also tried to build form ZoneMinder (standalone):
make[1]: Leaving directory `/home/Zone'
debian/rules override_dh_install
make[1]: Entering directory `/home/Zone'
dh_install --fail-missing
dh_install: usr/lib/perl/5.14/perllocal.pod exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/perl5/auto/ZoneMinder/.packlist exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting
make[1]: *** [override_dh_install] Fehler 2
make[1]: Leaving directory `/home/Zone'
make: *** [binary] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules binary war 2
root@vault:/home/Zone#I want to use the new Flat WebUI i think its only included in 1.28.1 (But could be wrong)
any idea?
Regards
-
That section says it all, you need to run that before building.
I think this if to do with the new API they are brining to Zoneminder. I want to setup a VM and check the changes before updating the guide.
-
Perfect its working! Thanks alot!
(Have not found this post...)May i ask a additional question:
Whats the best practice to use a deticated harddrive with zoneminder in openmediavault?
https://wiki.zoneminder.com/Using_a_dedicated_Hard_DriveIn the zoneminder wiki they are editing etc/fstab:
CodeAdd these lines in fstab to bind-mount an alternate location: /dev/sdX1 /newdrive ext3 defaults 0 2 /newdrive/zoneminder/images /var/cache/zoneminder/images none defaults,bind 0 2 /newdrive/zoneminder/events /var/cache/zoneminder/events none defaults,bind 0 2
How can i achieve an fstab entry in openmediavault?
In the past i used symlinks but its not a good practice because they will get deleted after update.. so you can easily lose all events.
Regards
Tristan -
Updated the build guide.
It will now install everything needed to get the new API working as I wanted to test the new android app (needs the API)
It will also stop using port 81 and instead use IP/zm/
I had 1 issue when upgrading my production server where it failed to update the database, this was resolved by manually sending the command (it shows it) as the root owner of MySQL.
If you do install the update check out the desktop API app
https://github.com/pliablepixels/zmNinja#desktop-platforms -
-
I will do when 1.29 is released as that is the next milestone. The API has only just been added and that is mainly to check with users to see what may need changing.
Also there is a very minor bug in CakePHP (used for the API)
"URL rewriting is not properly configured on your server. 1) Help me configure it 2) I don't / can't use URL rewriting"
This is displayed on the API page but does not appear to affect the API commands. If I can fix that I will add 1.28.xxx to the repo. -
-
Have you tried to follow the wiki instructions? As long as you add the entries outside of the OMV tags in fstab they will be permanent.
When you set permissions remember to use www-data and not apache. -
Hello,
fstab entry outside OMV tags worked well.
Zoneminder up and running, API also working.But LIVEVIEW is not longer working: https://dl.dropboxusercontent.com/u/13344648/liveview.PNG
i tried this on different machines and also on a clean OMV install in Virtual Machine.
always encounter the following error in zoneminder Log:
https://dl.dropboxusercontent.…648/zm_liveViewIssue2.PNG
https://dl.dropboxusercontent.…4648/zm_liveViewIssue.PNGMeans PHP could not create the socket to stream the livefeed.
Seems to be caused by the new nginx settings for zoneminder
Any Idea or direction how to fix this?
-
What do you have for PATH_ZMS in options>Paths?
Your screen shots do not look like mine, what skin are you using?
-
For this Skin go to Settings => Display => ZM_CSS = flat
Here are my PATH settings (they are vanilla):
https://dl.dropboxusercontent.com/u/13344648/PATH.PNG -
Change /cgi-bin/nph-zms to /zm/cgi-bin/nph-zms restart ZM and try again.
-
changed PATH_ZMS to /zm/cgi-bin/nph-zms
unfortunately still the same behavior
https://dl.dropboxusercontent.…648/zm_liveViewIssue4.PNG
https://dl.dropboxusercontent.…648/zm_liveViewIssue5.PNG -
Are you sure you restarted?
If I use /zm/cgi-bin/nph-zms everything works ok but if I use /cgi-bin/nph-zms I get the same error as you.Maybe try restarting the whole system??
-
what i did in detail:
1.) change PATH_ZMS via WebUI to /zm/cgi-bin/nph-zms
2.) "service zoneminder stop", "/usr/bin/zmpkg.pl stop"
3.) "service zoneminder start", "/usr/bin/zmpkg.pl start"
- same behavior
4.) reboot
- same behaviorto be absolutely i tried it on another system to.
https://dl.dropboxusercontent.…648/zm_liveViewIssue6.PNGregards
tristan -
Can you check the permissions on /var/run/zm and the files inside that folder.
This is what I get
Codesrwxr-xr-x 1 www-data www-data 0 Dec 12 18:18 zmdc.sock -rw-r--r-- 1 www-data www-data 4 Dec 12 18:18 zm.pid srwxr-xr-x 1 www-data www-data 0 Dec 12 21:47 zms-654913s.sock srwxr-xr-x 1 www-data www-data 0 Dec 12 21:48 zms-654913w.sock
Also worth checking the /var/tmp/zm folder
-
both folders
/var/run/zm
/var/tmp/zm
have the same permissions:
https://dl.dropboxusercontent.com/u/13344648/permissions.PNG~# ls -l /var/run/zm/
insgesamt 4
srwxr-xr-x 1 www-data www-data 0 Dez 12 21:55 zmdc.sock
-rwxr-xr-x 1 www-data www-data 5 Dez 12 21:55 zm.pidthis socket files are missing.. but no log message from zoneminder why they could not be created?
-
I use hashed authentication, I just tried swapping to plain authentication and got the same errors again maybe that could be the issue??
-
AUTH_RELAY = hashed
https://dl.dropboxusercontent.com/u/13344648/system.PNGDebug Log no help:
https://dl.dropboxusercontent.…3344648/zm_debug.log.4951regards
Tristan
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!