How can I roll back to an earlier version after an update?

updating
#1

:spiral_notepad: Note

This describes the generic steps for a manual install. If you are running OctoPi please see this article instead.

Simply run

/path/to/OctoPrint/venv/bin/pip install https://github.com/foosel/OctoPrint/archive/<version>.zip

and then restart the server.


If you are tracking git commits instead of releases, you'll instead want to modify your checked out copy and install that. The following assumes you want to downgrade your OctoPrint installation setup (which you set up following the general installation instructions or one of the setup guides on the wiki) to <old_version>. Your checkout folder is at /path/to/OctoPrint.

cd /path/to/OctoPrint
source venv/bin/activate
git fetch
git checkout master
git reset --hard <old_version>
python setup.py clean
pip install .

Then restart OctoPrint.

:spiral_notepad: Note

If you did not follow the general installation instructions or any of the manual setup guides on the wiki, you might have to adjust the path to the virtual environment into which you installed OctoPrint (venv in the above steps).

1 Like
Poor Print Quality MP Mini Delta Octoprint vs SD Card
Poor Print Quality MP Mini Delta Octoprint vs SD Card