zmupdate.pl - Man Page

check and upgrade ZoneMinder database

Synopsis

zmupdate.pl -c,--check | -f,--freshen | -v<version>,--version=<version> [-u <dbuser> -p <dbpass>]

Description

This script checks what the most recent release of ZoneMinder is at the the moment by downloading https://update.zoneminder.com/version.txt. It can also apply and configure upgrades etc, including on the fly upgrades.

Options

 -c, --check                       - Check for updated versions of ZoneMinder. 
                                     If not interactive zmupdate.pl will stay running, checking every hour.
                                     If interactive will try once, print out result and quit.
 -f, --freshen                     - Freshen the configuration in the database. Equivalent of old zmconfig.pl -noi
 --migrate-events                  - Update database structures as per USE_DEEP_STORAGE setting.
 -v <version>, --version=<version> - Force upgrade to the current version from <version>
 -u <dbuser>, --user=<dbuser>      - Alternate DB user with privileges to alter DB
 -p <dbpass>, --pass=<dbpass>      - Password of alternate DB user with privileges to alter DB
 -s, --super                       - Use system maintenance account on debian based systems instead of unprivileged account
 -d <dir>, --dir=<dir>             - Directory containing update files if not in default build location
 -interactive                      - interact with the user
 -nointeractive                    - do not interact with the user

Info

2026-02-21 zoneminder