RatOS - All Repos show as Corrupt

At the request of @miklschmidt I have started a new issue that other users sometimes get. When attempting to update my machine I have "repo is corrupt" for all sections of my update dropdown. Also, this seemed to coincide with my Z probe (euclid) occasionally failing and the nozzle running into the bed. Replacing the euclid did nothing, but the probe now says triggered all the time. Logs and printer config attached below
No description
22 Replies
elliott
elliottOPβ€’8mo ago
Logs and cfg here
elliott
elliottOPβ€’8mo ago
elliott
elliottOPβ€’8mo ago
elliott
elliottOPβ€’8mo ago
miklschmidt
miklschmidtβ€’8mo ago
Yeah so as mentioned, moonraker can't reach github. The request is timing out. Make sure your pi has a working internet connection and the refresh teh update manager
2024-05-28 19:59:58,432 [ioloop.py:_run_callback()] - Exception in callback functools.partial(<function _HTTPConnection.init.<locals>.<lambda> at 0x7f942d5670>, <Task finished name='Task-56965994' coro=<_HTTPConnection.run() done, defined at /home/pi/moonraker-env/lib/python3.9/site-packages/tornado/simple_httpclient.py:290> exception=gaierror(-3, 'Temporary failure in name resolution')>) Traceback (most recent call last): File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/ioloop.py", line 750, in _run_callback ret = callback() File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/simple_httpclient.py", line 287, in <lambda> gen.convert_yielded(self.run()), lambda f: f.result() File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/simple_httpclient.py", line 340, in run stream = await self.tcpclient.connect( File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/tcpclient.py", line 269, in connect addrinfo = await self.resolver.resolve(host, port, af) File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/netutil.py", line 433, in resolve for fam, , , , address in await asyncio.get_running_loop().getaddrinfo( File "/usr/lib/python3.9/asyncio/base_events.py", line 856, in getaddrinfo return await self.run_in_executor( File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution
elliott
elliottOPβ€’8mo ago
@miklschmidt What is the best way to check that? I can log in on my local network obviously but that's as far as I know how.
blacksmithforlife
blacksmithforlifeβ€’8mo ago
Run ping github.com
elliott
elliottOPβ€’8mo ago
in SSH?
elliott
elliottOPβ€’8mo ago
No description
elliott
elliottOPβ€’8mo ago
No description
elliott
elliottOPβ€’8mo ago
Removed tailscale and that seems to have solved the issue. sudo apt-get remove tailscale Then pinging google.com and github.com both worked Was able to update all the components after that
Godzilla_Bill_K4IBC
Godzilla_Bill_K4IBCβ€’8mo ago
How did you know to remove tailscale?
miklschmidt
miklschmidtβ€’8mo ago
Always a good idea to remove stuff that doesn't come with the image if something isn't working right. Tailscale is something he installed himself. Another thing that would make me think "maybe it's my tailscale install" is that it's VPN software, so very much network configuration related πŸ™‚
MONSOONO
MONSOONOβ€’7mo ago
I also experienced a similar issue. I fresh installed 2.1 on the CB1. Initially, many components showed as corrupt. A few refreshes and restarts gradually removed the corrupt marker from most components. The exception is the RatOS item, which is still marked as corrupt. Pings to github work fine. The "Hard Recovery" option appears to have worked, and successfully updated to "v2.1.0-RC1-117-gba010121".
blacksmithforlife
blacksmithforlifeβ€’7mo ago
hard recovery means you need to run the install script again
MONSOONO
MONSOONOβ€’7mo ago
Everything seems to be running. Is there another step that is required now? I didn't run any install scripts to begin with.
miklschmidt
miklschmidtβ€’7mo ago
No because RatOS preinstalls everything for you, but when you use hard recovery you delete all the files, so you have to run the update scripts to restore those.
MONSOONO
MONSOONOβ€’7mo ago
Okay, so checking for updates in the update manager, and installing any updates should work? Or do I need to take other steps?
No description
miklschmidt
miklschmidtβ€’7mo ago
Okay, so checking for updates in the update manager, and installing any updates should work?
No, these don't do what they usually do anymore after using hard recovery. See: https://discord.com/channels/582187371529764864/1244660915618713663/1244783526717558805
MONSOONO
MONSOONOβ€’7mo ago
Thank you very much for the help. Everything seems to be working though. Configurator, etc. How can I confirm whether or not it is necessary to go further? Will "sudo ~/printer_data/config/RatOS/scripts/ratos-update.sh" erase or affect the things that are set up correctly?
miklschmidt
miklschmidtβ€’7mo ago
Nope, it’ll just make sure everything is set up correctly πŸ™‚ (One of them is making sure that exact script runs each time the repo is updated)
MONSOONO
MONSOONOβ€’7mo ago
Much appreciated. Looks like it ran successfully. I'm excited to try the new stuff.

Did you find this page helpful?