Upgrade RatOS from 2.0 to 2.1

I am interested in upgrading my 3.1 300 from RatOS 2.0.1 to 2.1. I usually give RCs some time to let the biggest issues settle out. I have not seen any descriptions or documentation on the upgrade path taking a system to 2.1 from 2.0.x. Other than going through the full motions of a brand new install, is this possible? I would like to keep/transfer the settings as easily as possible. I would also like to keep the operating statistics for runtime/maintenance, etc. So, how to port all of those over from 2.0.x? I am also seeing in some of the other forums that KIAUH is not supported. I have Klipper-Backup installed since I had an SD card fail over the summer - and who doesn't like having to go through a full SW setup for no reason out of the blue...
26 Replies
TheTik
TheTik3w ago
Brand new install is your best, and I believe only, option. Download your printer.cfg for reference or grab a fresh sd card for 2.1. Install RC2, do all the updates !! starting with ratos !! Run configurator, then see what you need to tweak.
Coeus
CoeusOP3w ago
OK - Thx! I was hoping that there would be an upgrade path, but I understand the SW complexities in just that alone. So, is there a way to grab all of the previous statistics to port over to the new OS? It'd be nice to keep the machine history intact. I see a way to download a CSV, but no way to upload one into the database.
TheTik
TheTik3w ago
oo, that I've got NO clue
Coeus
CoeusOP3w ago
FYI - found this post and response from Helge https://discord.com/channels/582187371529764864/1099766724984852631 but when I tried it, the .json file didn't capture the Klipper history and statistics info.
Decorum
Decorum3w ago
Apologies if this is a really basic question - but where are the assets for RatOS 2.1? Is there a single image to download?
MDFPereira
MDFPereira3w ago
You open the github pages and look for releases on the right side.
Decorum
Decorum3w ago
Hi - I found the releases but I can't seem to see the assets? Or... due to the updates - do we need to download a ZIP file and create an image ourselves - for the RaspberryPi? Apologies - I'm not familiar with Release Candidates. Releases: https://github.com/Rat-OS/RatOS/releases ZIP: https://github.com/Rat-OS/RatOS/tags
GitHub
Releases · Rat-OS/RatOS
The preconfigured Raspberry Pi image that makes it easy to run Klipper + Moonraker + Mainsail on your printer. - Rat-OS/RatOS
GitHub
Tags · Rat-OS/RatOS
The preconfigured Raspberry Pi image that makes it easy to run Klipper + Moonraker + Mainsail on your printer. - Tags · Rat-OS/RatOS
MDFPereira
MDFPereira3w ago
You are on tags, not on releases https://github.com/Rat-OS/RatOS/releases/download/v2.1.0-RC2/2024-07-27-RatOS-2.1.0-RC2-raspberry-rpi32.img.xz Direct link for RC2 RC3 is un update after flashing and booting RC2 Release candidates work exactly as any other release.
Decorum
Decorum3w ago
That’s exactly what I’m looking for - that’s great! Thanks! I’ll install in the morning. Just built the RatRig Toolhead, new orbiter extruder, EBB42, beacon…. This is the final piece of the puzzle! I have no idea why I couldn’t access that!
MDFPereira
MDFPereira3w ago
Check the documentation. There is a lot of updated info already…
Decorum
Decorum2w ago
It might have something to do with permissions - but I can't see those download assets anywhere on the releases page - and I'm familiar with using Github.
MDFPereira
MDFPereira2w ago
Open ratos github. On the right side near the middle, go to releases. The first one should be RC2. In the bottom of the publication is an arrow to a drop down menu. There are the assets
MDFPereira
MDFPereira2w ago
GitHub
Releases · Rat-OS/RatOS
The preconfigured Raspberry Pi image that makes it easy to run Klipper + Moonraker + Mainsail on your printer. - Rat-OS/RatOS
Decorum
Decorum2w ago
Many thanks for clarifying that - completely understand now. I've flashed the Pi - and working through the updates - but I get this error:
No description
MDFPereira
MDFPereira2w ago
Restart moonraker, hars refresh (ctrl+shift+r). If not, reboot and give it couple minute. Then check for updates.
Decorum
Decorum2w ago
I tried a soft recovery - no luck Hard recovery = this error message at the end: 'Cannot call rmtree on a symbolic link'
Decorum
Decorum2w ago
This is odd:
No description
Decorum
Decorum2w ago
Seems strange to have 2 similar items listed
MDFPereira
MDFPereira2w ago
Thay is normal. But After updating everything correctly only 1 shows. Already told you what to do But with soft recovery you messed ratos up. Does the documentation told you to do it?
Decorum
Decorum2w ago
ok - should i start again and never do the soft recovery?
MDFPereira
MDFPereira2w ago
Already told what to do Now you need to ssh to the pi to recover from the recovery Ssh and send ratos doctor
Decorum
Decorum2w ago
ok - it would actually be cleaner and easier to start again.
MDFPereira
MDFPereira2w ago
If that does not help, ssh and send this kine by line: cd printer_data/config/RatOS git fetch origin git checkout -b v2.1.x origin/v2.1.x sudo ./scripts/ratos-update.sh cd ~/ratos-configurator git fetch origin git checkout -b v2.1.x-deployment origin/v2.1.x-deployment sudo ./scripts/update.sh sudo systemctl restart ratos-configurator sudo systemctl restart klipper sudo systemctl restart moonraker Sure. NEVER EVER do any kind of soft or hard recovery.
Decorum
Decorum2w ago
I'll reflash and follow all your instructions to reboot - i think a few reboots during the updates helped absolutely - I'll avoid these type of updates
MDFPereira
MDFPereira2w ago
It is not un update…

Did you find this page helpful?