Everyone,
please pay close attention to
Do not upgrade 2016-11-11
I want to emphasize, that apt upgrade is currently in fact breaking your openHAB system.
This is a short time error which will probably be solved soon.
Please stay clear from upgrading for a couple of days.
A fresh openHABian installation will also be unable to start openHAB.
In all cases this is only a temporary problem and you will be able to apt upgrade to the soon to be released working release.
Update - Fix available 2016-11-13
A solution is available.
- New installations are no problem anymore.
- Users who did an upgrade in between and are desperately waiting for an upgrade: Do it now!
sudo apt update && sudo apt -y upgrade - Users still on a previous build, you may also update now.
Everyone: There might still be smaller problems. If you are on a stable setup right now, it wouldn’t hurt to wait for a few more days for things to settle…
If you have all or most settings for your system in the configuration folder under /etc/openhab2/ it’s also a good idea to do a clean reinstallation:
# Make backup
cp -arp /etc/openhab2 /home/pi/openhab2-conf-bak
# Remove and reinstall openHAB
sudo apt update
sudo apt purge openhab2-offline
sudo apt install openhab2-offline
# Restore Backup
#sudo rm -rf /etc/openhab2
sudo cp -arp /home/pi/openhab2-conf-bak /etc/openhab2
sudo systemctl restart openhab2.service
Additional openHABian step: You will see this error:
I’ve already implemented the needed changes in openHABian. Please execute sudo openhabian-config, then first select “Update” to retrieve these changes, then select “Basic Setup” to apply them to your system.