Update to new version

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

Moderator: leecollings

Post Reply
rebakker
Posts: 1
Joined: Friday 13 January 2023 16:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Update to new version

Post by rebakker »

In October 2018 I installed Domoticz on a RaspberryPi and occasionally performed the automatic updates. Somewhere in 2020 this update caused a problem or conflict with something I can't remember, which resulted in a corrupt Domoticz. Back then this was a known issue and using some forum threads I could repair this all to get a working Domoticz again, and never thought of updating any more.

But currently I would like to update Domoticz due to some new hardware, but I'm not very keen on any trail and error paths and spending many hours to get this all working.
Currently my Domoticz version info states:
Version: 4 .11665
Build Hash: ec3292db7
Compile Date: 2020-01-28 08:45:51
dzVents Version: 2 .5 .7
Python Version: None
And the uname -a via ssh returns:
Linux PiDomoticz 4 .14 .71+ #1145 Fri Sep 21 15:06:38 BST 2018 armv6l GNU/Linux
When checking for a new update it returns the availability of version #14606.

What should be done or installed, to be able to safely update my Domoticz to the new version?

Regards,
User avatar
gizmocuz
Posts: 2471
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Update to new version

Post by gizmocuz »

Firtst, make a backup of your database from within the settings page

Next shutdown domoticz (sudo service domoticz stop)

Create a backup of the whole Domoticz folder (once you have shutdown domoticz)
With this you can always go back

Put this backup on another machine

Now you system is probably extreme old, if it is a raspberry pi, make a backup of the SD card so with this you also can go back anytime

Install a new clean system (take another sd card?)
Install domoticz with

Code: Select all

sudo bash -c "$(curl -sSfL https://install.domoticz.com)"
Log into domoticz (default username/password = admin/domoticz)

Restore your database

If everything is working again you can update to the latest beta version if you wish
Quality outlives Quantity!
User avatar
HansOtten
Posts: 50
Joined: Saturday 17 April 2021 9:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021-1
Location: Mierlo
Contact:

Re: Update to new version

Post by HansOtten »

Do not forget other parts of your system.

E.g. if you use MQTT that should also be installed. Plugins to consider.
So make a list of what you use now and how it supported with the newer version (e.g. Autodiscovery MQTT versus the zigbee2mqtt plugin).

Also RPi hardware upgrade? Think about SSD boot instead of SD Card. Not expensive, more space/speed/reliability.

It will be not a trivial update!
Raspberry Pi 4, SSD, RFlink, P1 Smart Meter. Many Zigbee devices CR2562 USB stick. Bresser via Weather Underground
Switched to Home Assistant!
HansF
Posts: 19
Joined: Monday 19 November 2018 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Update to new version

Post by HansF »

rebakker wrote: Friday 13 January 2023 17:18 In October 2018 I installed Domoticz on a RaspberryPi and occasionally performed the automatic updates. Somewhere in 2020 this update caused a problem or conflict with something I can't remember, which resulted in a corrupt Domoticz. Back then this was a known issue and using some forum threads I could repair this all to get a working Domoticz again, and never thought of updating any more.

But currently I would like to update Domoticz due to some new hardware, but I'm not very keen on any trail and error paths and spending many hours to get this all working.
Currently my Domoticz version info states:
Version: 4 .11665
Build Hash: ec3292db7
Compile Date: 2020-01-28 08:45:51
dzVents Version: 2 .5 .7
Python Version: None
And the uname -a via ssh returns:
Linux PiDomoticz 4 .14 .71+ #1145 Fri Sep 21 15:06:38 BST 2018 armv6l GNU/Linux
When checking for a new update it returns the availability of version #14606.

What should be done or installed, to be able to safely update my Domoticz to the new version?

Regards,
Hi rebakker, pretty much the same situation here, did you get this working without any major problems?

Hans
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest