Upgrade quesiton

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

Moderators: leecollings, remb0

Post Reply
pfer10
Posts: 9
Joined: Sunday 08 February 2015 16:27
Target OS: Linux
Domoticz version:
Contact:

Upgrade quesiton

Post by pfer10 »

I use to run Domoticz on a RaspberryPi. After a year and a SD card crash I decided to install on Ubuntu 12.04 LTS server that I had running. It looks like I did this back in Feb 2015. When I use the web interface to check for updates it says there is no upgrade available.

When I check the HISTORY.txt file I have Version 2.0.xxxx (January xxth 2015) as the newest entry. I can't remember what I did back then but it looks like I have two folders. ~/domoticz seems to be where the program is running from. I also have a dump directory (temp directory) where it looks like I downloaded and compiled domoticz (has cmake files etc).

I have tried the updatedomo in the directory with all the cmake stuff and I have tried the update_domoticz under the scripts directory where I am running Domoticz at. I get

Code: Select all

tar (child): update.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
What is the best way to get to the newest version?
User avatar
gizmocuz
Posts: 2510
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Upgrade quesiton

Post by gizmocuz »

i hope at that time domoticz was already on github.
If so, in your dump folder, you could issue

git pull
make -j 4

that should compile domoticz

Otherwise it might be best to just install the binary:

Code: Select all

mkdir test-domoticz
cd test-domoticz
wget http://releases.domoticz.com/releases/beta/domoticz_linux_x86_64.tgz
tar xvfz domoticz_linux_x86_64.tgz
rm domoticz_linux_x86_64.tgz
start/test if it is working:

Code: Select all

./domoticz

or start again with compiling/wiki:
http://www.domoticz.com/wiki/Linux
Quality outlives Quantity!
pfer10
Posts: 9
Joined: Sunday 08 February 2015 16:27
Target OS: Linux
Domoticz version:
Contact:

Re: Upgrade quesiton

Post by pfer10 »

Thanks. I think it was before Github. I had already started down that road last night but went to bed before it finished building. So now I should just copy the binary to the directory I have been running Domoticz from?

Thanks again for the great software. It just runs and does it's thing that I forget how to do stuff with it because it just runs hands off.
pfer10
Posts: 9
Joined: Sunday 08 February 2015 16:27
Target OS: Linux
Domoticz version:
Contact:

Re: Upgrade quesiton

Post by pfer10 »

A new compile and copying the binary, www directory and domoticz.sh over and all is well! Thanks again for the great software.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest