Upgrade from Jessie to Stretch

Below are a list of commands to run to upgrade from Jessie to Stretch. I have not noticed any side effects of upgrading yet, but please post here if you do.

Befoe you begin backup your invite code:

cat /etc/myDevices/AppSettings.ini

Copy the value after InviteCode and Id then run the commands below.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo nano /etc/apt/sources.list
    edit anywhere you see jessie to stretch
sudo nano /etc/apt/sources.list.d/raspi.list
    edit anywhere you see jessie to stretch
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt autoremove
sudo apt update

sudo apt autoremove seems to remove some things needed by Cayenne, so re-run your Cayenne setup script if you still have it. If not, use the commands below replacing the x’s with the InviteCode from earlier.

wget https://cayenne.mydevices.com/dl/rpi_xxxxxxxxxx.sh
sudo bash rpi_xxxxxxxxxx.sh -v
3 Likes

I have a spare raspberry and can test these days :slight_smile: