Commit Graph
191 Commits
Author SHA1 Message Date
Steve GilvarryandClaude Opus 5 be9a98d856 docs: correct the macOS guide against a real install refs #4998
The guide was written from a verified build and install, but the steps
past that point were derived from the Debian packaging rather than run.
Working through them on Apple Silicon to a running system turned up
three things that were wrong or missing.

mysql -u root does not work. A Homebrew MariaDB authenticates root with
the unix_socket plugin, so only the operating system's root matches it;
your own account gets the administrative account, which is what plain
mariadb uses.

Nothing said ZoneMinder has to be started as ZM_WEB_USER. zmpkg.pl
compares the current user against it and tries sudo -u and two forms of
su to become it, all of which fail for an ordinary user, and stops with
"Unable to find valid su syntax". systemd hides this on Linux by
starting the unit as the web user. Now says so, and gives the
workstation alternative of running everything as one account.

The web server section did not mention that zms is a CGI binary. Apache
runs those with mod_cgi; nginx needs a wrapper such as fcgiwrap, which
Homebrew does not package, so with nginx alone the console works and
live streams do not. Also noted that the generated samples reference
/etc/pki, /etc/nginx and /run/fcgiwrap.sock, none of which exist here.

Added the hardcoded taint-safe PATH to the known gaps, since it is what
breaks zmupdate.pl on Apple Silicon: seventeen scripts pin
/bin:/usr/bin:/usr/local/bin, so the database client in the Homebrew
prefix cannot be found. Worth making configurable - it would equally
affect a --prefix=/opt install on Linux. Sys::CPU is listed too; it has
been removed from CPAN and only zmtelemetry.pl uses it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B5KL9Xbi7K5aGsauLtd8tG
2026-09-13 12:50:36 +10:00
Steve GilvarryandClaude Opus 5 9ef8c2a17c docs: describe the launchd job in the macOS guide refs #4998
Replaces the "there is no launchd job yet" note with how to install and
load the generated one, and why unloading it does not stop ZoneMinder.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B5KL9Xbi7K5aGsauLtd8tG
2026-09-12 22:19:09 +10:00
Steve GilvarryandClaude Opus 5 da331916c8 docs: add a macOS installation guide refs #4998
ZoneMinder now builds and installs on macOS, but the steps that make it
work existed nowhere. The installation guide has pages for Debian,
Ubuntu, Redhat and WSL, and nothing for macOS.

Covers the parts that are not guessable, each one walked through on a
real machine rather than reasoned about:

- Sys::Mmap, Date::Manip and a DBD driver are missing from the Perl Apple
  ships, and configure only warns, so it is easy to get a clean build and
  a system whose Perl daemons cannot read monitor state at all. A
  Homebrew Perl additionally needs DBI and LWP::UserAgent, since it has
  none of the extras Apple bundles.
- DBD::MariaDB does not install without help. mysql_config hands its
  configure step -lzstd -lssl -lcrypto, but a Homebrew Perl's ldflags
  carry no -L for the Homebrew prefix, so it fails with "Can't
  link/include C library 'zstd', 'ssl', 'crypto', aborting". The guide
  gives the --libs and --cflags that get it through.
- ZoneMinder's Perl modules land in vendorlib and survive Perl upgrades;
  the CPAN modules land in sitelib, which resolves into the Cellar and
  does not. Worth knowing before an upgrade quietly breaks the daemons.
- ZM_NO_MMAP is not a way around Sys::Mmap. macOS caps SysV shared memory
  at 4 MiB per segment across 8 segments, and a 1080p RGB frame does not
  fit in one.
- mysql-client is keg-only, so the build needs an explicit -I or it stops
  at "'mysql/mysql.h' file not found".
- Nothing creates the runtime directories. On Linux the package does it.
- The test binary has to run from build/tests, because zm_font.cpp loads
  its fixtures by relative path.
- zmpkg.pl falls back to zmdc.pl without systemd, so there is a way to
  start ZoneMinder before a launchd plist exists.

