Domoticz Update failed

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
salopette
Posts: 46
Joined: Tuesday 07 March 2017 22:03
Target OS: Raspberry Pi
Domoticz version: V3.6882
Location: Germany
Contact:

Domoticz Update failed

Post by salopette » Wednesday 10 October 2018 18:12

Version V4.9700 last BETA
Platform: Pi
Plugin/hardware: RF Link


pi@raspberry3:~ $ curl -L install.domoticz.com | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 194 100 194 0 0 787 0 --:--:-- --:--:-- --:--:-- 785
100 16257 100 16257 0 0 26196 0 --:--:-- --:--:-- --:--:-- 26196
:::
::: You are root.
::: Update option selected.
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with Domoticz installation...
::: Checking for apt-utils... installed!
::: Checking for whiptail... installed!
::: Checking for git... installed!
::: Checking for curl... installed!
::: Checking for libcurl3... installed!
::: Checking for unzip... installed!
::: Checking for wget... installed!
::: Checking for sudo... installed!
::: Checking for cron... installed!
::: Checking for libudev-dev... installed!
::: Downloading Domoticz
::: Current User: pi
::: Destination folder=/home/pi/domoticz
--2018-10-10 18:07:40-- http://www.domoticz.com/download.php?channel=release&ty pe=release&system=linux&machine=armv7l
Auflösen des Hostnamens »www.domoticz.com (www.domoticz.com)« … 185.27.142.198
Verbindungsaufbau zu www.domoticz.com (www.domoticz.com)|185.27.142.198|:80 … ve rbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 Moved Permanently
Platz: https://www.domoticz.com/download.php?c ... ase&system =linux&machine=armv7l [folgend]
--2018-10-10 18:07:40-- https://www.domoticz.com/download.php?channel=release&t ype=release&system=linux&machine=armv7l
Verbindungsaufbau zu www.domoticz.com (www.domoticz.com)|185.27.142.198|:443 … v erbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Moved Temporarily
Platz: https://releases.domoticz.com/releases/ ... armv7l.tgz [folgend]
--2018-10-10 18:07:40-- https://releases.domoticz.com/releases/release/domoticz _linux_armv7l.tgz
Auflösen des Hostnamens »releases.domoticz.com (releases.domoticz.com)« … 2a03:b 0c0:0:1010::480:1001, 146.185.159.228
Verbindungsaufbau zu releases.domoticz.com (releases.domoticz.com)|2a03:b0c0:0:1 010::480:1001|:443 … ^C
pi@raspberry3:~ $ cd domoticz
pi@raspberry3:~/domoticz $ sudo ./domoticz
2018-10-10 18:09:05.376 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
2018-10-10 18:09:05.377 Status: Build Hash: a3a45906, Date: 2018-06-23 16:24:51
2018-10-10 18:09:05.377 Status: Startup Path: /home/pi/domoticz/
2018-10-10 18:09:05.384 Error: Database incompatible with this Domoticz version . (You cannot downgrade to an old Domoticz version!)

Koensk
Posts: 44
Joined: Friday 25 September 2015 9:23
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Domoticz Update failed

Post by Koensk » Wednesday 10 October 2018 19:23

Whats your question?

Verstuurd vanaf mijn moto x4 met Tapatalk


SweetPants
Posts: 2351
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10216
Location: The Netherlands
Contact:

Re: Domoticz Update failed

Post by SweetPants » Wednesday 10 October 2018 20:28

V4.9700 is NOT last beta. V4.10055 is (10/10/2018)
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

salopette
Posts: 46
Joined: Tuesday 07 March 2017 22:03
Target OS: Raspberry Pi
Domoticz version: V3.6882
Location: Germany
Contact:

Re: Domoticz Update failed

Post by salopette » Wednesday 10 October 2018 20:50

I can not make an update on the WebUi, which shows update is available, starts to load it down and then comes an error

I have the last beta V4.10053 from this afternoon

Koensk
Posts: 44
Joined: Friday 25 September 2015 9:23
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Domoticz Update failed

Post by Koensk » Wednesday 10 October 2018 21:12

Have you tried to update using ssh?

Verstuurd vanaf mijn moto x4 met Tapatalk


SweetPants
Posts: 2351
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10216
Location: The Netherlands
Contact:

Re: Domoticz Update failed

Post by SweetPants » Thursday 11 October 2018 11:15

cd ~/domoticz
./updatebeta
sudo systemctl restart domoticz.service
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

salopette
Posts: 46
Joined: Tuesday 07 March 2017 22:03
Target OS: Raspberry Pi
Domoticz version: V3.6882
Location: Germany
Contact:

Re: Domoticz Update failed

Post by salopette » Thursday 11 October 2018 16:32

yes ssh can do that, but web ui does not work anymore and i do not know why?

Koensk
Posts: 44
Joined: Friday 25 September 2015 9:23
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Domoticz Update failed

Post by Koensk » Thursday 11 October 2018 19:34

And if you sudo reboot? Does your web ui work again?

Verstuurd vanaf mijn moto x4 met Tapatalk


salopette
Posts: 46
Joined: Tuesday 07 March 2017 22:03
Target OS: Raspberry Pi
Domoticz version: V3.6882
Location: Germany
Contact:

Re: Domoticz Update failed

Post by salopette » Thursday 11 October 2018 20:49

yes, when Pi restarts, Domoticz works

Mr-Leo
Posts: 23
Joined: Monday 24 November 2014 9:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz Update failed

Post by Mr-Leo » Friday 12 October 2018 14:42

Got the same problem, looks like there is a problem connecting to releases.domoticz.com

Updating from domoticz:
Error while downloading Update,
check your internet connection or try again later !...

Updating from ssh (./updatebeta)
Connecting to releases.domoticz.com (releases.domoticz.com)|2a03:b0c0:0:1010::480:1001|:443... (time out)

Vox1100
Posts: 4
Joined: Monday 31 October 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz Update failed

Post by Vox1100 » Saturday 13 October 2018 9:47

Got the same problem.

Updating from domoticz:
Error while downloading Update,
check your internet connection or try again later !...

Updating from ssh (./updatebeta) oké

SweetPants
Posts: 2351
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10216
Location: The Netherlands
Contact:

Re: Domoticz Update failed

Post by SweetPants » Saturday 13 October 2018 11:51

Looks like the site is hacked? http://releases.domoticz.com produces a comodore 64 blue screeen
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

Vox1100
Posts: 4
Joined: Monday 31 October 2016 23:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz Update failed

Post by Vox1100 » Sunday 14 October 2018 12:48

Its Hackt?
Attachments
7CE7B394-BE50-4609-925E-8D475581B694.jpeg
Commodore 64?
Commodore 64?
7CE7B394-BE50-4609-925E-8D475581B694.jpeg (231.48 KiB) Viewed 779 times

harolds
Posts: 13
Joined: Saturday 22 April 2017 13:47
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Domoticz Update failed

Post by harolds » Sunday 14 October 2018 15:36

Looks like its been hacked... The IPv6 download does not work anymore. Force using the IPv4 via /etc/hosts does fix the download issue (for now):

/etc/hosts:
146.185.159.228 releases.domoticz.com

I do hope that the domoticz release images are not compromised (we don't want to have some trojan in our home control software!)

NeoMod
Posts: 23
Joined: Friday 07 July 2017 22:02
Target OS: Raspberry Pi
Domoticz version: Latest β
Location: Italy
Contact:

Re: Domoticz Update failed

Post by NeoMod » Tuesday 16 October 2018 17:43

I noticed the same error, I tought the "commodore 64" screen was standard for domoticz update server but now I find this post... :?: :o

I hope they will soon fix the issue. Update via ssh works but requires a full reboot after each new update.

jake
Posts: 486
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

Re: Domoticz Update failed

Post by jake » Tuesday 16 October 2018 22:10


NeoMod wrote: I hope they will soon fix the issue. Update via ssh works but requires a full reboot after each new update.
Why the full reboot? ./updatebeta will start the domoticz service by itself. If not, simply run:
sudo service domoticz start

Other options are:
status
stop
restart

salopette
Posts: 46
Joined: Tuesday 07 March 2017 22:03
Target OS: Raspberry Pi
Domoticz version: V3.6882
Location: Germany
Contact:

Re: Domoticz Update failed

Post by salopette » Thursday 18 October 2018 17:37

is this a Domoticz problem or Pi?
Is there a solution apart from SSH?

NeoMod
Posts: 23
Joined: Friday 07 July 2017 22:02
Target OS: Raspberry Pi
Domoticz version: Latest β
Location: Italy
Contact:

Re: Domoticz Update failed

Post by NeoMod » Sunday 21 October 2018 16:59

jake wrote:
Tuesday 16 October 2018 22:10
NeoMod wrote: I hope they will soon fix the issue. Update via ssh works but requires a full reboot after each new update.
Why the full reboot? ./updatebeta will start the domoticz service by itself. If not, simply run:
sudo service domoticz start

Other options are:
status
stop
restart
Because after ./updatebeta 7ven if the log shows a domoticz restart and domoticz appears to be running (sudo service domoticz status shows the service up and running but there is no listening process on the dedicated port) the service is not accepting incoming connections.

Only solution is to force a system reboot. I haven't tested with the latest update because v. 4.10075 it's stable for my needs and it seems update issue hasn't been addressed.

(and I'm sure the system works as expected because I'm running other software on the same raspberry, like EAP Controller and UNIFY Controller, and everything is working fine)

NeoMod
Posts: 23
Joined: Friday 07 July 2017 22:02
Target OS: Raspberry Pi
Domoticz version: Latest β
Location: Italy
Contact:

Re: Domoticz Update failed

Post by NeoMod » Sunday 21 October 2018 17:02

salopette wrote:
Thursday 18 October 2018 17:37
is this a Domoticz problem or Pi?
Is there a solution apart from SSH?
It is a domoticz-related issue, or to be precise it is related to the update server.

As mentioned by harolds temporary solution is to force update via IPv4:
harolds wrote:
Sunday 14 October 2018 15:36
Looks like its been hacked... The IPv6 download does not work anymore. Force using the IPv4 via /etc/hosts does fix the download issue (for now):

/etc/hosts:
146.185.159.228 releases.domoticz.com

I do hope that the domoticz release images are not compromised (we don't want to have some trojan in our home control software!)

rednas
Posts: 145
Joined: Tuesday 20 October 2015 12:23
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands
Contact:

Re: Domoticz Update failed

Post by rednas » Wednesday 24 October 2018 20:44

Does someone know when it will be fixed?
Has there been a statement or something that they are hacked?
I am having the exact same problem..

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest