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
I tried re-installing the gateway couple of times, with no result giving me this error all the time
"dpkg: error processing package python3-thingsboard-gateway (--configure):
installed python3-thingsboard-gateway package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python3-thingsboard-gateway
E: Sub-process /usr/bin/dpkg returned an error code (1)"
python3 --version
Python 3.12.0
Here is the installation log
sudo apt install ./python3-thingsboard-gateway.deb -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python3-thingsboard-gateway' instead of './python3-thingsboard-gateway.deb'
python3-thingsboard-gateway is already the newest version (3.5.3).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3-thingsboard-gateway (3.5.3) ...
Running py3compile for python3-thingsboard-gateway...
Checking if /var/lib/thingsboard_gateway/ exists...
/var/lib/thingsboard_gateway/ already exists.
Copying extensions to /var/lib/thingsboard_gateway/...
cp: cannot stat '/etc/thingsboard-gateway/extensions': No such file or directory
dpkg: error processing package python3-thingsboard-gateway (--configure):
installed python3-thingsboard-gateway package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python3-thingsboard-gateway
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hello @imbeacon
I tried re-installing the gateway couple of times, with no result giving me this error all the time "dpkg: error processing package python3-thingsboard-gateway (--configure): installed python3-thingsboard-gateway package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: python3-thingsboard-gateway E: Sub-process /usr/bin/dpkg returned an error code (1)"
python3 --version Python 3.12.0
Here is the installation log
sudo apt install ./python3-thingsboard-gateway.deb -y Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'python3-thingsboard-gateway' instead of './python3-thingsboard-gateway.deb' python3-thingsboard-gateway is already the newest version (3.5.3). 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up python3-thingsboard-gateway (3.5.3) ... Running py3compile for python3-thingsboard-gateway... Checking if /var/lib/thingsboard_gateway/ exists... /var/lib/thingsboard_gateway/ already exists. Copying extensions to /var/lib/thingsboard_gateway/... cp: cannot stat '/etc/thingsboard-gateway/extensions': No such file or directory dpkg: error processing package python3-thingsboard-gateway (--configure): installed python3-thingsboard-gateway package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: python3-thingsboard-gateway E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks in advance for any kind of help!