Page 1 of 1
How hard to lift and shift Domoticz?
Posted: Saturday 16 May 2020 1:41
by Calzor Suzay
I currently run Domoticz on a Vero4k running OSMC but currently stuck with Stretch so can't move up to latest version of Domoticz.
I have a Raspberry Pi v4 which will happily take buster but how hard would the transition be?
There's the obvious backup and restore of database.
Does that take the 'hardware' with it?
What would I miss and need to redo, fix, add etc?
Obviously I will need to install software etc.
Could I restore a 4.11665 database into latest 2020.2.11995 version?
Re: How hard to lift and shift Domoticz?
Posted: Saturday 16 May 2020 12:55
by waaren
Calzor Suzay wrote: ↑Saturday 16 May 2020 1:41
I currently run Domoticz on a Vero4k running OSMC but currently stuck with Stretch so can't move up to latest version of Domoticz.
I have a Raspberry Pi v4 which will happily take buster but how hard would the transition be?
There's the obvious backup and restore of database.
Does that take the 'hardware' with it?
Yes
What would I miss and need to redo, fix, add etc?
You will have to backup/restore your external scripts and plugins.
Your 'hardware' will point to the same serial ports as in your source system. If they are different on your target system, you will have to modify them in the settings of your 'hardware'.
Could I restore a 4.11665 database into latest 2020.2.11995 version?
Yes. domoticz will take care to the conversion(s) at startup. Please note that this is a one way conversion. You cannot use the converted database on your V4.11665 system.
Re: How hard to lift and shift Domoticz?
Posted: Wednesday 03 June 2020 4:38
by rinyheuvelman
Please be careful not to make the same mistake many others made, including me...
Posponed updating domoticz for quit some time, not willing to start installing an setting up from scratch.
Yes, I know, some say updating from stretch to buster can be done, well... big fail!
Yes, I know, some say it should be easy to install and setup domoticz again, well... another big fail!
So finally I/ve put myself together and resevered a open spot in my schedule, installing everything all over again: buster, domoticz, all of the hardware and devices, scripts etc.
As happy I was by the result, the "boss" was even happier.
Never the faintest clue about the gift domoticz developers were preparing to overwhelm every level of hapiness with frustration, maybe even a cetain level of anger...
Within a month it was all messed up by a domoticz update...
OZW devices are not recongnized correctly or not at all, are showing up dead just to get alive again, battery levels are gone, battery operated devices not turning in sleep state, lots of functions of the devices (like lux, temp in case of a PIR) disappeared, messing up any automation they're in.
In case there's anything I missed summing up...
Take good care on the build you install, don't take any Domoticz update for granted, even the stable ones; be patient for a couiple of weeks than check this forum and github for any reported bugs etc.
Regards,
Riny
Re: How hard to lift and shift Domoticz?
Posted: Wednesday 03 June 2020 8:56
by freijn
As in every production system you have a production and a test lab.
If you can't afford 2 RPI's then at least buy 2 SD cards.
Swap as you like, on your own peace, and if all fucked up. Swap back and your Boss will never have a change to complain
Remember : you didn't paid for the software.
Re: How hard to lift and shift Domoticz?
Posted: Wednesday 03 June 2020 9:51
by EddyG
I have a Boss who wants to have it run as usual ALL the time, and I can't blame here.
I have 5 Raspberry's running and a few 'old' spare ones (2B) and still got into a lot of problems with OZW.
After a lot of try and error I found my solution.
The 'Buster' one was just very very bad also from the point of a programmer.
Such upgrade could easily prevent by checking and warning the user before the update process.
I still love Domoticz

, don't love OZW

anymore (lot of latency problems) so I will gradually switch to Zigbee.
Re: How hard to lift and shift Domoticz?
Posted: Wednesday 03 June 2020 11:12
by rinyheuvelman
freijn wrote: ↑Wednesday 03 June 2020 8:56
As in every production system you have a production and a test lab.
If you can't afford 2 RPI's then at least buy 2 SD cards.
Swap as you like, on your own peace, and if all fucked up. Swap back and your Boss will never have a change to complain
Remember : you didn't paid for the software.
I remember and appreciated no having to pay for open source applications. In this case i did kinda pay: made a donation content as I was with my stretchie domoticz.
Tried swapping back restoring a 4 week old system wide back up, working flawlessly at that time.
Nothing wrong the first couple of minutes, all wrong within couple of more minutes
So... I do have at least 2 sd cards, 6 sets of 2mini sd cards to be exact.
Although this time the issue did occur sooner than I could switch cards.