zwcfg xml file missing Topic is solved

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
przemhb
Posts: 32
Joined: Wednesday 12 September 2018 23:55
Target OS: Linux
Domoticz version:
Contact:

zwcfg xml file missing

Post 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.
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: zwcfg xml file missing

Post 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
Quality outlives Quantity!
przemhb
Posts: 32
Joined: Wednesday 12 September 2018 23:55
Target OS: Linux
Domoticz version:
Contact:

Re: zwcfg xml file missing

Post 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.
User avatar
jvdz
Posts: 2333
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: zwcfg xml file missing

Post 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
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
przemhb
Posts: 32
Joined: Wednesday 12 September 2018 23:55
Target OS: Linux
Domoticz version:
Contact:

Re: zwcfg xml file missing

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest