I have installed LibreNMS on OpenSUSE 15.1 with PHP 7.2. Everything looks good except the acces to the WebUI does not work.
I have created a new config with install.php (that works fine). After fixing some issues with the output of validate.php everything looks good. But if I try to acces the UI (http://hostname/index.php), I get the error " PHP version 7.2.5 or newer is required to run LibreNMS". But CLI and also phpinfo() show exactly that this version is installed.
Output of validate.php
librenms@hostname:~> ./validate.php
[OK] Composer Version: 1.10.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
So, the “error” you are seeing is a popup message in the upper right hand corner? I thought you had described something else.
It seems your webui is working now, is that correct?
If everything is working fine, perhaps the popup notification got stuck somehow. If this is the case it may have to be manually removed from the database. If it isn’t it will just get restored if you delete it anyway.
I’m sorry for the late reply. No the issue is still there, if I restore the original file of Checks.php. I still get following error but I still use the required PHP version 7.2.5 (see screenshot 20 days before).
I have changed the self::printMessage line now:
self::printMessage(
'PHP version 7.2.5 or newer is required to run LibreNMS (installed '.PHP_VERSION.")",
null,
true
);
I use OpenSUSE LEAP 15.1. In the next days 15.2 will be released and I hope that a new PHP version will be part of it. But perhaps this issue should be verified anyway?
Hi
I have the same error
PHP version 7.2.5 or newer is required to run LibreNMS
in the gui, however in CLI I see it like this
bash-4.2$ ./daily.sh
Updating to latest codebase OK
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
bash-4.2$ ./validate.php
[OK] Composer Version: 1.10.9
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
bash-4.2$
Same issue with my installation…
Anyone found the solution to this?
====================================
Component
Version
LibreNMS
1.66-27-gfddf2eb
DB Schema
2020_07_29_143221_add_device_perf_index (172)
PHP
7.4.9
Python
3.5.2
MySQL
5.6.38
RRDTool
1.5.5
SNMP
NET-SNMP 5.7.3
====================================
[OK] Composer Version: 1.10.10
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.