all repos corrupt..anyone knows why?
this happened twice. last time i reinstalled everything.
so yesterday it wass all fine, all files clean and healthy
15 Replies
How old is your SD card? What brand SD card is it?
When shutting down the pi, do you do a clean shutdown via the mainsail interface?
its less then year old, sundisk. good quality sd card. my pi is always on, on all printers. printer works btw but if i repair all repos then it will be dead..
It's likely because your pi can't reach github. Please post your moonraker.log.
thank you for fast reply! here is log file.
2024-03-27 00:00:14,468 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'moonraker': Timeout while connecting
2024-03-27 00:00:41,492 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'klipper': Timeout while connecting
2024-03-27 00:01:08,512 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'ratos': Timeout while connecting
2024-03-27 00:01:35,528 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'mainsail': Timeout while connecting
2024-03-27 00:30:14,471 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'moonraker': Timeout while connecting
2024-03-27 00:30:41,489 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'klipper': Timeout while connecting
2024-03-27 00:31:08,507 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'ratos': Timeout while connecting
2024-03-27 00:31:35,531 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'mainsail': Timeout while connecting
2024-03-27 01:00:14,469 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'moonraker': Timeout while connecting
2024-03-27 01:00:41,485 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'klipper': Timeout while connecting
2024-03-27 01:01:08,505 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'ratos': Timeout while connecting
2024-03-27 01:01:35,521 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'mainsail': Timeout while connecting
2024-03-27 01:30:14,473 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'moonraker': Timeout while connecting
2024-03-27 01:30:41,489 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'klipper': Timeout while connecting
2024-03-27 01:31:08,506 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'ratos': Timeout while connecting
2024-03-27 01:31:35,525 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'mainsail': Timeout while connecting
2024-03-27 02:00:14,473 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'moonraker': Timeout while connecting
2024-03-27 02:00:41,491 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'klipper': Timeout while connecting
2024-03-27 02:01:08,510 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'ratos': Timeout while connecting
2024-03-27 02:01:35,529 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'mainsail': Timeout while connecting
2024-03-27 02:30:14,474 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'moonraker': Timeout while connecting
2024-03-27 02:30:41,493 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'klipper': Timeout while connecting
2024-03-27 02:31:08,519 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'ratos': Timeout while connecting
2024-03-27 02:31:35,539 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'mainsail': Timeout while connecting
2024-03-27 03:00:14,474 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'moonraker': Timeout while connecting
2024-03-27 03:00:41,493 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'klipper': Timeout while connecting
2024-03-27 03:01:08,513 [announcements.py:_fetch_moonlight()] - Failed to update subscription 'ratos': Timeout while connecting
It can't reach github
Put it on the internet and refresh the update manager and your repo's will stop being corrupted. See my related moonraker issue here: https://github.com/Arksine/moonraker/issues/830
GitHub
Ensure time is synced before refreshing the update manager status. ...
Is your feature request related to a problem? Please describe From my analysis of a few cases of "corrupt" repositories (they're not actually corrupt) on fresh sd cards, it looks like...
thank you!
In this case the time is fine on the pi, but it can't connect to github
i am not shure why i have this issue but il' try to figure it out
Is the pi connected to wifi with an active internet connection?
yeah
then try this:
and
yeah i have some issues with github. Not shure why tho, everything works.
Last login: Wed Mar 27 16:32:45 2024 from fe80::ce5:f19c:dc07:9d65%wlan0
pi@ratos:~ $ ping github.com
PING github.com (140.82.121.4) 56(84) bytes of data.
^C
--- github.com ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8296ms
Well, not much i can do from here, check from your other devices maybe?
i will figure it out. thank you for helping me, atleast i know where to start now. 🙂