Moonraker Update fails
While I was trying to update all my packages this error happened. First it tells me that the moonraker package is invalid and gives me the option to do a soft recovery. When I try to do this the following error message comes up and then it says that the moonraker package is corrupt.
'git -C /home/pi/moonraker reset -hard origin/master'
I have Pictures of my problem attached.
14 Replies
Check the moonraker.log
It's the only way you'll figure out why moonraker thinks it's corrupt / invalid.
There was a bug fix recently that fixed a bunch of cases where moonraker egregiously would mark repositories corrupt for other reasons than corruption.
To be honest, I am overwhelmed with this large file. It would therefore be very kind if someone with much more knowledge than me could take a look at the file.
Thats the file after I try to do a soft recovery.
Git commands are failing, looks like it could actually be corrupted (like a dying sd card). Show me the output of the following (execute in command prompt, will ssh into the pi and check the status of the git repository, password is
raspberry
).
also, this is not great:
CPU Throttled Flags: ['Under-Voltage Detected', 'Currently Throttled', 'Previously Under-Volted', 'Previously Throttled']
You have pi power delivery issuesThis was the answer I got after trying ti ssh into the printer.
Okay, so nothing concerning there, try the command that fails:
Thats the output im getting
Oh that's definitely weird, that repo seems broken. Try
Yeah this is going to need hard recovery, that repository is broken. My guess is your SD card is dying. Once you've done hard recovery you need to run:
cat .git/config
And see what broke.True there could be something interesting there
as well as .git/FETCH_HEAD
Thank you for your help.
I decided to install the new version 2.1 with a new image. I no longer have any problems.
Feedback on the current status of 2.1:
The setup wizard is incredibly useful. Compared to the previous versions of RatOS, I was ready to use the printer much faster. The selection of individual components is very handy and simplifies the process a lot.
Many thanks for the development of version 2.1