Unable to access web gui

Hi all,

Using librenms for a while, everything was okay. Had a reboot of VM the other day and got an issue.
So i can still see that i am getting alerts on my discort so libre is working.
I have fallow all steps and have checked php and weberver and seems alright but still cant figure why does not work. Please any help would be very good. thanks

dev@snmp-10-10-20-48:/opt/librenms$ ./validate.php

Component Version
LibreNMS 24.3.0-13-ge19861c77 (2024-04-12T01:59:05+00:00)
DB Schema 2024_02_07_151845_custom_map_additions (290)
PHP 8.3.6
Python 3.10.12
Database MariaDB 10.6.16-MariaDB-0ubuntu0.22.04.1
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[WARN] Could not check Python dependencies because this script is not running as librenms
[FIX]:
The install docs show how this is done on a new install: Installing LibreNMS - LibreNMS Docs
[OK] rrd_dir is writable
[OK] rrdtool version ok
[FAIL] You need to run this script as ‘librenms’ or root
dev@snmp-10-10-20-48:/opt/librenms$ sudo su
[sudo] password for dev:
root@snmp-10-10-20-48:/opt/librenms# su librenms
librenms@snmp-10-10-20-48:~$ ./validate.php

Component Version
LibreNMS 24.3.0-13-ge19861c77 (2024-04-12T01:59:05+00:00)
DB Schema 2024_02_07_151845_custom_map_additions (290)
PHP 8.3.6
Python 3.10.12
Database MariaDB 10.6.16-MariaDB-0ubuntu0.22.04.1
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
librenms@snmp-10-10-20-48:~$ ./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
librenms@snmp-10-10-20-48:~$ curl 10.10.20.48
Composer detected issues in your platform:

Your Composer dependencies require a PHP version “>= 8.1.0”.

librenms@snmp-10-10-20-48:~$

web output as well is same

Your Composer dependencies require a PHP version “>= 8.1.0”.

note that i do have updated on 8.10 and changed lines per librenms guidance

thanks for help
also if you would need more info from me please let me know thanks again lads !

librenms@snmp-10-10-20-48:~$ ./validate.php

Component Version
LibreNMS 24.3.0-13-ge19861c77 (2024-04-12T01:59:05+00:00)
DB Schema 2024_02_07_151845_custom_map_additions (290)
PHP 8.3.6
Python 3.10.12
Database MariaDB 10.6.16-MariaDB-0ubuntu0.22.04.1
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
librenms@snmp-10-10-20-48:~$ ./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

Boris, which OS is LibreNMS built on and which web server are you running, nginx, apache or other?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.