Page 1 of 2

Update Available !... Update Now? Version #4834

Posted: Wednesday 02 March 2016 13:06
by Cognac
Hi Domoticz friends,

Does anyone know the changes made in build #4834 for Domoticz?

Update is available since this morning for my Rpi2.

Regards,

Wouter

Edit: I will update this evening, after backing up the SD-card.

Re: Update Available !... Update Now? Version #4834

Posted: Wednesday 02 March 2016 16:39
by tommit01

Re: Update Available !... Update Now? Version #4834

Posted: Wednesday 02 March 2016 18:08
by juankar
Just a question about update: my system is running in Ubuntu 14 and when I check update (in the web gui) they always answer that there is not any update. I tried with beta and stable versions in config. It takes less tan a tic to answer, it looks llike it doesn't check if theres is updates!!!

Re: Update Available !... Update Now? Version #4834

Posted: Wednesday 02 March 2016 19:18
by gizmocuz
juankar wrote:Just a question about update: my system is running in Ubuntu 14 and when I check update (in the web gui) they always answer that there is not any update. I tried with beta and stable versions in config. It takes less tan a tic to answer, it looks llike it doesn't check if theres is updates!!!
Are you on an Ubuntu 64 bit ? I think you should now also get updates for beta/stable after you install the next release

Re: Update Available !... Update Now? Version #4834

Posted: Thursday 03 March 2016 22:07
by G3rard
gizmocuz wrote:Are you on an Ubuntu 64 bit ? I think you should now also get updates for beta/stable after you install the next release
I have Domoticz also on a Ubuntu (server) 64 bit. I am on version 3.4834 and it shows that there is an update available (beta channel enabled).
update.jpg
update.jpg (50.9 KiB) Viewed 9067 times
When I click Update now it gives the error shown in the picture above.

The log shows:

Code: Select all

2016-03-03 21:50:26.151 Starting Upgrade progress...
2016-03-03 21:50:26.151 Starting: /home/gerard/domoticz/scripts/download_update.sh /home/gerard/domoticz/ /beta
When I start the script manually it shows:

Code: Select all

gerard@ubuntu-test:~/domoticz/scripts$ sh download_update.sh /home/gerard/domoticz/ /beta
update.tgz.sha256sum: Permission denied
Error downloading checksum file!...
gerard@ubuntu-test:~/domoticz/scripts$
From the script:
uname -s: Linux
uname -m: x86_64

Can I try anything to get this to work?

Re: Update Available !... Update Now? Version #4834

Posted: Friday 04 March 2016 7:55
by gizmocuz
cd domoticz
sudo chown -R gerard.gerard *
./updatebeta

Does this work ?

Re: Update Available !... Update Now? Version #4834

Posted: Friday 04 March 2016 15:39
by pepijn
Same issue here, it looks like the script tries to download
http://domoticz.sourceforge.net/domotic ... .sha256sum

The file does not exists on SF? When try to download it manually i also get a 404 error.

Re: Update Available !... Update Now? Version #4834

Posted: Friday 04 March 2016 17:21
by gizmocuz
Your correct, this script needs updating.
Will do asap!

Never checked it because i was always downloading/testing under windows, which did not use this script...

Re: Update Available !... Update Now? Version #4834

Posted: Friday 04 March 2016 17:59
by pepijn
You could upload them to SF once, so also the stables don't need to do a manual upgrade.

Re: Update Available !... Update Now? Version #4834

Posted: Friday 04 March 2016 18:01
by gizmocuz
I know, but there was never before a stable for linux, only the raspberry

Re: Update Available !... Update Now? Version #4834

Posted: Friday 04 March 2016 18:10
by gizmocuz
The download script has been updated and can be viewed here

https://github.com/domoticz/domoticz/bl ... _update.sh

but the download speed from sourceforge is to slow at the moment (at least here it takes 3 minutes to download 12mb)
maybe because our new image is downloaded more then 1000 times

Ubuntu/Linux users can also update with SSH to the box
cd domoticz
./updatebeta

(this is the same for all supported platforms)

Re: Update Available !... Update Now? Version #4834

Posted: Friday 04 March 2016 21:48
by pepijn
I updated the script (only) and tested the web update. As expected ... works perfect!

Re: Update Available !... Update Now? Version #4834

