Internal error on command:"G28"
Hi all :
PRUSA MK3S. Been running Ratos for a serious while; SD went corrupt so reinstalled.
I've first tried 2.1 RC3 but wizard would fail systematically (same symptoms as : https://discord.com/channels/582187371529764864/1328642949373755482/1328642949373755482 ), so went-back to Ratos 2
Any help would be great, I have 4 of these bad boys nervously waiting for a fresh SD..... Many thanks in advance

56 Replies
Did you update ratos first, making sure it had a good internet connection?
Yes, in the right order
Got a screenshot of the actual error? What actions are you taking that trigger it? Include your config files as requested in the pinned post

hm. How about the klippy.log? Hopefully it'll show what the "internal error" actually is
sorry
I've gone as far as I could in the investigation but the klippy log is beyond my skills
something is not right about how you installed or updated ratos. If you're on 2.0.2 then you don't have the convenience of
ratos doctor
. I'd recommend starting over again with flashing.Ok. But flashing fails. Via ssh ? Make flash etc ?
Installing 2.1?
I had not heard /read anything about ratos doctor, I'll give it a try
Hummm... I have raspberries 3a+ in my mk3s.... I'm afraid they're too weak to run 2.1. I must stay on 2.0.2
Docs say that 3A+ should be enough
Yep 3A+ should be fine.... I don't get it : I've gone through klipper and RatOS install so many times over the last 2/3 years.... It's usually straightforward.
Should I roll back to RC1 ? I've succeeded 3 full installs with it recently. Could that help ? Just the initial updates after connecting to the net takes ages
"flashing fails" how?
OK : just spend hours on RC2. Looks better (updates more easily) but still same bug

Just tried adding the following (early in the printer.cfg file), nos success :
[MCU]
serial: /dev/serial/by-id/usb-Prusa_Researchprusa3d.comOriginal_Prusa_i3_MK3__-if00
I might be completely beside the point, but I see this :

And this is weird as well, I can't soft or hard recover anything from the Ratos github (that's on a V-core 3.1 / Rasp 3b+ I'm trying to update as well)


don't hard or soft recover a repo, it messes everything up
OK.
What should you do then when it appears as broken ?
mainsail for some reason shows it as invalid, but really that is just that it hasn't been able to get the updates yet. Try refreshing the updates and wait
but now that you are in a bad state, it is easier to start over with a fresh Pi image
I have tried to refresh / Wait / reboot many times.
I would start investigating your network setup
No... Network is is fine, I have several other printers running fine (Ratos 2.0.2 mostly, 2 x 2.10 printers.... WIFI 2.4, same SSID for everyone. Been running it for years
I can only point to what mainsail is doing. Drop your debug.zip into the chat
Where can I find this guy ? (Many thanks for being here by the way 😉
the pinned comment in #ratos-support details how to get it
OK ! That's from the V-Core 3.1 / Rasp 3b+ / RC1 I'm currently trying
Interresting : we've just wired it to the network rather than wifi : looks much faster. Previous releases or RatOS were notthat slow on wifi
might have something wrong with the wifi on that particular raspi if the others on your networks are fine
Both rasps I'm currently trying have been running Ratos 2.0.2 for a while on wifi, same network (Same Unify relays, using just the 2.4 ghz SSID)
This one is on proper RJ45 now, directly to the router. I've let them run quietly for a while, all items look ready for upgrade now, except these 2 guys :

Ctrl+R to refresh the page?
No impact, even tried rebooting every 30' or so...
Tempted to update just the System's 135 packages 🤔

don't do that - see the message in #announcements
https://discord.com/channels/582187371529764864/844364874216898562/1319098058016821349

ew, AI
Thx guys 😉 we'll let them reflect on life philosophy and the importance of updates and upgrades all night and will try to go further in the morning.
May the Force be with you.
Best of luck!
Well.... It's been running all night with a few ctrl-F5 along the way... All super green except this guy

A few moments later..... Back on a new SD card, flashed with latest RC 2. Left it run for a while, when all updates available, I just udapted Ratos, waited for a while, rebooted, refreshed updates, waited, Updates Ratos-Configurator, it failed. Waited a long moment after closing failed update window, rebooted, now Ratos-Configurator has disappeared from the list.

I then tried to update just moonraker, waited, rebooted, still no ratos-configurator in the list. I'm going nuts, I've been on this all week now.
its supposed to have disappeared, they have been combined
Ahhhhh.. Thanks man ! For being here and for the answer 🙂
Would you advise any specific order for the following updates ?
yes, always update ratos first, then you can update the others
until RC4 comes out, you will have to deal with https://discord.com/channels/582187371529764864/844364874216898562/1319098058016821349
OK, in no specific order then. I'll go step by step to be on the safe side
Thx again 😉
Arg...... 1 full day on it and then.....

Ssh to the pi and send ratos doctor
It should correct it for you
Ok : I did a complete check with Ratos Doctor followig this thread : https://discord.com/channels/582187371529764864/1330240060519616512/1330522101215658128
Di work great, went through the usual config wizard till the end, back to mainsail with a proper MK3 config, then :

Error message, so tried refresh available updates, tried soft recovery and .... failed again
Either hard or soft recovery will mess RatOS. This has been said plenty of times.
Ssh to the rpi and send ratos doctor