503 Service Unavailable after PHP 8.1 Upgrade

I am currently running LibreNMS on Ubuntu 18.04.6. I upgraded to PHP 8.1 and now when I try and go to the main webpage, I get 503 Service Unavailable. I did remove all previous versions of PHP as well. Looks like from the validate.php I am having issues with the poller. Please help and thanks!

The validate.php shows:

Last login: Sat Oct 1 19:45:38 2022 from 10.46.16.12
$ ./validate.php

Component Version
LibreNMS 22.9.0-20-ga0316f4b9
DB Schema 2022_09_03_091314_update_ports_adsl_table_with_defaults (246)
PHP 8.1.11
Python 3.6.9
Database MariaDB 10.5.17-MariaDB-1:10.5.17+maria~ubu1804
RRDTool 1.7.0
SNMP 5.7.3

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

[OK] Composer Version: 2.4.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]
[OK] Database schema correct
[OK] MySQl and PHP time match
[FAIL] No active polling method detected
[OK] Dispatcher Service not detected
[OK] Locks are functional
[FAIL] No active python wrapper pollers found
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
$

The daily.sh shows:

$ ./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
Caching Mac OUI data OK
$

Make sure your webserver and php-fpm are configured correctly. Compare against the install docs for a hint.

1 Like

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