Zoneminder on 1.18

    • Offizieller Beitrag

    I don't think so. It never drops back down?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • 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_Drive


    In the zoneminder wiki they are editing etc/fstab:

    Code
    Add 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

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

    • Offizieller Beitrag

    @jhmiller, you should put the updated package in the repo :)

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • 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.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • 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.PNG


    Means 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?

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Change /cgi-bin/nph-zms to /zm/cgi-bin/nph-zms restart ZM and try again.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • 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??

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Can you check the permissions on /var/run/zm and the files inside that folder.


    This is what I get

    Code
    drwxr-xr-x  2 www-data    www-data    100 Dec 12 21:49 zm


    Code
    srwxr-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

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • I use hashed authentication, I just tried swapping to plain authentication and got the same errors again maybe that could be the issue??

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!