how to upgrade Domoticz without starting all over

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
S10
Posts: 23
Joined: Wed Oct 31, 2018 7:06 pm

how to upgrade Domoticz without starting all over

Post by S10 »

Hi All,

I have a old raspberry pi 2 which runs my domoticz and mosquitto MQTT server. The setup is working fine. But i want to upgrade to the new domoticz version. But this upgrade requires a buster image, otherwise it wont even start.

There is no way to upgrade dietpi stretch to buster, and next to that it is recommended to start with a clean buster image.
Now I'm stuck with a near perfect installation of domoticz of which i cant migrate to the new version, because domoticz requires an upgrade of the current setup to convert the database to the new format.

in other words i cant import my old domoticz database setup in the new version of domoticz.
Is there a way to prevent setting up from scratch?
User avatar
Joulinar
Posts: 2076
Joined: Sat Nov 16, 2019 12:49 am

Re: how to upgrade Domoticz without starting all over

Post by Joulinar »

Hi,

many thanks for your message. It is generally not recommended to do distro (Debian) major version upgrades. In most cases it works well, perhaps some manual config adjustments required but nothing urgent. But in rare cases issues CAN be much larger. For this reason no distro would ever automate this upgrade, nor support it, neither we de.

If you want to take the risk, you can have a look to: viewtopic.php?p=18988#p18988
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply