AttributeError: 'Redis' object has no attribute 'bzpopmin'

Tags: #<Tag:0x00007f3b87354c50> #<Tag:0x00007f3b87354ae8> #<Tag:0x00007f3b873549d0>

I want to test the new version of Poller -> https://docs.librenms.org/Extensions/Dispatcher-Service/

But i get this error when i run ./librenms-service.py

Poller_3-11(ERROR):Poller poller exception! 'Redis' object has no attribute 'bzpopmin'
Traceback (most recent call last):
  File "/opt/librenms/LibreNMS/queuemanager.py", line 54, in _service_worker
    device_id = self.get_queue(queue_id).get(True, 10)
  File "/opt/librenms/LibreNMS/__init__.py", line 323, in get
    item = self._redis.bzpopmin(self.key, timeout=timeout)
AttributeError: 'Redis' object has no attribute 'bzpopmin'
Poller_3-12(ERROR):Poller poller exception! 'Redis' object has no attribute 'bzpopmin'
Traceback (most recent call last):

And Redis database is empty.

  • Steps to reproduce an issue.
    I am following the steps from here Dispatcher-Service
  • The output of ./validate.php

./validate.php

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

Component Version
LibreNMS 1.61-25-ge5dad7a64
DB Schema 2020_02_10_223323_create_alert_location_map_table (159)
PHP 7.2.24-0ubuntu0.18.04.3
MySQL 10.2.31-MariaDB-1:10.2.31+maria~bionic-log
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

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

[OK] Composer Version: 1.10.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct