Page 1 of 1

Upgrade quesiton

Posted: Thursday 17 March 2016 5:02
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?

Re: Upgrade quesiton

Posted: Thursday 17 March 2016 8:11
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

Re: Upgrade quesiton

Posted: Thursday 17 March 2016 16:56
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.

Re: Upgrade quesiton

Posted: Friday 18 March 2016 2:15
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.