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

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Cognac
Posts: 8
Joined: Sunday 21 February 2016 16:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Newest
Contact:

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

Post 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.
User avatar
tommit01
Posts: 39
Joined: Friday 12 July 2013 14:08
Target OS: Raspberry Pi / ODroid
Domoticz version: multiple
Location: Germany / SL
Contact:

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

Post by tommit01 »

1 x RPi3
4 x RPI
3 x RPi2
1 x RPI2 + Win 10 IoT (experimental device)
2 x RPI2 Raspbian "Jessie" + Domoticz (for tenants)
2 x RPI OSMC @ 1GHz
1 RPi Zero W + Cam NOIR
1 RPi Zero W + Cam
RFXtrx 433 FW 1015
RFXtrx 433 E FW 1020
juankar
Posts: 221
Joined: Saturday 30 August 2014 20:20
Target OS: Linux
Domoticz version: 4.
Location: Spain
Contact:

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

Post 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!!!
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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
Quality outlives Quantity!
User avatar
G3rard
Posts: 669
Joined: Wednesday 04 March 2015 22:15
Target OS: -
Domoticz version: No
Location: The Netherlands
Contact:

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

Post 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 8699 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?
Not using Domoticz anymore
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post by gizmocuz »

cd domoticz
sudo chown -R gerard.gerard *
./updatebeta

Does this work ?
Quality outlives Quantity!
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

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

Post 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.
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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...
Quality outlives Quantity!
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

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

Post by pepijn »

You could upload them to SF once, so also the stables don't need to do a manual upgrade.
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post by gizmocuz »

I know, but there was never before a stable for linux, only the raspberry
Quality outlives Quantity!
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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)
Quality outlives Quantity!
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

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

Post by pepijn »

I updated the script (only) and tested the web update. As expected ... works perfect!
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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
Quality outlives Quantity!
pepijn
Posts: 251
Joined: Friday 12 July 2013 13:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

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

Post 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.
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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)
Quality outlives Quantity!
User avatar
G3rard
Posts: 669
Joined: Wednesday 04 March 2015 22:15
Target OS: -
Domoticz version: No
Location: The Netherlands
Contact:

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

Post 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
Not using Domoticz anymore
User avatar
Siewert308SW
Posts: 288
Joined: Monday 29 December 2014 15:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

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

Post 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...
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post by gizmocuz »

[quote="Siewert308SW"][/quote]

When you say "When" i was trying... was this before or after my patch from above ?
Quality outlives Quantity!
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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)
Quality outlives Quantity!
User avatar
Siewert308SW
Posts: 288
Joined: Monday 29 December 2014 15:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

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

Post by Siewert308SW »

Sorry, forgot to mention that.
Before and after your patch gave the same result.
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest