I installed zm following the instructions in https://zoneminder.readthedocs.io/en/la ... buntu.html .
Ubuntu 22.04
zm 1.36 from ubuntu repository
When i try
Code: Select all
systemctl status zoneminder.service
Code: Select all
Feb 16 10:55:49 pt-t430 zmpkg[8707]: ERR [Error reconnecting to db: errstr:Unknown database 'zm' error val:]
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: Unable to connect to DB. ZM Cannot continue.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: Compilation failed in require at /usr/bin/zmpkg.pl line 34.
Feb 16 10:55:49 pt-t430 zmpkg.pl[8707]: BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
Feb 16 10:55:50 pt-t430 systemd[1]: zoneminder.service: Control process exited, code=exited, status=255/EXCEPTION
Feb 16 10:55:50 pt-t430 systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Feb 16 10:55:50 pt-t430 systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
When i try
Code: Select all
http://localhost/zm/
Code: Select all
Fatal error: Uncaught TypeError: array_replace(): Argument #1 ($array) must be of type array, bool given in /usr/share/zoneminder/www/includes/config.php:52 Stack trace: #0 /usr/share/zoneminder/www/includes/config.php(52): array_replace() #1 /usr/share/zoneminder/www/index.php(46): require_once('...') #2 {main} thrown in /usr/share/zoneminder/www/includes/config.php on line 52
Any help?
Thank you for all answers
Peter