Just upgraded now getting "No active polling method detected"

Just upgrade from November and having trouble with the poller. When I first ran ./validate got the following issue in bold:

librenms@librenms2:~$ ./validate.php

Component Version
LibreNMS 24.1.0-64-g605705396 (2024-02-04T18:24:47-05:00)
DB Schema 2024_01_09_223927_bill_data_updated_indexes (288)
PHP 8.1.2-1ubuntu2.14
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.6.6
[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

When asking for help and support, please provide as much information as possible. This should include:

  • Steps to reproduce an issue.
  • The output of ./validate.php

If it’s an issue with the WebUI then please consider including a screenshot and the browser version you are using.

If you are having troubles with discovery/polling include the pastebin output of:

./discovery.php -h HOSTNAME -d | ./pbin.sh
./poller.php -h HOSTNAME -r -f -d | ./pbin.sh

If you need to post any text longer than a few lines, please use a pastebin service such as https://p.libren.ms using non-expiring pastes.
[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] rrdtool version ok
[OK] Connected to rrdcached
[FAIL] Scheduler is not running
*> [FIX]:
> sudo cp /opt/librenms/dist/librenms-scheduler.service /opt/librenms/dist/librenms-scheduler.timer /etc/systemd/system/
> sudo systemctl enable librenms-scheduler.timer
> sudo systemctl start librenms-scheduler.timer

So I ran the fix, now I get:

librenms@librenms2:~$ ./validate.php

Component Version
LibreNMS 24.1.0-64-g605705396 (2024-02-04T18:24:47-05:00)
DB Schema 2024_01_09_223927_bill_data_updated_indexes (288)
PHP 8.1.2-1ubuntu2.14
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.6.6
[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
[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] rrdtool version ok
[OK] Connected to rrdcached

In a bind here as my something happen with my snapshot and it wouldn’t restart. So I need to fix the current upgrade. Read through the following but not helping at the moment: Dispatcher Service (RC) - LibreNMS Docs

May have gotten it working again after I saw that I needed these packages to be installed:

apt install python3 python3-mysqldb python3-dotenv