migration to new OS

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
manjh
Posts: 748
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

migration to new OS

Post by manjh »

OK, I am biting the bullet and am finally migrating to a new Pi4 with the latest OS.

One thing I am unsure of, is migrating my Zigbee setup.
Currently I am using ZigBeeforDomoticz, version 6.3.015. Conbee radio.

Is that still the way to go, or is there a better option?

Also, after migrating, anything I should be aware of? Will all of my Zigbee devices be migrated as well, or should I do something?
Before someone suggests to re-install, I now have 64 Zigbee connected devices spread across the house, so I would not be happy to pull them all out and re-install!
Hans
solarboy
Posts: 336
Joined: Thursday 01 November 2018 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.6
Location: Portugal
Contact:

Re: migration to new OS

Post by solarboy »

Be aware that with Bookworm there is a missing library (libssl?) so Domoticz needs that installed separately beforehand. I happily use zigbee2mqtt in a docker which was easy to move over so I can't help with your other question.
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
jannl
Posts: 666
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: migration to new OS

Post by jannl »

The missing openssl lib, is that also the case when using the Domoticz doxker container?
User avatar
waltervl
Posts: 5767
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: migration to new OS

Post by waltervl »

manjh wrote: Monday 05 May 2025 11:19 OK, I am biting the bullet and am finally migrating to a new Pi4 with the latest OS.

One thing I am unsure of, is migrating my Zigbee setup.
Currently I am using ZigBeeforDomoticz, version 6.3.015. Conbee radio.

Is that still the way to go, or is there a better option?

Also, after migrating, anything I should be aware of? Will all of my Zigbee devices be migrated as well, or should I do something?
Before someone suggests to re-install, I now have 64 Zigbee connected devices spread across the house, so I would not be happy to pull them all out and re-install!
Zigbee4Domoticz works just fine on the latest OS with latest Domoticz. No need to migrate anything.
Only sometimes on some Linux distributions the libssl1.1 patch is not installed automatically. On an RPI it should be installed with the OS.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
gizmocuz
Posts: 2492
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: migration to new OS

Post by gizmocuz »

jannl wrote: Monday 05 May 2025 14:15 The missing openssl lib, is that also the case when using the Domoticz doxker container?
No, that is the beauty of docker, there are no external system library dependencies
Quality outlives Quantity!
jannl
Posts: 666
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Geleen
Contact:

Re: migration to new OS

Post by jannl »

Thx. And indeed, that is one of the beautys of docker.
manjh
Posts: 748
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: migration to new OS

Post by manjh »

waltervl wrote: Monday 05 May 2025 14:19
manjh wrote: Monday 05 May 2025 11:19 OK, I am biting the bullet and am finally migrating to a new Pi4 with the latest OS.

One thing I am unsure of, is migrating my Zigbee setup.
Currently I am using ZigBeeforDomoticz, version 6.3.015. Conbee radio.

Is that still the way to go, or is there a better option?

Also, after migrating, anything I should be aware of? Will all of my Zigbee devices be migrated as well, or should I do something?
Before someone suggests to re-install, I now have 64 Zigbee connected devices spread across the house, so I would not be happy to pull them all out and re-install!
Zigbee4Domoticz works just fine on the latest OS with latest Domoticz. No need to migrate anything.
Only sometimes on some Linux distributions the libssl1.1 patch is not installed automatically. On an RPI it should be installed with the OS.
OK, so if I understand you correctly, all I need to do is install Domoticz on the new environment, and restore the Domoticz DB via the setup-settings-backuprestore function? Should I manually install plugins forst, or is that implicit to the restore?
Hans
User avatar
waltervl
Posts: 5767
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: migration to new OS

Post by waltervl »

On a new system you also have to reinstall the python plugins and their required python modules and other (eg bash) scripts running outside Domoticz.
Plugins are not stored in the database. Dzvents and Lua scripts are if you created them through the Domoticz user interface.

Moving to a complete new system will always need some extra work (even with Docker) to get everything running again.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
manjh
Posts: 748
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: migration to new OS

Post by manjh »

OK, so once I have done that I will have an "empty" Domoticz with only the required plugins installed.
After that I do a Domoticz database restore. will that give me the same idx's as in the old DB?
And what about the Zigbee devices? Will they automatically be there as well?
Hans
User avatar
waltervl
Posts: 5767
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: migration to new OS

Post by waltervl »

Once you import the old database everything will work as before, including the zigbee devices.
For Zigbee4Domoticz you have to copy the configuration files, see wiki https://zigbeefordomoticz.github.io/wik ... ackup.html
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest