How to revert from beta to stable on Pi?

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

Moderators: leecollings, remb0

ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

How to revert from beta to stable on Pi?

Post by ThinkPad »

Hi,

I want to revert from the beta version back to the stable version on my Raspberry.

But how can i do so? I looked in the manual, but didn't found anything about this. Also searched the forum, found some posts from gizmocuz about 'just revert from beta to stable then'. But i can't find HOW to do so :p

Please tell me


SOLVED, also created a wiki page explaining the steps to perform: http://domoticz.com/wiki/Going_back_to_ ... us_version
Last edited by ThinkPad on Friday 26 December 2014 13:22, edited 2 times in total.
I am not active on this forum anymore.
User avatar
mbliek
Posts: 194
Joined: Friday 12 July 2013 14:08
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: the Netherlands
Contact:

How to revert from beta to stable on Pi?

Post by mbliek »

This should give you the latest stable:

Code: Select all

wget http://domoticz.sourceforge.net/domoticz_linux_armv6l.tgz

tar xvfz domoticz_linux_armv6l.tgz

rm domoticz_linux_armv6l.tgz
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by ThinkPad »

Ok, but do i first have to remove the current Domoticz version from the Raspbian OS ?
I am not active on this forum anymore.
rron
Posts: 223
Joined: Sunday 30 March 2014 15:24
Target OS: Linux
Domoticz version: Beta
Location: Waterland
Contact:

Re: How to revert from beta to stable on Pi?

Post by rron »

No that is not necessary. Just follow the instruction of mbliek, that works.
Rpi, RFXcom, klikaan klikuit switch,thermosmart, z-wave, espeasy, smartevse
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by ThinkPad »

I got some errors with 'tar', because the folder already existed. But i succeeded by doing this:
  1. In /home/pi i deleted the domoticz folder (sudo rm -rf domoticz).
  2. Then created a new one (mkdir domoticz).
  3. Then go to that directory (cd domoticz).
  4. In that directory, run the wget, tar and rm command.
  5. Then reboot
  6. Domotiz is running now (the stable version instead of beta)
  7. Restore database
  8. Reboot
  9. All done
I am not active on this forum anymore.
User avatar
mbliek
Posts: 194
Joined: Friday 12 July 2013 14:08
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: the Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by mbliek »

Yes. You needed to do the steps in the Domoticz folder.

But this works also if you wanted to delete the old Domoticz.
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by ThinkPad »

I also created a wiki page for it, can be useful for beginners :)

http://domoticz.com/wiki/Going_back_to_ ... us_version
I am not active on this forum anymore.
sebitop
Posts: 69
Joined: Sunday 08 June 2014 20:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Toulouse France
Contact:

Re: How to revert from beta to stable on Pi?

Post by sebitop »

thanks for this wiki but just a question :

I understand this method allows only to use the last beta version released, if i want to downgrade to a specific version I need to install domoticz manually from source
including a make which takes around 1h to compile everything

ok so installation done and now i would like to downgrade to a previous version example 2140

so If i'm correct I need to use the following commands :

svn update -r XXXX
make

is that correct ?

if yes the "make" will again run for.. 1h... but why a web update takes only a few minutes ?
I suppose there is a way to downgrade quiclky a system ?

thanks for your help
domoticz on Raspberry Pi + RFXcom LAN moded + wifi
Blyss / DI.O / homemade / ESP / wemos
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by ThinkPad »

I don't know about that. But feel free to add some extra information to the wiki if needed ;)
Last edited by ThinkPad on Friday 26 December 2014 13:53, edited 1 time in total.
I am not active on this forum anymore.
sebitop
Posts: 69
Joined: Sunday 08 June 2014 20:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Toulouse France
Contact:

Re: How to revert from beta to stable on Pi?

Post by sebitop »

Ok thanks, once I will find the correct method I will add it to the wiki as it could really help

I understand the latest version is 2125 so if I want to use 2140 I don't know how to do that easily

thanks again for your answer
domoticz on Raspberry Pi + RFXcom LAN moded + wifi
Blyss / DI.O / homemade / ESP / wemos
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by ThinkPad »

Another question: i had some scripts in the /home/pi/domoticz/scripts/ folder, that are now gone. Luckily i have made a backup of the SD card before reverting to the stable version.
How can i get the scripts from the img file i created wit 'win32diskimager' without first writing it to an SD card and booting up Domoticz and accessing it by SSH ?
I am not active on this forum anymore.
sebitop
Posts: 69
Joined: Sunday 08 June 2014 20:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Toulouse France
Contact:

Re: How to revert from beta to stable on Pi?

Post by sebitop »

maybe you can try to mount your image on your computer to explore the image card and to recover the scripts ?

something like daemon tool could help ?
domoticz on Raspberry Pi + RFXcom LAN moded + wifi
Blyss / DI.O / homemade / ESP / wemos
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by ThinkPad »

Not working unfortunately. Maybe booting a linux live CD and then opening it works.

Gonna try it this evening.
I am not active on this forum anymore.
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by ThinkPad »

I flashed the backup to an SD-card i had lying around. Put that in a second pi and got the files off it with WinSCP.
I am not active on this forum anymore.
sebitop
Posts: 69
Joined: Sunday 08 June 2014 20:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Toulouse France
Contact:

Re: How to revert from beta to stable on Pi?

Post by sebitop »

ah ! you did not say that you have a second pi available :)

then you found the solution :)
domoticz on Raspberry Pi + RFXcom LAN moded + wifi
Blyss / DI.O / homemade / ESP / wemos
User avatar
mbliek
Posts: 194
Joined: Friday 12 July 2013 14:08
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: the Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by mbliek »

Just run the commands I gave within the Domoticz folder and you don't need to delete everything. Saves you a lot of time.
thorbj
Posts: 113
Joined: Thursday 20 November 2014 22:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Norway
Contact:

Re: How to revert from beta to stable on Pi?

Post by thorbj »

Seems like this don't work anymore. It gives me a 404 error when trying to wget http://domoticz.sourceforge.net/domotic ... armv6l.tgz
When browsing to http://domoticz.sourceforge.net, I find only packages for windows and sd-card images for RaspberryPi, but noe domoticz_linux_armv6l.tgz...
2xRaspberry Pi Model 2 w/RaZberry z-wave chip (master/slave)|Fibaro Wall Plug|Fibaro Universal Dimmer 500W|Aeon Labs Multisensor|RFXtrx433E|Nexa WMR-1000|Nexa Pe-3|Nexa Remote|Nexa LGDR3500|Lightify Gateway|Lightify RGBW bulb
Hexer
Posts: 2
Joined: Wednesday 08 July 2015 13:07
Target OS: Windows
Domoticz version:
Contact:

Re: How to revert from beta to stable on Pi?

Post by Hexer »

don't know about that.






ipad air 2 folie
Last edited by Hexer on Friday 10 July 2015 9:20, edited 1 time in total.
Wenn du mein Schweigen nicht verstaendest, würdest du nie meine Woerter verstehen. hülle für iphone 6 und iphone 6 plus
User avatar
mbliek
Posts: 194
Joined: Friday 12 July 2013 14:08
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: the Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by mbliek »

thorbj wrote:Seems like this don't work anymore. It gives me a 404 error when trying to wget http://domoticz.sourceforge.net/domotic ... armv6l.tgz
When browsing to http://domoticz.sourceforge.net, I find only packages for windows and sd-card images for RaspberryPi, but noe domoticz_linux_armv6l.tgz...
try

wget http://domoticz.sourceforge.net/domotic ... armv7l.tgz
Heisenberg
Posts: 135
Joined: Monday 27 January 2014 14:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: How to revert from beta to stable on Pi?

Post by Heisenberg »

Unfortunately it doesn't work for me with the above link:
pi@domoticzpi ~/domoticz $ wget http://domoticz.sourceforge.net/domotic ... armv 7l.tgz
--2015-07-10 21:58:39-- http://domoticz.sourceforge.net/domotic
Resolving domoticz.sourceforge.net (domoticz.sourceforge.net)... 216.34.181.96
Connecting to domoticz.sourceforge.net (domoticz.sourceforge.net)|216.34.181.96| :80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-07-10 21:58:39 ERROR 404: Not Found.

--2015-07-10 21:58:39-- http://.../
Resolving ... (...)... failed: Name or service not known.
wget: unable to resolve host address `...'
--2015-07-10 21:58:39-- http://armv7l.tgz/
Resolving armv7l.tgz (armv7l.tgz)... failed: Name or service not known.
wget: unable to resolve host address `armv7l.tgz'
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests