Best way to upgrade old version of Domoticz?

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

Moderator: leecollings

Post Reply
koit12
Posts: 5
Joined: Wednesday 25 October 2017 23:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Best way to upgrade old version of Domoticz?

Post by koit12 »

Hi,

I've been using Domoticz for a couple of years now without upgrading.
It's been running rock solid on version 3.9634.

What is the best way to upgrade to the latest build of Domoticz?
I have a lot of devices and I don't want to start over from scratch.

Environment:
Hardware:
Raspberry Pi 3
Aeotec ZW090 Z-Stick Gen5
RFXCOM - RFXtrx433 USB 433.92MHz Transceiver

Software:
Raspbian GNU/Linux 8 (jessie)
Domoticz version 3.9634
HomeBridge 0.4.36

Domoticz hardware:
OpenZWave
HA-Bridge
RFXCOM
MQTT Client
HarmonyHub

Really hope it is possible to upgrade without loosing my existing setup.

Regards
Bernt
User avatar
heggink
Posts: 980
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Best way to upgrade old version of Domoticz?

Post by heggink »

Your biggest challenge will be OZW as that will go from 1.4 to 1.6. Many people reported issues.

If you give it a couple of weeks then there is likely to be a new stable. That includes HA autodiscovery in case you want to switch from OZW (which is suffering from lack of support) to zwavejs2mqtt.

Make sure you have a decent backup.

Sent from my SM-G980F using Tapatalk

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 :-)
User avatar
waltervl
Posts: 5906
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Best way to upgrade old version of Domoticz?

Post by waltervl »

Perhaps reserve a new Raspberry Pi for this, or at least use a new SD card to install and/or update to the new Domoticz environment.
Then you can always use the old SD card again to continue if the new install fails for some reason.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
koit12
Posts: 5
Joined: Wednesday 25 October 2017 23:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Best way to upgrade old version of Domoticz?

Post by koit12 »

Thanks for your replies guys :-)

Is there some tutorial available that describes the steps I have to take?
I guess I can't upgrade directly from my old version of Domoticz to the latest and greatest.
Newer versions of Domoticz requires newer version of Raspbian. How do I upgrade and preserve my packages supporting the Domiticz environment (mqtt, home bridge, HA-Bridge and so on)?
User avatar
heggink
Posts: 980
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Best way to upgrade old version of Domoticz?

Post by heggink »

If you are still on Jessie then I would not advice you to go through all the OS upgrades. That would require you to first upgrade to Stretch, then Buster and ultimately Bullseye. It probably works technically but it's an accident waiting to happen.

If I were you (and I was a while back) then I would start fresh. The only caveat is that you don;t want bullseye for now as there are issues with domoticz and python (see the forum).

If at all possible, you can always use the docker container which will not have any issues. That way, you can always upgrade no matter what OS you have.

Then again, the docker container has limitations which is why it's close to impossible for me to go there (too many python plugins, too many installs to do on every docker image upgrade).
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 :-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest