Page 1 of 1
migration to new OS
Posted: Monday 05 May 2025 11:19
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!
Re: migration to new OS
Posted: Monday 05 May 2025 11:36
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.
Re: migration to new OS
Posted: Monday 05 May 2025 14:15
by jannl
The missing openssl lib, is that also the case when using the Domoticz doxker container?
Re: migration to new OS
Posted: Monday 05 May 2025 14:19
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.
Re: migration to new OS
Posted: Tuesday 06 May 2025 4:44
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
Re: migration to new OS
Posted: Tuesday 06 May 2025 9:37
by jannl
Thx. And indeed, that is one of the beautys of docker.
Re: migration to new OS
Posted: Tuesday 06 May 2025 11:27
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?
Re: migration to new OS
Posted: Tuesday 06 May 2025 14:57
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.
Re: migration to new OS
Posted: Tuesday 06 May 2025 17:56
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?
Re: migration to new OS
Posted: Tuesday 06 May 2025 19:43
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