How to upgrade from a very old Domoticz release

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

Moderator: leecollings

Post Reply
Tamagnun
Posts: 18
Joined: Tuesday 03 February 2015 14:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Italy
Contact:

How to upgrade from a very old Domoticz release

Post by Tamagnun »

In the 2019 I made two security/domotic systems in two different houses running Domoticz v 4.10717 (2019-05-09) on Raspberry PI 3 with Raspbian v8 (Jessie) installed.
The two installations have one ZWave controller, tenth of devices and sensors, some wired sensors are also connected through the PiFace interface (up to 24 ports), the control logic is written in LUA or bash.

I never updated the systems due to some personal sad reasons that kept me far from these developments, and also to guarantee the proper system stability required by a security system, but now at least one system needs to be upgraded to the latest level because I'm interested to add recent ZWave devices, to interface Alexa or Google environment and to manage also a couple of Denon hi-fi equipments.

Which is the best way to update to the last 2023.2 release keeping my Domoticz db and LUA scripts running ?

Many thanks who will provide me any suggestion to face this big jump of release.
lost
Posts: 659
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How to upgrade from a very old Domoticz release

Post by lost »

Hello. Kept this one quite long also as this was the jump from OZW 1.4 to 1.6.
But not so long.
As you will have to reinstall raspbian 2 versins ahead you cannot upgrade the OS directly. So IMO this will be a full reinstall for raspbian and domoticz. Take care OZW is now removed from beta.
After both are reinstalled, stop just installed domoticz service, restore db and scripts... and restart.
Thats unlikely to get zwave issues as OZW 1.6 was very stable at the end. I hope db migration will not cause issue, imo you may be the 1st to try this. You may have a few lua script change as version embedded in domoticz changed meantime and I remember a few 1 miner changes there...
You may buy a new sd and keep old to be able to restart as is if needed, to have time to solve issues that may show up.
Tamagnun
Posts: 18
Joined: Tuesday 03 February 2015 14:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Italy
Contact:

Re: How to upgrade from a very old Domoticz release

Post by Tamagnun »

I was feared that I have to reinstall all, thank you for your confirmation about this process.
I will install the 2023.2.15453 stable version, I read elsewhere that it has OZW embedded.
Bye
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest