Hi,
Need help fixing this error below after our install failed with an auto update, can anyone assist?
Your configuration specifies to merge with the ref 'refs/heads/php71-python2’
from the remote, but no such ref was fetched.
Hi,
Need help fixing this error below after our install failed with an auto update, can anyone assist?
Your configuration specifies to merge with the ref 'refs/heads/php71-python2’
from the remote, but no such ref was fetched.
please run ./validate.php
Hi Kevin,
See below:
Component | Version |
---|---|
LibreNMS | 1.63-56-gf3ad81062 |
DB Schema | 2020_04_13_150500_add_last_error_fields_to_bgp_peers (164) |
PHP | 7.4.6 |
Python | 3.6.9 |
MySQL | 10.1.44-MariaDB-0ubuntu0.18.04.1 |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.10.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Time between this server and the mysql database is off
Mysql time 2020-05-29 15:06:37
PHP time 2020-05-29 13:06:37
[OK] Database schema correct
[FAIL] Missing PHP extension: curl
[FIX]:
Please install curl
[FAIL] Missing PHP extension: xml
[FIX]:
Please install xml
[FAIL] Missing PHP extension: gd
[FIX]:
Please install gd
[FAIL] Missing PHP extension: dom
[FIX]:
Please install dom
[FAIL] You have no timezone set for php.
[FIX]:
http://php.net/manual/en/datetime.configuration.php#ini.date.timezone
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[FAIL] Python3 module issue found: 'The ‘PyMySQL’ distribution was not found and is required by the application
’
[FIX]:
pip3 install -r /opt/librenms/requirements.txt
In common.php line 993:
Call to undefined function curl_init()
Thanks Kevin, seen the error in ./validate.php and applied the recommended fix for the missing python modules.