How necessary is Raspberry Stretch for new stable?

On various Hardware and OS systems: pi / windows / routers / nas, etc
Post Reply
Hobbybob
Posts: 126
Joined: Monday 01 May 2017 19:03
Target OS: Raspberry Pi
Domoticz version: Stable
Contact:

How necessary is Raspberry Stretch for new stable?

Post by Hobbybob » Wednesday 27 June 2018 11:56

I have Domoticz stable running for some time now, and since there is a new stable, I'd like to update.

The first thing mentioned however is that it should be done on a fresh installation of Stretch. I'm running Jessie at the moment, but other than Domoticz I'm also running other things on my Pi (PiVPN for example). I'm not that fond of reinstalling from scratch because it will be quite some work before everything is back in order.

How necessary is the fresh installation? Does the new stable really need Stretch, or will it also run on Jessie? And if it needs Stretch, will a dist-upgrade also work?

User avatar
Varazir
Posts: 225
Joined: Friday 20 February 2015 23:23
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: How necessary is Raspberry Stretch for new stable?

Post by Varazir » Wednesday 27 June 2018 12:44

I have been running beta and had to update some time a go and I just did a
dist-upgrade on my Raspberry pi and it has been working so far.

But I can't guarantee it will work for you, recommend to make a backup of your database.
1x Raspberry PI A with a RaZberry board
1x GreenWave 6 port Power node
1x tellstick
1x Qubino ZMNHOD1 ( controlling a Ikea blinder )
1x ZW075 Smart Switch Gen5
Several nexa/proove devices

Live Long and Prosper \\//_

Hobbybob
Posts: 126
Joined: Monday 01 May 2017 19:03
Target OS: Raspberry Pi
Domoticz version: Stable
Contact:

Re: How necessary is Raspberry Stretch for new stable?

Post by Hobbybob » Wednesday 27 June 2018 14:36

Varazir wrote:
Wednesday 27 June 2018 12:44
I have been running beta and had to update some time a go and I just did a
dist-upgrade on my Raspberry pi and it has been working so far.

But I can't guarantee it will work for you, recommend to make a backup of your database.
I'm defenitly making a backup, and I think a complete image just to be sure. I understand that there are no guarantees, but it's good to hear it is a possibility.

Thanks for the reply!

mvzut
Posts: 316
Joined: Thursday 12 November 2015 11:55
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Marum, The Netherlands
Contact:

How necessary is Raspberry Stretch for new stable?

Post by mvzut » Wednesday 27 June 2018 18:12

I had problems with the latest stable Domoticz version on Jessie. My Python plugin for Sonos caused Domoticz to crash immediately after starting up.

I created a fresh Stretch installation on a separate SD card, and started installing all my stuff again. I had made backups of all relevant settings/database files from the original installation, which I could easily copy to the new one. If this process would not have worked out as expected, I could immediately revert to the original SD card, so the risk (for family members complaining that the lights won't turn on) was low. But it worked kind of immediately!

I now have a completely fresh system, in under two hours of work. Feels pretty good actually . So I would simply go for it, especially if you have a spare SD card somewhere since this makes the risk very low.
Last edited by mvzut on Wednesday 27 June 2018 18:12, edited 1 time in total.
Raspberry Pi 2B - RFXtrx433 - Aeon Z-Stick gen5 - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - Sonos Connect & PLAY:1 - Kodi - Wall mounted tablet + Imperihome - MANY switches/sensors

jake
Posts: 421
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

Re: How necessary is Raspberry Stretch for new stable?

Post by jake » Wednesday 27 June 2018 18:20

The question from the OP is stil not answered. (I also would like to keep my existing OS)

User avatar
heggink
Posts: 469
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi
Domoticz version: V3.9530
Location: NL
Contact:

Re: How necessary is Raspberry Stretch for new stable?

Post by heggink » Wednesday 27 June 2018 18:54

Over the past couple of months, there has been an extensive discussion on a number of crashes largely in the python plugin side caused be library version issues. There was an ultimate solution but no real cause. Fortunately, domoticz now works with python 3.5.3 again but I am not sure how that impacts older os's nor do I think anyone else will.

Unless someone has done it and can prove it works, no guarantees.

Regarding the pi in general, after many years of running different linux boxes, my personal observation is that it's often quite difficult to get one system stable let alone multiple subsystems with conflicting dependencies. Example: when ssl broke python 3.5.3 for the pi/domoticz, reverting back to python 3.4 immediately broke fail2ban. Fail2ban runs fine under 3.4 but only as a manual install and config.

The net: I no longer combine multiple systems on a pi and rather install a different/new pi.

Just a thought!
Pi3, latest beta
RFXCOM, z-wave (AEOTEC, switches, temhum, pir, contacts),
Plugwise2py, P1 'smart'meter & solar panel
Alexa, Wifi Cams motion detection
ESP: relays, PIR & Temp/TempHum
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest

User avatar
EddyG
Posts: 247
Joined: Monday 02 November 2015 6:54
Target OS: Raspberry Pi
Domoticz version: 4.9732
Location: Rhenen, Netherlands
Contact:

Re: How necessary is Raspberry Stretch for new stable?

Post by EddyG » Wednesday 27 June 2018 19:18

I have 3 systems running on Jessie with python 3.4.2
I have almost every python script converted to dzVents.
My TEST system is running on Stretch with python 3.5.3
I can confirm that the lastest stable runs without problems on my Jessie and Stretch systems.
Regards,
Eddy

Hobbybob
Posts: 126
Joined: Monday 01 May 2017 19:03
Target OS: Raspberry Pi
Domoticz version: Stable
Contact:

Re: How necessary is Raspberry Stretch for new stable?

Post by Hobbybob » Thursday 28 June 2018 10:51

EddyG wrote:
Wednesday 27 June 2018 19:18
I have 3 systems running on Jessie with python 3.4.2
I have almost every python script converted to dzVents.
My TEST system is running on Stretch with python 3.5.3
I can confirm that the lastest stable runs without problems on my Jessie and Stretch systems.
Great news! I will try to dist-upgrade though I think, just to get up-to-speed with raspbian also. Of course only after making a SD-card-image.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests