kysdaddy

Members
  • Posts

    147
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

kysdaddy's Achievements

Apprentice

Apprentice (3/14)

7

Reputation

  1. I think I am way off base, I should be looking for Z-wave JS instructions shouldn't I? I am currently running mosquitto in a docker but have no clue how to make all of this work. I added MQTT to my home assistant 172.19.0.15:1883 which is my Mosquitto docker. When I try to ad the Z-Wave JS integration the first popup is URL it comes auto filled with ws://localhost:3000 I tried ws://l172.19.0.15:3000 & ws://l192.168.1.2:3000 & ws://server.xxxxxxx.net:3000 & my duckdns address I'm running out of ideas.
  2. I should have been clear Howto migrate to OpenZwave in home assistant 2021.9.7 running in a docker on Unraid 6.9.2 Sorry Chas
  3. Hello All, Can anyone recommend a good video on how to Migrate to OpenZWave? I am currently running the depreciated version which isn't giving me any trouble whatsoever and I do not want to screw it up untill I am confident that I can install the new version correctly. I checked spaceinvaderone, which has helped me do everything else in the past but I don't see a video. Chas
  4. I am really sorry. I was able to follow the instructions and received this when I tried to start ZM root@Tower:~# docker exec -it Zoneminder /bin/bash root@ef02f6c53378:/# service mysql start * Starting MariaDB database server mysqld [fail] root@ef02f6c53378:/# 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' (2) 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' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110. 07/22/21 13:18:22.026917 zmpkg[1176].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] 07/22/21 13:18:22.027215 zmpkg[1176].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110. 07/22/21 13:18:22.027685 zmpkg[1176].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Unable to connect to DB. ZM Cannot continue. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150. 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 Seems to say the same thing as the ZM warnings and I have no clue what to do next....? Thanks for any help Chas
  5. Hello, I keep having the same issue with the SQL database. I have deleted everything and started over from scratch 3 times and each time after a week of so Zoneminder fails to load and I get these warnings. 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. Jul 22 12:47:00 853d22092257 zmupdate[1125]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] Unable to connect to DB. ZM Cannot continue. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150. Compilation failed in require at /usr/bin/zmupdate.pl line 74. Jul 22 12:47:00 853d22092257 zmupdate[1125]: 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/zmupdate.pl line 74. 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. Jul 22 12:47:00 853d22092257 zmupdate[1127]: 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. Unable to connect to DB. ZM Cannot continue. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150. Compilation failed in require at /usr/bin/zmupdate.pl line 74. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 74. Jul 22 12:47:00 853d22092257 zmupdate[1127]: 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. 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. Jul 22 12:47:00 853d22092257 zmpkg[1137]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] Unable to connect to DB. ZM Cannot continue. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150. 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. Jul 22 12:47:00 853d22092257 zmpkg[1137]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] ZoneMinder failed to start *** /etc/my_init.d/40_firstrun.sh failed with status 255 *** Killing all processes... Jul 22 12:47:00 853d22092257 syslog-ng[20]: syslog-ng shutting down; version='3.25.1' I have no problem removing everything and starting over but something that I am doing must be wrong to get the same issue every time. Please help. Chas tower-diagnostics-20210722-1250.zip
  6. Hello, I am having the same issue although it had happened on two different installs. I am running unraid 6.9.2 This started a week or so ago, I read everything I could find and tried different things and nothing worked. I removed the zoneminder docker, deleted the zppdata/zoneminder folder, deleted everything in the storage share, deleted the share. Next I created a new storage share, named it ZMData72, installed the zoneminder docker but named the appdata folder zoneminder72, created all my cameras and set up my zones, then created my filters. All worked well for two days This am my unraide server was unresponsive, I did a hard reset. When it came back up everything was working except ZM. I am right back to. Starting services... * Starting Apache httpd web server apache2 * * Starting MariaDB database server mysqld ...fail! DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 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' (2) 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' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110. Unable to connect to DB. ZM Cannot continue. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150. Compilation failed in require at /usr/bin/zmupdate.pl line 74. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 74. Jul 5 12:23:47 0306b99aa60b zmupdate[1412]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Jul 5 12:23:47 0306b99aa60b zmupdate[1412]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 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' (2) 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' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110. Unable to connect to DB. ZM Cannot continue. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150. Compilation failed in require at /usr/bin/zmupdate.pl line 74. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 74. Jul 5 12:23:47 0306b99aa60b zmupdate[1414]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Jul 5 12:23:47 0306b99aa60b zmupdate[1414]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 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' (2) 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' (2) 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' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110. Unable to connect to DB. ZM Cannot continue. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 150. Jul 5 12:23:47 0306b99aa60b zmpkg[1424]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] 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. Jul 5 12:23:47 0306b99aa60b zmpkg[1424]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] ZoneMinder failed to start *** /etc/my_init.d/40_firstrun.sh failed with status 255 *** Killing all processes... Jul 5 12:23:47 0306b99aa60b syslog-ng[21]: syslog-ng shutting down; version='3.25.1' Any suggestions? Co can recreate it all again but will this happen every time there is a hard reset? Chas
  7. Not sure if this is an example of correlation not equaling causation, or not, but system crashed twice while deleting and I lost one of the HDDs in my system. Currently doing a data-rebuild on a new HDD.
  8. Thank you, since they aren't known to zoneminder, I am using Midnight Commander to delete, it is slow but seems to be working. I will update. Chas
  9. Hello, this worked but unfortunately I used the same share for data hoping that the new install would find the old events and images. This didn't work out so well. All of the old images are still on the share but ZM doesn't see them so I can't delete them with a filter. Unless I am completely failing to comprehend something here. I can't find a way to delete the terabytes of data from the drive, quickly and or easily. Any suggestions are appreciated. Chas
  10. The database fails to start, zoneminder fails to start. Do I need to delete the folder and start over?
  11. I am having a real hard time with this. I did service mysql start, it failed. I posted the error messages, and searched them on the ZM forum but I make very little sense out of what folks are saying there. Most of the issues were months ago, mine started with the update two days ago. If anyone has any ideas of where to look for the answer, id appreciate it
  12. Thank you for the directions. I followed them and, of course it worked. MySql and Zoneminder not started. *** Running /etc/my_init.d/999_advanced_script.sh... *** Booting runit daemon... *** Runit started as PID 723 Apr 10 10:19:59 c79345477ec2 cron[726]: (CRON) INFO (pidfile fd = 3) Apr 10 10:19:59 c79345477ec2 cron[726]: (CRON) INFO (Running @reboot jobs) Apr 10 10:21:35 c79345477ec2 zmpkg[1221]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Apr 10 10:21:35 c79345477ec2 zmpkg[1221]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:] Apr 10 10:21:41 c79345477ec2 web_php[716]: FAT [Failed db connection to ] Of course I have no idea what to do to fix these errors. Is there something else I should be looking at? Thanks
  13. I have found some info that directed me to https://github.com/dlandon/zoneminder.unraid but I can find no instructions on how to Create an environment variable: NO_START_ZM="1" Being a complete rook, I tried, No Joy whatsoever. Any directions/suggestions would be appreciated.
  14. Hello, My zoneminder updated today, and the updated docker failed to start. Anyone have any suggestions, Zoneminder has been working for me really well for a couple of years. Apr 9 15:36:54 ca70b884b1dc web_php[660]: FAT [Failed db connection to ] Apr 9 15:36:54 ca70b884b1dc web_php[1160]: FAT [Failed db connection to ] 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. Apr 9 15:36:54 ca70b884b1dc zmpkg[1361]: ERR [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. Apr 9 15:36:54 ca70b884b1dc zmpkg[1361]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) error val:] ZoneMinder failed to start *** /etc/my_init.d/40_firstrun.sh failed with status 255 *** Killing all processes... Apr 9 15:36:54 ca70b884b1dc syslog-ng[20]: syslog-ng shutting down; version='3.25.1'
  15. Thank you for your help, that worked perfectly.Server booted with the GUI first try.