Daily.sh script failing with permission denied

I am having 2 problems that I can’t figure out how to get around.

  1. librenms@stat:~$ ./daily.sh
    Updating to latest codebase FAIL
    fatal: unable to access ‘https://github.com/librenms/librenms.git/’: gnutls_handshake() failed: Access was denied
    Updating Composer packages OK
    Updating SQL-Schema OK
    Updating submodules OK
    Cleaning up DB OK
    Fetching notifications OK
    Caching PeeringDB data OK

as possible. This should include:

  • Steps to reproduce an issue.
  • The output of ./validate.php

If it’s an issue with the WebUI then please consider including a screenshot and the browser version you are using.

If you are having troubles with discovery/polling include the pastebin output of:

./discovery.php -h HOSTNAME -d | ./pbin.sh
./poller.php -h HOSTNAME -r -f -d | ./pbin.sh

I am unsure why this is failing.
2) I changed the ip address on the linux box and the webserver is continuing to go to the old ip.

librenms@stat:~$ ./validate.php

Component Version
LibreNMS 1.67-48-g65b294c7c
DB Schema 2020_08_28_212054_drop_uptime_column_outages (173)
PHP 7.4.3
Python 3.8.2
MySQL 10.3.22-MariaDB-1ubuntu1
RRDTool 1.7.2
SNMP NET-SNMP 5.8

====================================

[OK] Composer Version: 1.10.13
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your install is over 24 hours out of date, last update: Sat, 19 Sep 2020 23:24:53 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.

OK, fixed #2 forgot to change ip in the nginx.conf file

The error is SSL is invalid, are you sure your time is set correctly?

gnutls_handshake() failed maybe your box has an invalid cert store.