Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELP] Installation falils every time I try to install gateway at ubuntu 18.04.6 LTS #1553

Closed
IhorYednak opened this issue Oct 7, 2024 · 0 comments
Assignees

Comments

@IhorYednak
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants