Database conversion to latest Domoticz version

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ARichter
Posts: 6
Joined: Thursday 03 March 2016 16:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Database conversion to latest Domoticz version

Post by ARichter »

Hallo,

I am Andreas and using the Domoticz version 1.0.10. on a Raspberry Pi since a long time without any problems. To update the system I would like to install now the newest version of Domoticz.

My question is:
Is it possible to convert the old database including my settings and all information about switches, blinds,... to the database of the latest Domoticz version or did I have to input all old information manually.

Thank you for your support
Andreas
jkimmel
Posts: 129
Joined: Monday 25 November 2013 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Mallorca
Contact:

Re: Database conversion to latest Domoticz version

Post by jkimmel »

Just update and you are fine.
Rfxcom
Raspi 4
ARichter
Posts: 6
Joined: Thursday 03 March 2016 16:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Database conversion to latest Domoticz version

Post by ARichter »

Thank you for your quick reply.

The old version has no update function in the menu, so I have to install the new version but copying the old database (domoticz.db) to the new version does not show any settings.
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Database conversion to latest Domoticz version

Post by gizmocuz »

The database will be automatically converted to the latest
But make sure you make a complete backup of the domoticz folder so you can always go back
Quality outlives Quantity!
ARichter
Posts: 6
Joined: Thursday 03 March 2016 16:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Database conversion to latest Domoticz version

Post by ARichter »

Please let me know how I can update this old version because the command ./updaterelease does not work.

Thank you for your help.
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Database conversion to latest Domoticz version

Post by gizmocuz »

Why, what is the output ?
Quality outlives Quantity!
ARichter
Posts: 6
Joined: Thursday 03 March 2016 16:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Database conversion to latest Domoticz version

Post by ARichter »

The respond is: command not found
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Database conversion to latest Domoticz version

Post by gizmocuz »

please follow the wiki how to install the stable (perform the same action to update)

http://www.domoticz.com/wiki/Installing ... spberry_PI
Quality outlives Quantity!
ARichter
Posts: 6
Joined: Thursday 03 March 2016 16:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Database conversion to latest Domoticz version

Post by ARichter »

Sorry but this fails. It seems that it overwrites the database and when the program starts it will only show the setup menu.
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Database conversion to latest Domoticz version

Post by gizmocuz »

No it does not
Quality outlives Quantity!
ARichter
Posts: 6
Joined: Thursday 03 March 2016 16:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Database conversion to latest Domoticz version

Post by ARichter »

You are right the files is still there but how can I load the data in the program?
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Database conversion to latest Domoticz version

Post by gizmocuz »

Just start the program
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest