Problem Upgrading 0.7.40 to 0.7.48

Hello, after having played the whole night, I still can’t solve the problem.
It started when I upgraded Openhabian by using openhabian-config and upgrading everthing to newes stable.
(I use max! with homegear)
I made a backup of homegear acording to docs. Homegear is upgraded to 0.7.48. While upgrading I get asked to leave the config files. I agreed.
Also, I copied back the backups (cp -a etc/homegear /etc & cp -a var/lib/homegear /var/lib)
Both did not work. I get following when I open homegear (homegear -r):

11/01/20 10:31:11.823 Warning: The setting certPath has been moved from “main.conf” to “rpcservers.conf”.
11/01/20 10:31:11.823 Warning: The setting certPath has been moved from “main.conf” to “rpcservers.conf”.
11/01/20 10:31:11.823 Warning: The setting keyPath has been moved from “main.conf” to “rpcservers.conf”.
11/01/20 10:31:11.823 Warning: The setting keyPath has been moved from “main.conf” to “rpcservers.conf”.
11/01/20 10:31:11.823 Warning: Setting not found: loadDHParamsFromFile
11/01/20 10:31:11.823 Warning: Setting not found: loadDHParamsFromFile
11/01/20 10:31:11.824 Warning: The setting dhParamPath has been moved from “main.conf” to “rpcservers.conf”.
11/01/20 10:31:11.824 Warning: The setting dhParamPath has been moved from “main.conf” to “rpcservers.conf”.
11/01/20 10:31:11.824 Warning: Setting not found: flowNodesPath
11/01/20 10:31:11.824 Warning: Setting not found: flowNodesPath
11/01/20 10:31:11.824 Setting replaceClientServerAddress is deprecated and will be removed by end of 2020.
11/01/20 10:31:11.824 Setting replaceClientServerAddress is deprecated and will be removed by end of 2020.
11/01/20 10:31:11.824 Setting replaceClientServerAddress is deprecated and will be removed by end of 2020.
11/01/20 10:31:11.824 Setting replaceClientServerAddress is deprecated and will be removed by end of 2020.
11/01/20 10:31:11.824 Warning: Setting not found: flowsThreadCount
11/01/20 10:31:11.824 Warning: Setting not found: flowsThreadCount
11/01/20 10:31:11.824 Warning: Setting not found: maxFlowsPerProcess
11/01/20 10:31:11.824 Warning: Setting not found: maxFlowsPerProcess
Connected to Homegear (version 0.7.48-3324).

Any help appreciated,
Thanks

Solved it…
made Backup (see HG docs)
Uninstalled Homegear (apt-get purge homegear)
deletet:
/etc/homegear
/var/lib/homegear

newly installed HG incl. max!(see docs, new Key is generated)
new max.conf modified according to my backup
copied db.sql (/var/lib/homegear/db.sql) from Backup to /var/lib/…

looks to me, some things changed from Version 0.7.40 to 0.7.48 so that i can’t copy back everything from Backup to:
/etc/homegear
/var/lib/homegear
as mentioned in the docs. Maybe somebody can comment this?
Anyway, thanks.
Ingo

1 Like

paging @sathya

Hello @elipsoid,

looks to me, some things changed from Version 0.7.40 to 0.7.48 so that i can’t copy back everything from Backup to:

Some configuration parameters might have changed and deprecated parameters might’ve been removed. So just use the new configuration files and reapply the changes you’ve made (mostly probably in max.conf).

For /var/lib/homegear just make sure, you don’t restore any .so file (i. e. modules and nodes).

Cheers,

Sathya

Thanks for the reply. Yes, that’s what I did, but took my some time to realize what could have happen…
Maybe you update the docs, so others don’t need to figure it out themselfs.
Again, thanks for Homegear and the support,
Ingo

2 Likes