Octoprint and Octodash

Updating OctoDash

There are a number of ways to easily update OctoDash. You can update from a script, manually, or (as over Version 2.x) you can update right from the OctoDash application.

Update from OctoDash

The best (and recommended way) is to update right from within the application. This method may be already setup for you. If you used te OctoDash install script when you first installed it, it asks if you want the it to create the auto-update. If you has deleted yes, then this is already done for you and you can just update. This section will explain how to setup the in application update just incase you answered, no or did the install manually.

There are some security implications to setting this up that you should be aware of first. The script that does ht e update, will need root privileges in order to install the package. This is done by using sudo and allowing the script to run as root without a password. If you are security conscious or your OctoDash install is available to the internet (it shouldn’t be) then this might not be for you. For those of us that run OctoDash internally on a device that is only locally accessible, then the risk is low.

Setup for in OctoDash Updates

Create the update script ~/scripts/update-octodash like the following:


dpkg -i /tmp/octodash.deb
rm /tmp/octodash.deb

Make the script executable:

$ sudo chmod +x ~/scripts/update-octodash

Enable the script to be run from sudo without a password. Create the file /etc/sudoers.d/update-octodash with the following in it:

pi ALL=NOPASSWD: /home/pi/scripts/update-octodash

Updates from within OctoDash should now work.

Update with the Update Script

Another way to upgrade OctoDash is with the update script. You can manually fetch the update script from here if your OctoDash system does not have internet access or (even easier) can be pulled and run as one step (shown below).

$ bash <(wget -qO- https://github.com/UnchartedBull/OctoDash/raw/main/scripts/update.sh)

Manual Update

You can manually download the latest version of OctoDash and apply the package yourself. This is not my prefered way because you will have to know what the latest version is and then fetch the correct link to grab the latest. As of this article, the latest version is 2.3.0 so this is the procedure to install the 2.3.0 version.

$ wget -O octodash.deb https://github.com/UnchartedBull/OctoDash/releases/download/v2.0.0/octodash_2.0.0_armv7l.deb
$ sudo dpkg -i octodash.deb
$ sudo reboot

Leave a Comment

Your email address will not be published. Required fields are marked *