Cannot update RatOS components
I did a fresh image of the V1.2.4 to a 32GB microSD card and have performed these steps via the Mainsail web interface:
* Compiled firmware
* Run vcore 3 intall script
* Basic printer movements work as expected, printer homes and can do bed levelling correctly
I have done some very simple changes in printer.cfg to allow the 4028 fan to run in PWM mode:
[fan]
pin: !fan_part_cooling_pin
cycle_time: 0.00004
tachometer_pin: ^PD13
tachometer_poll_interval: 0.0005
However, I see the following in the Update Manager, and not sure how to move on from here. How do I repair these components?
![No description](https://cdn.answeroverflow.com/1060859130933411920/image.png)
12 Replies
Do you have a spotty internet connection? It will say
INVALID
while it is trying to connect to github to get version informationsunny-green•2y ago
It's usually pretty good, but unsure if the wifi on the RPi is strong. All other activity seems to be ok.
please post your moonraker.log
sunny-green•2y ago
Here it is.
Looks like SD card corruption from the logs. Please try the following (open your command promt, win + r, enter cmd and hit enter, then execute the commands below) and paste the output:
After that, show me the results of:
sunny-green•2y ago
git -C /home/pi/klipper_config/.theme fetch origin --prune --progress
error: object file .git/objects/ec/b547c03640e68543b872191479a50116f74bc5 is empty
error: object file .git/objects/ec/b547c03640e68543b872191479a50116f74bc5 is empty
fatal: loose object ecb547c03640e68543b872191479a50116f74bc5 (stored in .git/objects/ec/b547c03640e68543b872191479a50116f74bc5) is corrupt
fatal: the remote end hung up unexpectedly
Filesystem Size Used Avail Use% Mounted on
/dev/root 30G 6.0G 22G 22% /
devtmpfs 340M 0 340M 0% /dev
tmpfs 373M 0 373M 0% /dev/shm
tmpfs 373M 5.1M 368M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 373M 0 373M 0% /sys/fs/cgroup
/dev/mmcblk0p1 253M 49M 204M 20% /boot
tmpfs 75M 0 75M 0% /run/user/1000
What kind of SD card(like manufacturer)? How old is it?
sunny-green•2y ago
It's a SanDisk Ultra, not sure of vintage tbh. I do have a new-in-pack Kingston "CANVAS Select Plus" (?) I can try. I'll need to wait for my print to finish.
SanDisk is pretty good, but no SD card lasts forever. You also shutdown the printer through the web UI and then wait 10 seconds before cutting the power to your raspberry pi right?
sunny-green•2y ago
Yes, long time Unix user 🙂 - always shutdown before turning off. The issue appeared basically on first run. I will try a new SD card.
Fairly sure that'll fix it 🙂
sunny-green•2y ago
So, my NIP SD card kept failing the verification step from the imaging. I rustled up an older 16GB SanDisk card and that seems to be working.