How necessary is Raspberry Stretch for new stable? Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Hobbybob

How necessary is Raspberry Stretch for new stable?

Post by Hobbybob »

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: 451
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: How necessary is Raspberry Stretch for new stable?

Post by Varazir »

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.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
Hobbybob

Re: How necessary is Raspberry Stretch for new stable?

Post by Hobbybob »

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: 443
Joined: Thursday 12 November 2015 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

How necessary is Raspberry Stretch for new stable?

Post by mvzut »

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 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
jake
Posts: 744
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: How necessary is Raspberry Stretch for new stable?

Post by jake »

The question from the OP is stil not answered. (I also would like to keep my existing OS)
User avatar
heggink
Posts: 980
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: How necessary is Raspberry Stretch for new stable?

Post by heggink »

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!
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: How necessary is Raspberry Stretch for new stable?

Post by EddyG »

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.
Hobbybob

Re: How necessary is Raspberry Stretch for new stable?

Post by Hobbybob »

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: No registered users and 1 guest