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 845 forks source link

[HELP] is it possible to make an update for Gateway from thingsboard UI? #1459

Closed Jonnik84 closed 1 month ago

Jonnik84 commented 4 months ago

Hi there I’ve installed gateway on Ubuntu on RPi 3, using docker image. It’s the easiest way to install as I suppose… Gateway is developing almost every day and you generate docker images also very often I plan many many gateways . also I should tell that my gateways are inaccessible physically and by ssh. Is there any possibility to make an update for them manually from thingsboard UI?

Maybe you just give me an advice for different kind of installation ?

also we can configure bash scripts for automatic update, but I think it is not very reliable and I’m afraid to do this automatically.

Thanks for developing great product.

imbeacon commented 3 months ago

Hi @Jonnik84,

Thank you for your interest in ThingsBoard IoT Gateway. You can try to use a service rpc (just send RPC to gateway device from ThingsBoard) gateway_update without parameters, it will trigger update for the gateway library inside the container. If you need - you can restart the gateway service insode the container using gateway_restart RPC, with seconds as params or with no params.