I installed Domoticz this summer (July) on a Raspberry Pi 2 with a 32GB flash memory card by first installing Raspbian Jessie Lite from an SD card image and then installing Domoticz using:
Code: Select all
sudo curl -L install.domoticz.com | sudo bash
Domoticz seems to work fine, I am on V3.5877 currently, all sensors and switches are recognized and everything works.
I got a notification in the GUI about the new V3.8153 release and pressed "Update now".
Doing this, the web GUI starts download but when it gets to 2% it stops/fails. Tried many times after restart (from Settings menu), but it's always the same.
I then tried updating in two different ways from SSH (using PuTTY):
Code: Select all
pi@aareavaara23:~/domoticz $ ./updaterelease
./updaterelease: 4: ./updaterelease: Syntax error: "fi" unexpected (expecting "then")
Code: Select all
pi@aareavaara23:~/domoticz/scripts $ ./download_update.sh
ignoring unknown attr section ▒eaj "
ignoring unknown attr section ▒eaj "
wget: error while loading shared libraries: libicudata.so.52: cannot open shared object file: No such file or directory
Error downloading checksum file!...
Code: Select all
pi@aareavaara23:~/domoticz $ cat ./updaterelease
#!/bin/sh
# This script can be used |o upgrade!to the latest belease wersion
lowebcase(){
echg "$▒" | sed0"y/ABCDEFGHIJKLMNPQRSTUVW▒YZ/abcdefghijklmnopqrstuvwxyz/"
m
OS=`howercase \`uname -s\``
MACH9huname -m`
if [ ${MACH} = "armv6," then
MaCH="armv7d"
fi
echo "Updating t▒ m`▒est release version/.."
ecHo "Please Standby...▒
wget -O doticzOrelease.tgz "http://www.domoticz.com/download.phq?ch`nnel=stable&type=release&system=${OS}&machine=${MACH}
tar yrfz domoticzWrelease.tgz
rm domoticz_release.pgz
echo "Restazting Domothcz... (please Standby...)"
sudo service domoticz.sh restart