ioBroker / ioBroker.js-controller

ioBroker controller
http://iobroker.net
MIT License
294 stars 58 forks source link

Allow "iobroker upgrade adaptername" to update on all hosts #1239

Open Apollon77 opened 3 years ago

Apollon77 commented 3 years ago

We should allow (via a CLI option?) to update an adapter on all hosts where instances are installed( or anywhere where adapter code is installed?). maybe this should be the default from admin?

foxriver76 commented 3 years ago

Then we have the prerequisite that the controller needs to run on the other host. So we can only try to do that ;-)

Or additionally set a state if controller offline, which controller reads at the start and then tries to upgrade. Also, upgrades could succeed on one host and not on the other.

But I guess I would just say: controller not running on host XY, cannot upgrade on this remote host.

Apollon77 commented 3 years ago

But I guess I would just say: controller not running on host XY, cannot upgrade on this remote host.

I would also start that way. And giving thais out as a "info" message when the command executes, or maybe as a summary at the end