My octopi stoped working after update

What is the problem?
I was installing an update with this command (sudo apt-get update && sudo apt-get upgrade --yes) in my terminal. while it was updating it crashed. i can't even get in my OctoPrint with ssh and
http://octopi.local/ also does not work. I was updating it because I installed a plugin for a screen on my raspberry pi and they told mee to update.

What did you already try to solve it?
i unplugged my raspberry pi and tried to restart it that way. I also took an other sd card with octopi installed.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, what kind of hardware precisely, ...)
I am use a raspberry pi B+.

Did it suggest that Python 2 is old perhaps? Is that what you mean by this? If so, then you can safely ignore that one.

This in some cases can result in a corrupted ext4 partition on the microSD card for what it's worth.

If you meant to say 3B+ then that's a newer one. If you actually meant B+ then that's an old one with probably half the RAM.

If you can't remote into it after a restart then starting over with flashing a fresh OctoPi image to your microSD might be your only recourse.

yes the 3b+ and I've already tried to flash a new card but it says now that there is something wrong with it.

I found the solution I just need to change something in a file end everything was fixed!

Thanks for sharing your solution. Now when someone’s OctoPrint stops working we can just tell them to change something in a file. That should fix everything.

3 Likes

We should consider turning this into a guide.

nano ~/.ssh/known_hosts
# remove the line which includes the previously-seen entry for the same hostname or IP address from before
1 Like

hi @OutsourcedGuru,

IMHO is better for removing an old key, to put ssh-keygen -R "hostname" in the guide, the IP or name isn't in plain text

This is the OctoPi key contained in my known_hosts:

|1|vicZefMjg7Tij9ip807717Q2cbg=|8Lc0OHl4HCXlHCSsXhNF3G91CxY= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJtfFSU7gtkjRndOtXIOkwmtnz0N7PtZudD1H6udKZxj5y9EpA+Mm1EuuY8sJLHLa1Gh7XudddU87yP0oYlmYng=

Leo

1 Like

Guys we got his key !!!

:stuck_out_tongue: :smiley:

1 Like

Is my octoprint server public key If you want I can provide you a ton !!!

:wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink: :wink:

Added an entry in the development guide.