-
Notifications
You must be signed in to change notification settings - Fork 1
Upgrading to Raspbian Stretch and Buster
An upgrade from Jessie directly to Buster is not possible. You need to take the route via Stretch.
To upgrade the system from Jessie to Stretch is relatively easy. Use the procedure described here.
To run SmarthomeNG you need to install some Python modules:
sudo su
easy_install3 PIP
pip install PSUTIL
pip install PYAML
pip instalL CHERRYPY
pip install JINJA2
pip install RUAMEL.YAML
pip install PYTHON_DATEUTIL
SmarthomeNG Ver 1.5.1 starts normally after this procedure. Probably you need to import the keys for apt again if the system does not run any further update throwing the NOPUBKEY error. Make sure the rights are set correctly and update the keys:
cd /etc/apt/trusted.gpg.d
sudo chown _apt multistrap.gpg
sudo chown _apt trustdb.gpg
sudo apt-key net-update
If you still get the NOPUBKEY error import the missing key stated in the error message (replace the XXXXXXXXXXXXXXXX with the missing key:
sudo gpg --keyserver pgpkeys.mit.edu --recv-key XXXXXXXXXXXXXXXX
gpg -a --export XXXXXXXXXXXXXXXX | sudo apt-key add -
Use e.g. this procedure to update to Buster: Link
The procedure throws errors for lighttpd and the 1-Wire (ow) package. The lighttpd error is caused by changes in the openssl usage between Stretch and Buster. Instead of fixing this I installed Apache2 which keeps the system more on track towards the "official" SmarthomeNG / smartVISU installation.
Re-install the ow package with
sudo dpkg configure owserver
sudo dpkg configure owhttpd
sudo dpkg configure owftpd
sudo dpkg configure owfs
Note that there seem to be issues with ow under Buster. See this post for details (German).
Install additional packages needed for SmarthomeNG
sudo apt-get install libawl-php php-curl php php-json php-xml php-mbstring
sudo apt-get install python3-pip
sudo python3 -m pip install --upgrade pip
and install the Python modules from the section above again.
To set up SmarthomeNG (and Apache2 for smartVISU) and to update to SmarthomeNG V1.6 use this documentation.