"FAIL: Scheduler is not running" after moving to dedicated database server

After moving to dedicated database server with memcached enabled, i am getting the “Scheduler is not running” error. Everything else seems to be working, polling etc. Even if I check the scheduler service status on my server, I can see it running and doing it’s schedules. The suggested fix has no effect.

Validate.php:

Component Version
LibreNMS 25.1.0-119-g91840af2b (2025-02-17T18:35:47+02:00)
DB Schema 2025_01_30_000121_add_ifindex_index_to_ports_table (315)
PHP 8.3.13
Python 3.9.21
Database MySQL 8.0.36
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.8.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[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] Distributed Polling setting is enabled globally
[OK] Connection to memcached is ok
[OK] Connected to rrdcached
[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

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

Some update, everything indeed seems to be working except that fail in validate.php in UI or CLI.

systemctl status librenms-scheduler.timer

? librenms-scheduler.timer - LibreNMS Scheduler
Loaded: loaded (/etc/systemd/system/librenms-scheduler.timer; enabled; preset: disabled)
Active: active (waiting) since Fri 2025-02-21 11:55:36 EET; 3h 41min ago
Until: Fri 2025-02-21 11:55:36 EET; 3h 41min ago
Trigger: Fri 2025-02-21 15:38:00 EET; 47s left
Triggers: ? librenms-scheduler.service Started LibreNMS Scheduler.


systemctl status librenms-scheduler.service

? librenms-scheduler.service - LibreNMS Scheduler
Loaded: loaded (/etc/systemd/system/librenms-scheduler.service; static)
Active: inactive (dead) since Fri 2025-02-21 15:38:00 EET; 34s ago
TriggeredBy: ? librenms-scheduler.timer
Process: 275372 ExecStart=/usr/bin/env php artisan schedule:run --no-ansi --no-interaction (code=exited, status=0/SUCCESS)
Main PID: 275372 (code=exited, status=0/SUCCESS)
CPU: 500ms Starting LibreNMS Scheduler…
librenms-scheduler.service: Deactivated successfully.
Finished LibreNMS Scheduler.

I installed a poller and the issue followed there. A fresh install without errors including this part:

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

There are no errors in any logs and everything is running well and smoothly.

In another topic someone mentioned getting this error after running

./scripts/github-remove -d