Can not update MCU '<name>' config as it is shutdown

Can not update MCU '<name>' config as it is shutdown

Background

The Klipper host process on the SBC is starting or restarting, but cannot properly connect to the respective MCU because it is in a shutdown / error state.
The is not really an error message by itself, but an indication that MCU needs to clear its error state beforehand.

Reasons

  • The MCU is in a shutdown / error state and Klipper Host process was (re-)started without clearing this
  • The reason why the MCU is in this state is not contained in this message. It needs to be evaluated in the klippy.log as an event that occurred earlier than this message

Potential solutions

  • Reset the MCU with the FIRMWARE_RESTART command