Page 1 of 1

zwcfg xml file missing

Posted: Tuesday 16 October 2018 22:48
by przemhb
Correct me if I am wrong, but there should be /usr/share/domoticz/Config/zwcfg_*.xml file storing my system nodes' configuration.
For a reason unknown to me it is not there. System works for a few weeks. During the time domoticz service was restarted a few times.

Shouldn't the missing zwcfg_*.xml file been recreated during OpenZWave initialization, after domoticz service was restarted?

I want to delete the zwcfg_*.xml file to test if a new type node support, I've added works.

Re: zwcfg xml file missing

Posted: Thursday 18 October 2018 9:33
by gizmocuz
Yes this file should be created if it is not there. Not sure about the file location, but check the domoticz installation folder, and then inside the 'Config' folder

Re: zwcfg xml file missing

Posted: Thursday 18 October 2018 9:51
by przemhb
I've checked domoticz installation folder and it's subfolders recursively down and there is no zwcfg file. Restarting of the service doesn't help.

Re: zwcfg xml file missing

Posted: Thursday 18 October 2018 17:25
by jvdz
Just guessing:
- Does the credentials which domoticz runs with have enough rights to the Domoticz/Config directory to create the file?
- Maybe some SDCard corruption causing this?

Jos

Re: zwcfg xml file missing

Posted: Thursday 18 October 2018 23:58
by przemhb
Thank you jvdz!

Domoticz service's owner was user domoticz, but whole the folder was owned by root, so I recursively changed owner of the folder:
chown -R domoticz:domoticz /usr/share/domoticz
Success: OZW_log.txt file appeared and ozwcache_0xHEX.xml.