JesperPersson

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by JesperPersson

  1. Hi, This error is in my log every second, I don't believe it was there but didn't look at logs to much before updating to UnRAID v6.9. ErrorWarningSystemArrayLogin Mar 8 11:12:25 Tower emhttpd: error: get_key_info, 579: Invalid argument (22): get_message: /boot/config/BTRS.key (-3) Mar 8 11:12:26 Tower emhttpd: error: get_key_info, 579: Invalid argument (22): get_message: /boot/config/BTRS.key (-3) Mar 8 11:12:27 Tower emhttpd: error: get_key_info, 579: Invalid argument (22): get_message: /boot/config/BTRS.key (-3) Mar 8 11:12:28 Tower emhttpd: error: get_key_info, 579: Invalid argument (22): get_message: /boot/config/BTRS.key (-3) Mar 8 11:12:29 Tower emhttpd: error: get_key_info, 579: Invalid argument (22): get_message: /boot/config/BTRS.key (-3) Mar 8 11:12:30 Tower emhttpd: error: get_key_info, 579: Invalid argument (22): get_message: /boot/config/BTRS.key (-3)
  2. Hi again, I tried what it said: in the ReadMe " Troubleshooting when the docker fails If you have a situation where the docker fails to start, you can set an environemtnt variable when the docker is started and MySql and Zoneminder will not be started. This will keep the docker running so you can get into a command line in the docker and troubleshoot the problem. Create an environment variable: NO_START_ZM="1" MySql and Zoneminder will not be started. Get into a command line in the docker and troubleshoot your issue by using the following commands to start MySql and zonemonder and fix any errors/problems with them starting. service mysql start service zoneminder start " Didn't get any more information then the "fail"
  3. Still no luck, tested the https://github.com/dlandon/zoneminder.unraid, here is the results: root@xxxx:/# service mysql start * Starting MariaDB database server mysqld [fail] root@xxxx:/# service mysql start * Starting MariaDB database server mysqld [fail] root@xxxx:/# service zoneminder start Starting ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. 02/01/21 11:28:52.199797 zmpkg[2572].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] 02/01/21 11:28:52.200061 zmpkg[2572].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. 02/01/21 11:28:52.200388 zmpkg[2572].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147. Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33. Compilation failed in require at /usr/bin/zmpkg.pl line 34. BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34. ZoneMinder failed to start
  4. Thank you for assisting! *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... *** Running /etc/my_init.d/05_set_the_time.sh... Setting the timezone to : Europe/Berlin Current default time zone: 'Europe/Berlin' Local time is now: Mon Feb 1 09:40:19 CET 2021. Universal Time is now: Mon Feb 1 08:40:19 UTC 2021. Date: Mon Feb 1 09:40:20 CET 2021 *** Running /etc/my_init.d/06_set_php_time.sh... *** Running /etc/my_init.d/07_set_dri_permissions.sh... Granting permissions on /dev/dri/* devices... *** Running /etc/my_init.d/10_syslog-ng.init... Feb 1 09:40:20 618a71471b35 syslog-ng[38]: syslog-ng starting up; version='3.25.1' *** Running /etc/my_init.d/20_apt_update.sh... Performing updates... Hit:1 http://ppa.launchpad.net/iconnor/zoneminder-1.34/ubuntu focal InRelease Hit:2 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB] Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease Get:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main Sources [454 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted Sources [11.7 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Sources [11.1 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe Sources [184 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [921 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1005 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [21.1 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [194 kB] Get:15 http://security.ubuntu.com/ubuntu focal-security/universe Sources [55.4 kB] Get:16 http://security.ubuntu.com/ubuntu focal-security/main Sources [151 kB] Get:17 http://security.ubuntu.com/ubuntu focal-security/restricted Sources [10.4 kB] Get:18 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [161 kB] Get:19 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [598 kB] Get:20 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [659 kB] Fetched 4760 kB in 7s (713 kB/s) Get:19 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [598 kB] Get:20 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [659 kB] Fetched 4760 kB in 7s (713 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: base-files language-pack-en language-pack-en-base libglib2.0-0 libglib2.0-bin libglib2.0-data python-apt-common python3-apt tzdata 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 2334 kB of archives. After this operation, 17.4 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 base-files amd64 11ubuntu5.3 [60.6 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 language-pack-en all 1:20.04+20210121 [1896 B] Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 language-pack-en-base all 1:20.04+20210121 [442 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-data all 2.64.6-1~ubuntu20.04.1 [6120 B] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-bin amd64 2.64.6-1~ubuntu20.04.1 [72.6 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-0 amd64 2.64.6-1~ubuntu20.04.1 [1284 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 tzdata all 2021a-0ubuntu0.20.04 [295 kB] Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 python-apt-common all 2.0.0ubuntu0.20.04.4 [17.4 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-apt amd64 2.0.0ubuntu0.20.04.4 [154 kB] Preconfiguring packages ... Preconfiguring packages ... Fetched 2334 kB in 4s (644 kB/s) Preparing to unpack .../base-files_11ubuntu5.3_amd64.deb ... Preparing to unpack .../base-files_11ubuntu5.3_amd64.deb ... Unpacking base-files (11ubuntu5.3) over (11ubuntu5.2) ... Setting up base-files (11ubuntu5.3) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/lsb-release ... Preparing to unpack .../0-language-pack-en_1%3a20.04+20210121_all.deb ... Unpacking language-pack-en (1:20.04+20210121) over (1:20.04+20200709) ... Preparing to unpack .../1-language-pack-en-base_1%3a20.04+20210121_all.deb ... Unpacking language-pack-en-base (1:20.04+20210121) over (1:20.04+20200709) ... Preparing to unpack .../2-libglib2.0-data_2.64.6-1~ubuntu20.04.1_all.deb ... Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.1) over (2.64.3-1~ubuntu20.04.1) ... Preparing to unpack .../3-libglib2.0-bin_2.64.6-1~ubuntu20.04.1_amd64.deb ... Unpacking libglib2.0-bin (2.64.6-1~ubuntu20.04.1) over (2.64.3-1~ubuntu20.04.1) ... Preparing to unpack .../4-libglib2.0-0_2.64.6-1~ubuntu20.04.1_amd64.deb ... Preparing to unpack .../4-libglib2.0-0_2.64.6-1~ubuntu20.04.1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.1) over (2.64.3-1~ubuntu20.04.1) ... Preparing to unpack .../5-tzdata_2021a-0ubuntu0.20.04_all.deb ... Unpacking tzdata (2021a-0ubuntu0.20.04) over (2020f-0ubuntu0.20.04.1) ... Preparing to unpack .../6-python-apt-common_2.0.0ubuntu0.20.04.4_all.deb ... Unpacking python-apt-common (2.0.0ubuntu0.20.04.4) over (2.0.0ubuntu0.20.04.3) ... Preparing to unpack .../7-python3-apt_2.0.0ubuntu0.20.04.4_amd64.deb ... Unpacking python3-apt (2.0.0ubuntu0.20.04.4) over (2.0.0ubuntu0.20.04.3) ... Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.1) ... Setting up tzdata (2021a-0ubuntu0.20.04) ... Current default time zone: 'Europe/Berlin' Local time is now: Mon Feb 1 09:41:30 CET 2021. Universal Time is now: Mon Feb 1 08:41:30 UTC 2021. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.1) ... Setting up python-apt-common (2.0.0ubuntu0.20.04.4) ... Setting up python3-apt (2.0.0ubuntu0.20.04.4) ... Setting up libglib2.0-bin (2.64.6-1~ubuntu20.04.1) ... Setting up language-pack-en (1:20.04+20210121) ... Setting up language-pack-en-base (1:20.04+20210121) ... Generating locales (this might take a while)... Generation complete. Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. *** Running /etc/my_init.d/30_gen_ssl_keys.sh... using existing keys in "/config/keys" *** Running /etc/my_init.d/40_firstrun.sh... Using existing conf folder File zm.conf already copied Moving zmeventnotification.ini Moving secrets.ini Moving the event notification server Moving the pushover api Using existing ssmtp folder Using existing mysql database folder Copy /config/control/ scripts to /usr/share/perl5/ZoneMinder/Control/ Copy /config/conf/ scripts to /etc/zm/conf.d/ Creating symbolink links Using existing data directory for events Using existing data directory for images Using existing data directory for temp Using existing data directory for cache no crontab for root Starting services... * Starting Apache httpd web server apache2 * * Starting MariaDB database server mysqld cat: /run/mysqld/mysqld.pid: No such file or directory ...fail! DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147. Compilation failed in require at /usr/bin/zmupdate.pl line 73. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73. Feb 1 09:42:15 618a71471b35 zmupdate[1935]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] Feb 1 09:42:15 618a71471b35 zmupdate[1935]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. Feb 1 09:42:15 618a71471b35 zmupdate[1938]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147. Compilation failed in require at /usr/bin/zmupdate.pl line 73. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73. Feb 1 09:42:15 618a71471b35 zmupdate[1938]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] Starting ZoneMinder: DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. Feb 1 09:42:15 618a71471b35 zmpkg[1948]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Database.pm line 110. Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147. Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33. Compilation failed in require at /usr/bin/zmpkg.pl line 34. Feb 1 09:42:15 618a71471b35 zmpkg[1948]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34. ZoneMinder failed to start *** /etc/my_init.d/40_firstrun.sh failed with status 255 *** Killing all processes... Feb 1 09:42:15 618a71471b35 syslog-ng[38]: syslog-ng shutting down; version='3.25.1'
  5. Yes, that I did on the previous update. Worked all fine until the update a few days ago. It doesn't seem to find/manage to start the internal DB.
  6. I have the same error after updating a couple of days ago. Can't get it started. Seems like the "internal" DB is gone, or moved?