geerlingguy / pi-nvr

Raspberry Pi NVR for home CCTV recording.
209 stars 22 forks source link

Get Zoneminder working #2

Open geerlingguy opened 1 year ago

geerlingguy commented 1 year ago

Currently getting:

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'America/Chicago'' where Name = 'ZM_TIMEZONE'' at line 1

Had the following in Docker Compose:

    environment:
      - TZ='America/Chicago'
geerlingguy commented 1 year ago

Changed it to TZ=America/Chicago (removed the single quotes), and that seems to have helped.

geerlingguy commented 1 year ago

Well it runs... but all I'm getting is the Apache default page:

Screen Shot 2022-09-26 at 7 56 58 PM
geerlingguy commented 1 year ago

Going to pause testing on Zoneminder and revert back to seeing if I can get shenobi working. https://github.com/geerlingguy/pi-nvr/issues/1

rejcomp commented 1 year ago

I think the zoneminder webpage should be at http://dvr.local/zm

I've been playing with zm in a virtual machine on my laptop in the hopes I could replace ispy on my Xeon workstatiion. Thought about using a pi to cut power usage but thought motion detection on several cameras would be a bit much. It might be possible to use a multiple pi server configuration to do it from the documentation here https://zoneminder.readthedocs.io/en/stable/installationguide/multiserver.html but I don't have multiple pi's and they, as you know, are hard to come by.

I also run a rtsp proxy server on the Xeon to centralize the addresses to one IP and take the connection limits off the cameras. Obviously I'm using the windows version but it seems to run on Linux, https://github.com/aler9/rtsp-simple-server

Been a YouTube sub for a while and had thought about leaving a comment about this but thought it wouldn't be seen, so pleasantly surprised when I googled "pi NVR" and this came up.

Anyway hope my ramblings are useful.