Hi,
I’ve just upgraded the librenms (1.33 from docker hub jarischaefer/docker-librenms) but I get errors on the DDBB side.
Connection to the DDBB containers (by pinging it) it is fine.
[email protected]:/opt/librenms# ./daily.sh
Re-running /opt/librenms/daily.sh as librenms user
Checking PHP version FAIL
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
Updating SQL-Schema FAIL
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
Updating submodules OK
Cleaning up DB
FAIL
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
Fetching notifications FAIL
MySQL Error: php_network_getaddresses: getaddrinfo failed: Name or service not known
Caching PeeringDB data OK
[email protected]:/opt/librenms#
[email protected]:/opt/librenms#
[email protected]:/opt/librenms# ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.34
DB Schema | 217
PHP | 7.1.12-1+ubuntu16.04.1+deb.sury.org+1
MySQL | 5.6.38
RRDTool | 1.5.5
SNMP | NET-SNMP 5.7.3
====================================
[OK] Database connection successful
[FAIL] Database: missing column (perf_times/id)
[FAIL] Database: missing index (perf_times/PRIMARY)
[FAIL] Database: extra column (sensors/entity_link_type)
[FAIL] Database: extra column (sensors/entity_link_index)
[FAIL] Database: incorrect column (storage/storage_index)
[FAIL] We have detected that your database schema may be wrong, please report the following to us on IRC or the community site (https://t.libren.ms/5gscd):
[FIX] Run the following SQL statements to fix.
SQL Statements:
ALTER TABLE `perf_times` ADD `id` int(11) NOT NULL auto_increment;
ALTER TABLE `perf_times` ADD PRIMARY KEY (`id`);
ALTER TABLE `sensors` DROP `entity_link_type`;
ALTER TABLE `sensors` DROP `entity_link_index`;
ALTER TABLE `storage` CHANGE `storage_index` `storage_index` varchar(64) NULL;
[FAIL] The poller (086b1715629f) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (210e63746d64) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (2b5c37cd47f6) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (34b38039a648) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (5bc7dcf35da9) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (6e6b7fc40095) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (7e48cb3f1613) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (95813b1a2694) has not completed within the last 5 minutes, check the cron job.
[FAIL] The poller (cd8ed6cb9b7a) has not completed within the last 5 minutes, check the cron job.
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN] Your install is over 24 hours out of date, last update: Sat, 25 Nov 2017 11:48:49 +0000
[FIX] Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] Your local git branch is not master, this will prevent automatic updates.
[FIX] You can switch back to master with git checkout master