question

Máté Őry avatar image
Máté Őry asked

Reboot Cerbo remotely

I've updated my cerbo remotely, and while it seems to work nice, I can't access the console or ssh. I can't log in via ssh because nothing recovers my ssh key after the update. I can't use the remote console over lan because it has to be enabled after the update. The remote console in vrm doesn't seem to work either (keeps "Connecting...") but other vrm features do. I have signalk/nodered, so I can run shell commands as the signalk user but didn't find a way to break out of it. I've successfully set /Settings/System/VncLocal=1, but it doesn't apply without a reboot.

Any idea about how to get in or at least to trigger a reboot without ssh and vnc access, or how to fix the remote console? My only solution would be to power cycle the device when I get to there next weekend.

Venus OSreboot
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
Máté Őry avatar image
Máté Őry answered ·

I managed to get in by running these shell commands through a nodered exec:

dbus -y com.victronenergy.settings /Settings/System/VncLocal SetValue 1
dbus -y com.victronenergy.platform /Device/Reboot SetValue 1

The latter one seems to be new and made for the next-gen gui. I didn't find any public references other than the readme and the code.

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

outsourcedguru avatar image outsourcedguru commented ·

If you do this command a lot remotely, you might consider adding an alias in that Linux user's...

~/.bashrc

...or similar file. You'd add a line like...

alias reboot='dbus -y com.victronenergy.platform /Device/Reboot SetValue 1'

You'd then logout/login so that this alias is then active (easiest way). Then you could then simply run reboot from the command line.

0 Likes 0 ·

Related Resources

Additional resources still need to be added for this topic

Victron Venus OS Open Source intro page

Venus OS GitHub (please do not post to this)