thingsboard gateway installation problem
See original GitHub issueWanted to install thingsboard gateway following the instruction in: https://thingsboard.io/docs/iot-gateway/getting-started/
It went well to some extent and have this configuration file under /etc/thingsboard-gateway/config/tb_gateway.yaml
thingsboard:
host: thingsboard.cloud
port: 1883
remoteShell: false
remoteConfiguration: false
statsSendPeriodInSeconds: 3600
minPackSendDelayMS: 0
checkConnectorsConfigurationInSeconds: 60
security:
accessToken: MY_GW_ACCESS_TOKEN
...
...
connectors:
-
name: MQTT Broker Connector
type: mqtt
configuration: mqtt.json
Change the Access Token with my gateway access token.
Restarted it.
systemctl restart thingsboard-gateway
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
'thingsboard-gateway.service'を再起動するには認証が必要です。(it says that to restart thingsboard-gateway I need to authorize)
Authenticating as: kenkyu,,, (kenkyu)
Password:
==== AUTHENTICATION COMPLETE ===
But after that, when I used to check status, it gives the following error message.
$ systemctl status thingsboard-gateway
● thingsboard-gateway.service - ThingsBoard Gateway
Loaded: loaded (/etc/systemd/system/thingsboard-gateway.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2022-03-03 20:03:51 JST; 33min ago
Process: 178691 ExecStart=/usr/bin/python3 -c from thingsboard_gateway.tb_gateway import daemon; daemon() (code=exited, status=1/FAILURE)
Main PID: 178691 (code=exited, status=1/FAILURE)
3月 03 20:03:51 spf python3[178691]: create_key=_descriptor._internal_create_key,
3月 03 20:03:51 spf python3[178691]: AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
3月 03 20:03:51 spf systemd[1]: Started ThingsBoard Gateway.
3月 03 20:03:51 spf systemd[1]: thingsboard-gateway.service: Main process exited, code=exited, status=1/FAILURE
3月 03 20:03:51 spf systemd[1]: thingsboard-gateway.service: Failed with result 'exit-code'.
3月 03 20:03:51 spf systemd[1]: thingsboard-gateway.service: Scheduled restart job, restart counter is at 5.
3月 03 20:03:51 spf systemd[1]: Stopped ThingsBoard Gateway.
3月 03 20:03:51 spf systemd[1]: thingsboard-gateway.service: Start request repeated too quickly.
3月 03 20:03:51 spf systemd[1]: thingsboard-gateway.service: Failed with result 'exit-code'.
3月 03 20:03:51 spf systemd[1]: Failed to start ThingsBoard Gateway.
Any help would be very much appreciated.
- OS: [e.g. Ubuntu 20.04]
- Thingsboard version 3.3.2
- Thingsboard IoT Gateway version [3.0.1-1]
- Python version[3.8]
Issue Analytics
- State:
- Created 2 years ago
- Comments:24 (10 by maintainers)
Top Results From Across the Web
Install ThingsBoard IoT Gateway as package.
Install ThingsBoard IoT Gateway as package. · Step 1. Download the deb file · Step 2. Install the gateway using apt · Step...
Read more >Install ThingsBoard IoT Gateway as package.
This guide describes how to install ThingsBoard IoT Gateway on CentOS or RHEL. Step 1. Download the installation package. Download installation package. 1,...
Read more >Install ThingsBoard IoT Gateway using Docker.
This guide will help you to install and start ThingsBoard Gateway using Docker on Windows. Prerequisites. Install Docker Toolbox for Windows. Running.
Read more >Troubleshooting | ThingsBoard Community Edition
It is possible that the data inside the cache somehow got corrupted. Regardless of the reason, it is always safe to clear cache,...
Read more >IoT Gateway installation from sources.
1. Install required libraries to the system with apt: · 2. Download repository from GitHub: · 3. Move into downloaded directory: · 4....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you for all the helps. Yes, you can close this issue. If needed I will open a new one later one.
@debacs83 any updates? can we close the issue?