Upgraded to Python3 - how to update Octoprint to latest when UI doesn't allow

What is the problem?

Haven't found the process to update Octoprint outside of the User Interface in the Python3 environment.

What did you already try to solve it?

went through FAQ
Searched the questions.

Have you tried running in safe mode?

no

Did running in safe mode solve the problem?

nooctoprint-systeminfo-20211104055236.zip (51.5 KB)

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

raspberry pi 4

Hello @ZinBasil !

Do you get any error messages?

Also this:

Please try

env.python.pip: 18.1

It will surely have told you that your pip version is too old. To solve this, SSH into your OctoPi, then run

~/oprint/bin/pip install -U pip

and then restart OctoPrint. Then in the Software Update setting, click on Advanced Options and hit "Force refresh":

This is also covered in the FAQ:

By the way - I recently updated the Python 3 script to update pip as well, but I guess there's a few thousand people who've already used it using an older pip version.

2 Likes

I noticed, after reading this I was about to send you a PR but then saw you had already done the needful :grinning_face_with_smiling_eyes:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.