When attempting to run sailtrack-core, I observed that the processes sailtrack-processor, sailtrack-timesync, and sailtrack-status are offline. Further investigation revealed the following error:
Traceback (most recent call last):
File "/boot/sailtrack/sailtrack-processor", line 73, in <module>
mqtt = Client(MQTT_CLIENT_ID)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/paho/mqtt/client.py", line 766, in __init__
raise ValueError(
ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md for details
The issue is attributed to the recent release of Paho MQTT Python v2.0.0, introducing changes that disrupt the existing functionality. The error indicates an unsupported callback API version.
Issue Overview:
When attempting to run sailtrack-core, I observed that the processes
sailtrack-processor
,sailtrack-timesync
, andsailtrack-status
are offline. Further investigation revealed the following error:The issue is attributed to the recent release of Paho MQTT Python v2.0.0, introducing changes that disrupt the existing functionality. The error indicates an unsupported callback API version.
To address this, a migration process is necessary, guided by the instructions outlined in the Paho MQTT Python v2.0.0 migrations documentation.