Page 1 of 1

problem updating dev version

Posted: Tuesday 09 October 2018 21:09
by JanJaap
Hi,

I'm currently running V4.10038 on Raspberry Pi. When I try to update via the pop-up, it starts the counter as normal, but when it reaches 100%, it displays the error like 'cannot update check internet connection'. At the last attempt, Domoticz even froze. Had to reboot via Putty. In between these attempts IO rebooted the Pi as well.

Is this a known issue?
Can I update via command prompt?

Re: problem updating dev version

Posted: Tuesday 09 October 2018 21:32
by waaren
JanJaap wrote: Tuesday 09 October 2018 21:09 I'm currently running V4.10038 on Raspberry Pi. When I try to update via the pop-up, it starts the counter as normal, but when it reaches 100%, it displays the error like 'cannot update check internet connection'. At the last attempt, Domoticz even froze. Had to reboot via Putty. In between these attempts IO rebooted the Pi as well.

Is this a known issue?
Can I update via command prompt?
I just updated to latest Beta from V4.10038 via the pop-up method so it is not a generic issue.
What do you see if you enter

Code: Select all

lowercase(){     echo "$1" | sed "y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/"; }
OS=`lowercase \`uname -s\``
MACH=`uname -m`
if [ ${MACH} = "armv6l" ]; then  MACH="armv7l"; fi
sudo wget -O domoticz_beta.tgz --no-check-certificate "http://www.domoticz.com/download.php?channel=beta&type=release&system=${OS}&machine=${MACH}"
on the command line ?

Re: problem updating dev version

Posted: Tuesday 09 October 2018 22:36
by JanJaap
I copied all of the mentioned commands to the command line at once amd the result is below (hope I did that correctly)

Code: Select all

--2018-10-09 22:32:37--  http://www.domoticz.com/download.php?channel=beta&type=release&system=linux&machine=armv7l
Resolving www.domoticz.com (www.domoticz.com)... 185.27.142.198
Connecting to www.domoticz.com (www.domoticz.com)|185.27.142.198|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.domoticz.com/download.php?channel=beta&type=release&system=linux&machine=armv7l [following]
--2018-10-09 22:32:37--  https://www.domoticz.com/download.php?channel=beta&type=release&system=linux&machine=armv7l
Connecting to www.domoticz.com (www.domoticz.com)|185.27.142.198|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://releases.domoticz.com/releases/beta/domoticz_linux_armv7l.tgz [following]
--2018-10-09 22:32:37--  https://releases.domoticz.com/releases/beta/domoticz_linux_armv7l.tgz
Resolving releases.domoticz.com (releases.domoticz.com)... 2a03:b0c0:0:1010::480:1001, 146.185.159.228
Connecting to releases.domoticz.com (releases.domoticz.com)|2a03:b0c0:0:1010::480:1001|:443...
Btw: I did apt-get update, now the update of domoticz works fine again. Thanks anyway!