Unfortunately runnning the script does not solve the issue. The printer is still working and the config is clearly still there (visible with ftp client under ~/printer_data/config) Can someone tell me what I have to do to get things back to normal?
UPDATE 10/15/2022: Some users have experienced errors during the update process. For users of MainsailOS and FluiddPi with a default installation I have pushed a script that should recover Moonrake...