thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Apache License 2.0
1.75k stars 844 forks source link

[HELP] Ubuntu 24.04 LTS installation #1380

Closed cos-gl closed 4 months ago

cos-gl commented 6 months ago

Describe the issue Trying to install deb package following instruction, raise an error about python3-cryptography package: needed pack version < 3.5 but system default is 41.0.7 in Ubuntu 24.04 LTS

Thanks for your help!

Configuration Non relevant

Error traceback:

The following packages have unmet dependencies:
 python3-thingsboard-gateway : 
(...)
                               Depends: python3-cryptography (< 3.5) but 41.0.7-4build3 is to be installed
(...)

Versions:

cos-gl commented 6 months ago

Just to add some hints to someone how can put hands on...

The requirements.txt file seems that have been changed to exclude the python3-cryptograpy version check, al least this is what I understand looking here: https://github.com/thingsboard/thingsboard-gateway/commit/cb92f04d4be4de4e96a9e893727db596598b90f9 (last commit one month ago)

But the setup.py file, was not changed and continues to check for the package from version 3.4. to 3.5. https://github.com/thingsboard/thingsboard-gateway/blob/783c7e1efe3763017186999e0fe410af63e1c322/setup.py#L56 (last commit 3 months ago)

Do I understand right? Is it possible to fix? The installation using the .deb file off course doesn't work. Thanks again!

cos-gl commented 5 months ago

Hi, no help for me? @samson0v @imbeacon After a month I see the same problem and I'm in doubt which is the correct way to install TB Gateway (off course, without using docker). Thanks!

cos-gl commented 4 months ago

The dependency problem seems solved with the latest release of gateway: 3.5.1-1