Jump to content

fonz88

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by fonz88

  1. Does anyone have a nginx conf file they can share that's working? Currently I'm using the following that works but not when it comes to notifications via ZMNinja:

     

    # make sure that your dns has a cname set for zoneminder or zm or cctv

     

    server {

        listen 443 ssl;

        listen [::]:443 ssl;

        server_name zoneminder.*;

        include /config/nginx/ssl.conf;

        client_max_body_size 0;

        location /zm {

            include /config/nginx/proxy.conf;

            proxy_pass https://IPADDRESSOFYOURSERVER:8443/zm;

        }

    }

     

    I believe it doesn't work since the ES engine works on port 9000 (which I have configured on my router) and via wss/ which I believe needs to be added to the conf file.

     

    Hoping someone can share what they have working. Thanks!

  2. On 7/11/2020 at 6:07 AM, Cad DIk said:

    @ridewithjoe - Did you ever manage to find the .conf setting? (having the same problems - although i'm looking for subfolder.conf) 

    You'll just have to create the .conf using the following..

     

    server {
        listen 443 ssl;
        listen [::]:443 ssl;

        server_name zoneminder.*;

        include /config/nginx/ssl.conf;

        client_max_body_size 0;

        location /zm {
            include /config/nginx/proxy.conf;
            proxy_pass https://IPADDRESSOFYOURSERVER:8443/zm;
        }
    }

     

    I was having trouble finding it too but found it on this post and currently using it.

  3. On 6/30/2020 at 5:28 PM, dlandon said:

    You need to move the data, but you can't just move Events.  You need to move the complete data/ folder.  The database will be out of synch if you don't.

     

    I would:

    - Remove the Docker.

    - Move the data/ folder to your UD Disk.

    - Reinstall the Docker and map the data to your UD disk.

    Thanks.. I was able to get the data moved over with the directions you posted. The only thing now is that I'm having some issues with zmNinja and being notified via notifications. I can view my monitors and events but not getting any type of notification. I've been reading the documentation for zmNinja and see that that tokens.txt file under the Zoneminder appdata folder is empty. One thing I noticed when running logging using 'sudo -u www-data /usr/bin/zmeventnotification.pl' is that I get a message saying 'ESCONTROL_INTERFACE is disabled. Not saving control data'. 

     

    CONSOLE INF:2020-07-05,16:58:09 PARENT: Push enabled via FCM
    07/05/20 16:58:09.966756 zmeventnotification[3910].INF [main:888] [PARENT: Push enabled via FCM]
    CONSOLE INF:2020-07-05,16:58:09 PARENT: MQTT Disabled
    07/05/20 16:58:09.970719 zmeventnotification[3910].INF [main:888] [PARENT: MQTT Disabled]
    CONSOLE INF:2020-07-05,16:58:09 PARENT: |------- Starting ES version: 5.15-Docker ---------|
    07/05/20 16:58:09.975204 zmeventnotification[3910].INF [main:888] [PARENT: |------- Starting ES version: 5.15-Docker ---------|]
    CONSOLE DBG-1:2020-07-05,16:58:09 PARENT: Started with: perl:/usr/bin/perl and command:/usr/bin/zmeventnotification.pl
    Can't ignore signal CHLD, forcing to default.
    CONSOLE DBG-1:2020-07-05,16:58:10 PARENT: ES invoked via ZMDC. Will exit when needed and have zmdc restart it
    CONSOLE DBG-2:2020-07-05,16:58:10 PARENT: Parent<--Child pipe ready
    CONSOLE INF:2020-07-05,16:58:10 PARENT: Event Notification daemon v 5.15-Docker starting

    07/05/20 16:58:10.059434 zmeventnotification[3910].INF [main:888] [PARENT: Event Notification daemon v 5.15-Docker starting]
    CONSOLE DBG-1:2020-07-05,16:58:10 PARENT: Initializing FCM tokens...
    CONSOLE DBG-1:2020-07-05,16:58:10 PARENT: Total event client connections: 0

    CONSOLE INF:2020-07-05,16:58:10 PARENT: Re-loading monitors
    07/05/20 16:58:10.063915 zmeventnotification[3910].INF [main:888] [PARENT: Re-loading monitors]
    CONSOLE DBG-1:2020-07-05,16:58:10 PARENT: Loading Garage
    CONSOLE DBG-1:2020-07-05,16:58:10 PARENT: Loading Side
    CONSOLE DBG-1:2020-07-05,16:58:10 PARENT: Loading Backyard
    CONSOLE DBG-1:2020-07-05,16:58:10 PARENT: ESCONTROL_INTERFACE is disabled. Not saving control data
    CONSOLE DBG-2:2020-07-05,16:58:10 PARENT: checkEvents() new events found=0
    CONSOLE DBG-2:2020-07-05,16:58:10 PARENT: About to start listening to socket
    CONSOLE INF:2020-07-05,16:58:10 PARENT: Secure WS(WSS) is enabled...
    07/05/20 16:58:10.070499 zmeventnotification[3910].INF [main:888] [PARENT: Secure WS(WSS) is enabled...]
    CONSOLE INF:2020-07-05,16:58:10 PARENT: Web Socket Event Server listening on port 9000
    07/05/20 16:58:10.074509 zmeventnotification[3910].INF [main:888] [PARENT: Web Socket Event Server listening on port 9000]
    CONSOLE DBG-2:2020-07-05,16:58:15 PARENT: ---------->Tick START<--------------
    CONSOLE DBG-2:2020-07-05,16:58:15 PARENT: There are 0 active child forks...
    CONSOLE DBG-2:2020-07-05,16:58:15 PARENT: checkEvents() new events found=0
    CONSOLE DBG-2:2020-07-05,16:58:15 PARENT: There are 0 new Events to process
    CONSOLE DBG-2:2020-07-05,16:58:15 PARENT: ---------->Tick END<--------------
    CONSOLE DBG-2:2020-07-05,16:58:20 PARENT: ---------->Tick START<--------------
    CONSOLE DBG-2:2020-07-05,16:58:20 PARENT: There are 0 active child forks...
    CONSOLE DBG-2:2020-07-05,16:58:20 PARENT: checkEvents() new events found=0
    CONSOLE DBG-2:2020-07-05,16:58:20 PARENT: There are 0 new Events to process
    CONSOLE DBG-2:2020-07-05,16:58:20 PARENT: ---------->Tick END<--------------

     

     

  4. I have everything setup and currently only testing with one camera (only have a total of 4) but I would like to store data to an unassigned 3TB drive instead of my 500gb ssd cache. I'm not finding any documentation on how to change the storage. I tried under Settings and Storage but it's not seeing the unassigned drive. I then modified the container "Data Path" and was not able to launch the URL. Do I need to move the current data from /mnt/user/appdata/Zoneminder/data/ to the unassigned disk then make the change to the container? I would like to just move the 'Events' folder to the unassigned disk if possible.

  5. On 2/24/2019 at 8:29 PM, Mlatx said:

    Thanks.  I did some more research and got a working zoneminder.subdomain.conf file (I am using my own subdomain).

     

    I have the following:

     

    server {
        listen 443 ssl;
        listen [::]:443 ssl;

        server_name zoneminder.*;

        include /config/nginx/ssl.conf;

        client_max_body_size 0;

        location /zm {
            include /config/nginx/proxy.conf;
            proxy_pass https://IPADDRESSOFYOURSERVER:8443/zm;
        }
    }
     

    Just wanted to say Thanks for providing this .conf output! I was able to use it and now have it configured to use with zmNinja away from home.

×
×
  • Create New...