Best way to upgrade domoticz and system

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
ricorico94
Posts: 105
Joined: Monday 26 October 2015 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Best way to upgrade domoticz and system

Post by ricorico94 »

Hi,
I currently have a Raspberry 3B+ using Bullseye and Domoticz 2024.4. I'd like to move to latest domoticz stable release (2026.4) and I'm not yet sure if I'll upgrade to latest Raspbian version (Trixie) or not.. I need also to keep OPenzwave for now and some plugins.

If I install a clean version of TRixie and domoticz 2026.4, can I directly load in domoticz my backup from 2024.4 version ?
If not, how can I do ?

Using first my current bullseye version and update domoticz to 2026.6, would it work ? (then working on upgrading to TRixie)
I tried this today, but I faced the OpenSSL3 problem.. I might have found a way to fix that, u to runnig the .upgraderelease call (which seems working), but then domotic doesn't want to restart.. (systemctl status tells me it's active, but even afetr stop/start, I can't access the webpage..)

Thank you for your help,
Ricorico94
User avatar
JayDotR
Posts: 51
Joined: Thursday 02 January 2025 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Lux
Contact:

Re: Best way to upgrade domoticz and system

Post by JayDotR »

My advice, reinstall is better than trying the in-place upgrade twice to get to trixie.

Yes, some library issues can occur, but it takes less time as the inplace process ;).

Tip : use a new sdcard, so you can mount the old one to recover data
--
Domoticz Beta on raspberry3b, and raspberry4(b) on Rasbian Trixie / Python 3.13 / 64 bit
Using: PiHole, SolarEdge Modbus, Sainlogic / Weather Underground, MQTT, Fritzbox, P1 Meter(s), dzvents Scripting
https://www.github.com/janreimen/
ricorico94
Posts: 105
Joined: Monday 26 October 2015 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Best way to upgrade domoticz and system

Post by ricorico94 »

Clean install is indeed usually ideal, but is it possible to load in Domoticz 2026.4 a backup done with domoticz 2024.4 ?

.. and I agree with your advice. My current attempt is on a new sdcard, copy just made from production system, so that I can roll-back to production sdcard..
rylfas
Posts: 10
Joined: Monday 10 March 2014 10:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.1
Location: The Netherlands
Contact:

Re: Best way to upgrade domoticz and system

Post by rylfas »

Yes the back-up from a 2024.4 can be used without any problems.

Upgraded this week from a Domoticz 2024 system to Domoticz 2026.4 with the latest full version of Raspberry PI OS 64 bit. Including MQTT, Zigbee for Domoticz, Shelly MQTT and RFXCOM.

All functional after restoring the Back-up.

Good luck.
User avatar
JayDotR
Posts: 51
Joined: Thursday 02 January 2025 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Lux
Contact:

Re: Best way to upgrade domoticz and system

Post by JayDotR »

Issues i encountered and how to bypass ;)

Dont copy-paste the full plugins/ folder to the new install. Leave the __pycache__ (python bytecode, either a 32 bit residual, or an old python compiled code) aside. The .db file can be copied once your plugins are all verified.

Some dependencies are nowadays through apt install python3-namoftheplugin. If sth does not exist yet, its time to develop iti had the synology monitor via pysnmp in that case, so i wrote a new version of the plugin :p
--
Domoticz Beta on raspberry3b, and raspberry4(b) on Rasbian Trixie / Python 3.13 / 64 bit
Using: PiHole, SolarEdge Modbus, Sainlogic / Weather Underground, MQTT, Fritzbox, P1 Meter(s), dzvents Scripting
https://www.github.com/janreimen/
ricorico94
Posts: 105
Joined: Monday 26 October 2015 10:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Best way to upgrade domoticz and system

Post by ricorico94 »

Thanks a lot for your advice, I'll most likely go through clean install.
Post Reply