Note
The following assumes you are tracking releases (the default) and not git commits. If you are doing the latter, please refer to the note at the end of this article.
You'll first need to ssh into your Pi or optionally connect it to an external keyboard and monitor and open a command line terminal.
Warning
Do not use
sudo
for thepip
command below!If you need
sudo
in order to update OctoPrint, you broke something on your OctoPi installation (probably by usingsudo
accidentally earlier) and you need to fix your permissions, not just blindly putsudo
in front of commands until stuff works.
~/oprint/bin/pip install https://github.com/OctoPrint/OctoPrint/archive/<old_version>.zip
sudo service octoprint restart
Replace <old_version>
above by the version you want to downgrade to, e.g. 1.3.6
.
You'll want to click "Ignore" on the update notification. If you want to update to the current OctoPrint version at a later date again, you can do so via the Software Update plugin in the Settings dialog or manually.
If you are tracking git commits instead of releases, you'll instead want to modify your checked out copy and install that:
cd ~/OctoPrint
source ~/oprint/bin/activate
git reset --hard <old_version>
python setup.py clean
pip install .
sudo service octoprint restart