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
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.
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.
oo, that I've got NO clue
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.
Apologies if this is a really basic question - but where are the assets for RatOS 2.1? Is there a single image to download?
You open the github pages and look for releases on the right side.
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
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.
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!
Check the documentation. There is a lot of updated info already…
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.
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
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
Many thanks for clarifying that - completely understand now.
I've flashed the Pi - and working through the updates - but I get this error:
Restart moonraker, hars refresh (ctrl+shift+r). If not, reboot and give it couple minute. Then check for updates.
I tried a soft recovery - no luck
Hard recovery = this error message at the end: 'Cannot call rmtree on a symbolic link'
This is odd:
Seems strange to have 2 similar items listed
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?
ok - should i start again and never do the soft recovery?
Already told what to do
Now you need to ssh to the pi to recover from the recovery
Ssh and send
ratos doctor
ok - it would actually be cleaner and easier to start again.
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.
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
It is not un update…