How hard to lift and shift Domoticz? Topic is solved

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

Moderator: leecollings

Post Reply
Calzor Suzay
Posts: 145
Joined: Tuesday 08 July 2014 15:10
Target OS: -
Domoticz version: 4.9700
Location: UK
Contact:

How hard to lift and shift Domoticz?

Post 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?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: How hard to lift and shift Domoticz?

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
rinyheuvelman
Posts: 15
Joined: Wednesday 19 December 2018 14:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10427
Contact:

Re: How hard to lift and shift Domoticz?

Post 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
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: How hard to lift and shift Domoticz?

Post 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.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: How hard to lift and shift Domoticz?

Post 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 :D , don't love OZW :cry: anymore (lot of latency problems) so I will gradually switch to Zigbee.
rinyheuvelman
Posts: 15
Joined: Wednesday 19 December 2018 14:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10427
Contact:

Re: How hard to lift and shift Domoticz?

Post 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.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest