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.72k stars 829 forks source link

[BUG] Latest (2.4.1) docker image is not working #344

Closed tikarei closed 4 years ago

tikarei commented 4 years ago

Describe the bug The latest (2.4.1) docker image does not have the default directories listed on this guide: https://thingsboard.io/docs/iot-gateway/configuration/

What am I missing or doing wrong?

Error traceback (If available):

root@f5df766f692b:/# cd /etc/thingsboard-gateway/config
bash: cd: /etc/thingsboard-gateway/config: No such file or directory
root@f5df766f692b:/# cd /var/lib/thingsboard_gateway/extensions 
bash: cd: /var/lib/thingsboard_gateway/extensions: No such file or directory
root@f5df766f692b:/# cd /var/log/thingsboard-gateway
bash: cd: /var/log/thingsboard-gateway: No such file or directory

Versions (please complete the following information):

imbeacon commented 4 years ago

Hi @Tikarei ,

Thank you for your interest in the ThingsBoard IoT gateway. You are right, we are changed the base image for the gateway in the docker, and paths also were changed. We will add information about new paths into the documentation.

New paths in the docker container are:

config - /thingsboard_gateway/config extensions - /thingsboard_gateway/extensions logs - /thingsboard_gateway/logs

tikarei commented 4 years ago

Thank you very much for the quick response. I'll close this case when the documentation is updated so others can see this issue in the meantime.

imbeacon commented 4 years ago

Hi @Tikarei ,

The documentation are updated, I close this issue.

If you will have any questions about the gateway please let me know.

tikarei commented 4 years ago

I'm still seeing the old config directories listed /etc/thingsboard-gateway/config on this page - https://thingsboard.io/docs/iot-gateway/configuration/

imbeacon commented 4 years ago

@Tikarei

The paths for the installation from the package were not changed. But in installation guides for docker paths were changed: Install ThingsBoard IoT Gateway using Docker for Linux Install ThingsBoard IoT Gateway using Docker for Windows

tikarei commented 4 years ago

Thank you for clarifying!