I have the following problem running validate.php from terminal and i believe it is part of a bigger problem in all LibreNMS WebUI.
I see several PHP errors in many sub-pages in the WebUI and whatever i tryed i haven’t figure it out.
I am using Librenms with Ubuntu 22.04 latest update in both OS and Application and navigating through Firefox 110.0(64bit).
[OK] Composer Version: 2.5.4
[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 is enabled
[OK] Locks are functional
[OK] No active python wrapper pollers found
[WARN] Using database for locking, you should set CACHE_DRIVER=redis
[OK] rrdtool version ok
[OK] Connected to rrdcached
“Exception: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated”
“/opt/librenms/LibreNMS/Validations/User.php:95”
[OK] Composer Version: 2.5.4
[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
[WARN] Using database for locking, you should set CACHE_DRIVER=redis
[OK] rrd_dir is writable
[OK] rrdtool version ok
“Exception: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated”
“/opt/librenms/LibreNMS/Validations/User.php:95”
None of the graphs are working, but I don’t see any errors on the WebUI
Hello, i am having similar problems with a new install on AlmaLinux 9. RRD files are being created but are not shown and in some pages i have PHP errors.
[OK] Composer Version: 2.5.5
[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
“Exception: stream_socket_client(): Unable to connect to tcp://127.0.0.1:6379 (Connection refused)” // app/Providers/ErrorReportingProvider.php:63
“/opt/librenms/vendor/predis/predis/src/Connection/StreamConnection.php:108” // app/Providers/ErrorReportingProvider.php:63
[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
“Exception: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated” // app/Providers/ErrorReportingProvider.php:63
“/opt/librenms/LibreNMS/Validations/User.php:95” // app/Providers/ErrorReportingProvider.php:63