Posted: Friday 04 March 2016 22:29
by gizmocuz
It is using our new server now :D
Still needs some double checking
Also jumping to the new beta is risky at the moment
Current changes have not been verified enough
But if all works good....Maybe the changes worked :D

Re: Update Available !... Update Now? Version #4834

Posted: Friday 04 March 2016 22:35
by pepijn
Let's see how the Hobbit will perform ;)
I'm using the beta channel now, but have been using the beta builds from the build system for some months now. So ... let's see what will happen.

Re: Update Available !... Update Now? Version #4834

Posted: Saturday 05 March 2016 9:24
by gizmocuz
Update problem from the gui is now solved, if anyone experience this, you need to check/update from the web gui twice (one time only)

Re: Update Available !... Update Now? Version #4834

Posted: Saturday 05 March 2016 10:06
by G3rard
Just updated Domoticz on my Ubuntu server via the GUI. After the second update Domoticz is offline.
Via SSH I saw Domoticz was not running, when trying to start it I get the following error:

Code: Select all

gerard@ubuntu-test:~$ sudo service domoticz.sh status
 * domoticz is not running
gerard@ubuntu-test:~$ sudo service domoticz.sh start
/home/gerard/domoticz/domoticz: error while loading shared libraries: libboost_t                            hread.so.1.55.0: cannot open shared object file: No such file or directory

Re: Update Available !... Update Now? Version #4834

Posted: Saturday 05 March 2016 10:20
by Siewert308SW
gizmocuz wrote:It is using our new server now :D
Still needs some double checking
Also jumping to the new beta is risky at the moment
Current changes have not been verified enough
But if all works good....Maybe the changes worked :D
As you mentioned didn't work when i was trying to update from 4834 beta to 4858 beta.
When hitting the update button in the gui it says downloading but after 2% is starts updating.
Then 2 seconds later it says i have a internet connection failure.

Then i tried a manual ./updatebeta and gave me the following error

Code: Select all

pi@domoticz:~/domoticz $ ./updatebeta
Updating to latest beta version...
Please Standby...
--2016-03-05 10:15:20--  http://www.domoticz.com/download.php?channel=beta&type=release&system=linux&machine=armv6l
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... 302 Found
Location: http://www.domoticz.com/releases/beta/domoticz_linux_armv6l.tgz [following]
--2016-03-05 10:15:20--  http://www.domoticz.com/releases/beta/domoticz_linux_armv6l.tgz
Reusing existing connection to www.domoticz.com:80.
HTTP request sent, awaiting response... 404 Not Found
2016-03-05 10:15:20 ERROR 404: Not Found.


gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Restarting Domoticz... (please standby...)
pi@domoticz:~/domoticz $
So i downloaded the beta tgz file from the website and updated it manually.
Now i on 4858...

Re: Update Available !... Update Now? Version #4834

Posted: Saturday 05 March 2016 10:39
by gizmocuz
[quote="Siewert308SW"][/quote]

When you say "When" i was trying... was this before or after my patch from above ?

Re: Update Available !... Update Now? Version #4834

Posted: Saturday 05 March 2016 10:41
by gizmocuz
G3rard wrote:Just updated Domoticz on my Ubuntu server via the GUI. After the second update Domoticz is offline.
Via SSH I saw Domoticz was not running, when trying to start it I get the following error:

Code: Select all

gerard@ubuntu-test:~$ sudo service domoticz.sh status
 * domoticz is not running
gerard@ubuntu-test:~$ sudo service domoticz.sh start
/home/gerard/domoticz/domoticz: error while loading shared libraries: libboost_t                            hread.so.1.55.0: cannot open shared object file: No such file or directory
How did you install Domoticz ?
I assume it is not from the binary install as said on the wiki ?
Because then you should have experienced this problem at the start.

It means you need to have boost 1.55, but actually the build system should link these libraries statically,
the user who created the build script for linux did not specify this.
This is one of the reasons why i link as much as possible statically for the raspberry pi, dont want to have this problem.

If you build from source code, i suggest to update the code, and build
(or install boost 1.55 for now)

Re: Update Available !... Update Now? Version #4834

Posted: Saturday 05 March 2016 10:43
by Siewert308SW
Sorry, forgot to mention that.
Before and after your patch gave the same result.