1.31.40 Upgrade error
Posted: Sat Mar 31, 2018 1:55 am
1.31.40~20180329122723-xenial
Linux Mint 18.3 Mariadb I ran zmupdate.pl and it corrected the problem
Setting up zoneminder (1.31.40~20180329122723-xenial) ...
MySQL/MariaDB not found; assuming remote server.
Done Updating; starting ZoneMinder.
Job for zoneminder.service failed because the control process exited with error code. See "systemctl status zoneminder.service" and "journalctl -xe" for details.
zoneminder.service couldn't restart.
Job for zoneminder.service failed because the control process exited with error code. See "systemctl status zoneminder.service" and "journalctl -xe" for details.
invoke-rc.d: initscript zoneminder, action "start" failed.
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2018-03-30 21:35:02 EDT; 4ms ago
Process: 18397 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
Main PID: 2711 (code=exited, status=0/SUCCESS)
Mar 30 21:35:02 server systemd[1]: Failed to start ZoneMinder CCTV recordin...m.
Mar 30 21:35:02 server systemd[1]: zoneminder.service: Unit entered failed ...e.
Mar 30 21:35:02 server systemd[1]: zoneminder.service: Failed with result '...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package zoneminder (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up intel-microcode (3.20180312.0~ubuntu16.04.1) ...
update-initramfs: deferring update (trigger activated)
intel-microcode: microcode will be updated at next boot
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.13.0-31-generic
Warning: No support for locale: en_US.utf8
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up zoneminder (1.31.40~20180329122723-xenial) ...
MySQL/MariaDB not found; assuming remote server.
Done Updating; starting ZoneMinder.
Job for zoneminder.service failed because the control process exited with error code. See "systemctl status zoneminder.service" and "journalctl -xe" for details.
zoneminder.service couldn't restart.
Job for zoneminder.service failed because the control process exited with error code. See "systemctl status zoneminder.service" and "journalctl -xe" for details.
invoke-rc.d: initscript zoneminder, action "start" failed.
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2018-03-30 21:35:39 EDT; 4ms ago
Process: 26339 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
Main PID: 2711 (code=exited, status=0/SUCCESS)
Mar 30 21:35:39 server systemd[1]: Failed to start ZoneMinder CCTV recordin...m.
Mar 30 21:35:39 server systemd[1]: zoneminder.service: Unit entered failed ...e.
Mar 30 21:35:39 server systemd[1]: zoneminder.service: Failed with result '...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package zoneminder (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zoneminder
Error in Log
Version mismatch, system is version 1.31.40, database is 1.31.39, please run zmupdate.pl to update.
Linux Mint 18.3 Mariadb I ran zmupdate.pl and it corrected the problem
Setting up zoneminder (1.31.40~20180329122723-xenial) ...
MySQL/MariaDB not found; assuming remote server.
Done Updating; starting ZoneMinder.
Job for zoneminder.service failed because the control process exited with error code. See "systemctl status zoneminder.service" and "journalctl -xe" for details.
zoneminder.service couldn't restart.
Job for zoneminder.service failed because the control process exited with error code. See "systemctl status zoneminder.service" and "journalctl -xe" for details.
invoke-rc.d: initscript zoneminder, action "start" failed.
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2018-03-30 21:35:02 EDT; 4ms ago
Process: 18397 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
Main PID: 2711 (code=exited, status=0/SUCCESS)
Mar 30 21:35:02 server systemd[1]: Failed to start ZoneMinder CCTV recordin...m.
Mar 30 21:35:02 server systemd[1]: zoneminder.service: Unit entered failed ...e.
Mar 30 21:35:02 server systemd[1]: zoneminder.service: Failed with result '...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package zoneminder (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up intel-microcode (3.20180312.0~ubuntu16.04.1) ...
update-initramfs: deferring update (trigger activated)
intel-microcode: microcode will be updated at next boot
Processing triggers for initramfs-tools (0.122ubuntu8.11) ...
update-initramfs: Generating /boot/initrd.img-4.13.0-31-generic
Warning: No support for locale: en_US.utf8
Errors were encountered while processing:
zoneminder
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up zoneminder (1.31.40~20180329122723-xenial) ...
MySQL/MariaDB not found; assuming remote server.
Done Updating; starting ZoneMinder.
Job for zoneminder.service failed because the control process exited with error code. See "systemctl status zoneminder.service" and "journalctl -xe" for details.
zoneminder.service couldn't restart.
Job for zoneminder.service failed because the control process exited with error code. See "systemctl status zoneminder.service" and "journalctl -xe" for details.
invoke-rc.d: initscript zoneminder, action "start" failed.
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2018-03-30 21:35:39 EDT; 4ms ago
Process: 26339 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
Main PID: 2711 (code=exited, status=0/SUCCESS)
Mar 30 21:35:39 server systemd[1]: Failed to start ZoneMinder CCTV recordin...m.
Mar 30 21:35:39 server systemd[1]: zoneminder.service: Unit entered failed ...e.
Mar 30 21:35:39 server systemd[1]: zoneminder.service: Failed with result '...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package zoneminder (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zoneminder
Error in Log
Version mismatch, system is version 1.31.40, database is 1.31.39, please run zmupdate.pl to update.