Honest about what is missing rather than papering over it: no plist, no
Homebrew formula, no log rotation, no local cameras, and the arp-scan and
ip warnings configure emits. Also separates Homebrew's prefix from
ZoneMinder's install prefix, which differ on Apple Silicon and are easy
to conflate.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B5KL9Xbi7K5aGsauLtd8tG
2026-09-12 22:11:44 +10:00
Jash 5f8e99f05f docs: note the render group for vaapi and qsv decoding fixes #4205 2026-08-30 01:53:35 +05:30
alex-s-iv b6197c02b7 Update packpack.rst
Added -- recursive to git clone operation.
Specified correct command cd ./zoneminder
2026-06-21 22:39:08 +03:00
Isaac ConnorandClaude Opus 4.6 9f702cb315 docs: add video group setup to Debian/Ubuntu install guides refs #4642
Document the need to add www-data to the video group for local camera
access. The package postinst now does this automatically, but source
installs still require the manual step.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:19:20 -05:00
Isaac Connor 0234a43ff0 easoydocker is deprecated 2025-11-06 18:40:13 -05:00
Isaac Connor f826f606bc Need a blank line to make toctree valid. 2025-11-06 18:40:13 -05:00
Wyn Williams e81cca5c37 Update easydocker.rst
Edited to remove info and links to easy docker, file left in place so as to not break any guides or links to it.
2025-08-06 21:39:27 +03:00
Wyn Williams 4c1df8a80e Update packpack.rst
Removed link to now depreciated easy docker images
2025-08-06 21:32:37 +03:00
Wyn Williams d407f3dbcf Update easydocker.rst
added a warning to not use these docker images in production
2025-08-06 21:31:13 +03:00
Wyn Williams 51145d3560 Update index.rst
removed easy docker reference
2025-08-06 21:28:10 +03:00
Isaac Connor 9cf68eb83d Fix typo. Fixes #3457 2025-07-14 12:03:12 -07:00
Isaac Connor f1cab94091 Add mysql install and db creation to Jammy instructions. Add a couple hints that it also applies to newer. Fixes #4185 2024-11-12 06:56:16 -05:00
unbroken75 ea1fd08780 Update debian.rst 2024-09-22 16:15:27 +02:00
robertsilen 1b526e1053 add mariadb 2024-08-19 12:57:40 +03:00
Isaac Connor 9442259d8d Merge pull request #4113 from beltphed/patch-1
Update debian.rst -- fix redirect of stdout in sudo
2024-08-18 12:50:07 -04:00
beltphed aa892e69d0 Update debian.rst
Failing to install apache2 results in subsequent calls to a2enconf and a2enmod failing because they might not have been installed. (in my case, I was using a minimal Debian 12 install which doesn't install apache2)
2024-08-16 19:55:49 -07:00
beltphed f94fc05966 Update debian.rst
As written, you can't redirect sudo output as desired. Wrapping the "echo deb..." in quotes will permit a regular user to redirect stdout to /etc/apt/sources.list
2024-08-16 16:47:54 -07:00
Aktarus fbd7ad533f Update debian.rst, enable autostart of ZM at boot
added one line to enable autostart of ZM at boot
2024-08-04 15:23:38 +02:00
Jason Antman e720b5f5b1 docs: debian 12 install needs a2enmod cgi 2023-10-13 06:56:17 -04:00
Alejandro Criado-Pérez a5d83e61b4 Corrections on rst files 2023-08-13 01:20:29 +02:00
Isaac Connor 551f579501 Remove chowning /usr/share/zoneminder. Its bad. 2023-06-12 13:27:53 -04:00
Isaac Connor e18fed2576 Spelling, fix missing db in database create for bullseye, add bookworm instructions 2023-06-12 11:53:21 -04:00
Isaac Connor 4bf258b7ea Add the other submodule tarballs 2023-06-06 11:24:22 -04:00
Christophe WEILAND ab4c0470a0 Remove password from shell command line
Security leak 
Never type a password on a shell
2023-05-22 15:47:28 +02:00
Papiris 3ac370c005 Update Redhat.rst to reflect armv7 non-support
Fedora 36 is the last release to support armv7 architecture.
Fedora non-support: https://fedoraproject.org/wiki/Changes/RetireARMv7
PIs with armv7: https://en.wikipedia.org/wiki/Raspberry_Pi
EOL date: https://www.lansweeper.com/eol/fedora-linux-end-of-life/
2023-05-07 19:27:13 +00:00
Andrew Bauer 3c59bf41ac Update redhat.rst 2023-03-31 10:35:54 -05:00
Andrew Bauer ac388fbf4a Update redhat.rst 2023-03-31 10:28:31 -05:00
Andrew Bauer ce92b14247 Update redhat.rst
supersedes pr#3680

Remove mention of centos. 
Deprecate rhel 7.
Lowercase powertools
mention crb repo for rhel 9
2023-03-31 09:38:08 -05:00
Alex Jiang c693268b87 Update ubuntu.rst 2023-02-14 18:10:54 +00:00
bradnewfield 3cf8954878 Corrected code block syntax 2023-01-17 06:08:51 +13:00
Alejandro 61bb654eb5 removed permissions change on Ubuntu installation 2022-12-12 17:14:23 +01:00
Alejandro 80b01331db Debian 2022-12-12 13:08:57 +01:00
Alejandro 4536cd31bf added Ubuntu 22.04 install instructions (verified) 2022-12-12 13:07:05 +01:00
Alejandro 969c0c5841 code not marked as code and appeared as plain text 2022-12-12 12:00:43 +01:00
Alejandro 9666ddf030 Added debian backports option to install a newer version of Zoneminder 2022-12-06 14:26:41 +01:00
anon8675309 7edbff038f Update debian.rst
Improve installation instructions for Debian 11 (bullseye) #3467
2022-04-24 22:49:38 -05:00
anon8675309 3236a50d9f Improve installation instructions for Debian 11 (bullseye) #3467 2022-04-24 21:16:41 -05:00
Uve M Steinmann a332bbbbc9 Added missing steps to Debian 11 installion docs 2022-04-22 21:55:07 -03:00
Jeremy Davis 63b3042d37 fix typo 2022-02-02 14:18:26 +11:00
Jeremy Davis ad0a095886 Update MariaDB Bullseye info
Specifically note that setting a root password is not required (or recommended; unix socket authentication is better than simple password auth).
2022-02-02 11:35:36 +11:00
Isaac Connor 1f19ad7c9d fix by removing code block 2021-11-29 13:49:07 -05:00
Isaac Connor 01f4aee450 Fix underline 2021-11-29 13:49:07 -05:00
Alejandro Criado-Pérez 1e71300a3b added Debian installation instructions 2021-09-30 01:15:45 +02:00
criadoperez e462c23115 updated dlandon repository name 2021-09-29 16:46:04 +02:00
criadoperez 9f683c0c91 Removed default-file parameter that is deprecated 2021-09-29 14:14:25 +02:00
criadoperez 8554ccd649 Added Debian 11 (bullseye) installation 2021-09-29 12:26:15 +02:00
5472qaywsx a7f13c82d5 Docs: Fix a typo (#3358) 2021-09-20 14:04:07 +02:00
Peter Keresztes Schmidt cce4b0aac4 docs: Reference current 1.36 version in installation instructions 2021-08-03 23:33:35 +02:00