Also fell into the update trap

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
Gonetolunch
Posts: 12
Joined: Thursday 22 December 2016 14:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: here -->
Contact:

Also fell into the update trap

Post by Gonetolunch »

Unfortunately, I read the instructions in the forum after I clicked "Update".

Today I reinstalled my Raspberry Pi, Domoticz, and Mosquitto, and finally restored the backup.
Luckily, it only took two hours, and now I'm also up to the new Trixie.

Could the small but important warning "new version will not run without a prior operating system update" be included in the update notification itself?

Alternatively, could the Linux update run automatically beforehand?
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Also fell into the update trap

Post by waltervl »

See also the wiki: https://wiki.domoticz.com/Releases#Chan ... _attention

But no, there is currently no functionality in Domoticz to warn users for possible breaking changes.
Also an automatic OS update is not possible (there are many OS's that users use......).
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jake
Posts: 751
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Also fell into the update trap

Post by jake »

The suggested functionality would be very much appreciated. As a hobby programmer I always try to think for the user and make his life as easy as possible. Warning that an update can completely screw up his Domoticz instance, should definitely be on that list.
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Also fell into the update trap

Post by waltervl »

As this is open source software you are free to extend the usability of the update script... I am not able to program it due to lacking knowledge.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jannl
Posts: 823
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Also fell into the update trap

Post by jannl »

And for every update read the release notes.

For Domoticz, use docker, would have prevented you from the troubles you had.
lost
Posts: 699
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Also fell into the update trap

Post by lost »

waltervl wrote: Sunday 23 November 2025 23:00 I am not able to program it due to lacking knowledge.
As I said a few weeks ago this needs to use an uo to date update script instead of the old one that was in previous archive as such breaking changes are not always foreseable months before... or even years for those skipping updates.
So an upgrade script that 1st uload an up to date true upgrade script but this does not only need bash skills but server side changes.
Another option would be to have update script extract in update archive script and execute it instead of itself, taking care of not making an uograde script extract loop. :o)
Woody1
Posts: 12
Joined: Tuesday 13 September 2022 17:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: NL
Contact:

Re: Also fell into the update trap

Post by Woody1 »

I'm running Domoticz on a Pi and always was a bit reluctant to run updates for this very reason.

However, I find this becomes less of a problem. The backup-restore functionality in Domoticz is easy, fast and effective. Spinning up the latest Pi OS became very simple since the Raspberry Pi Imager came about. Installing Domoticz on that new OS is straightforward. Total time involved in installing an updated Domoticz on a new Pi with a new SD card takes less than 30 minutes and not too much thinking. I like it.
Pi 4b, 8Gb, Trixie Lite, POE, Domoticz 2025.2 / 16954
Evohome/HUE/Daikin AC/P1
lost
Posts: 699
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Also fell into the update trap

Post by lost »

Agree, but always better to prevent this...
https://github.com/domoticz/domoticz/pu ... 67e7fe5297
sloeber70
Posts: 45
Joined: Wednesday 08 July 2020 10:59
Target OS: Linux
Domoticz version: latest
Location: Bruges
Contact:

Re: Also fell into the update trap

Post by sloeber70 »

I am very happy that I use ProxmoxVE. Always taking a full VM backup before upgrading. Mostly the included DZ update auto backup function is cool, but not always sufficient...

Proxmox already saved me a lot of time... backup (snapshot) is restored in minutes....

I did change hardware today. Now fully operational on Odroid H4 Ultra with the extra Netcard (4 ports).
Just moved the SSD's to the new Odroid and altered the network settings ( bridge and bridge-host)

https://www.hardkernel.com/shop/odroid-h4-ultra/
Attachments
2025-11-28_13-32-21.png
2025-11-28_13-32-21.png (138.4 KiB) Viewed 108 times
Kind regards,
Sloeber70

Linux Debian 13 standard edition
Domoticz latest beta on ProxmoxVE Virtual Machine
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest