Domoticz looks for config files in wrong paths

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

Moderator: leecollings

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

Domoticz looks for config files in wrong paths

Post by przemhb »

Hi,

I have installed Domoticz from Fedora's repository. Version: domoticz-4.9700-1.fc28.src.rpm.
It works for some months, but not everything works as it should.

Some problems are shown by log file:
1. I don't know why it wants to read configuration from /usr/bin/Config/ instead of /usr/share/domoticz/Config, where configuration files are located.
2. It tries to read /usr/share/domoticz/options.xml instead of /usr/share/domoticz/Config/options.xml, where the options.xml file is really located.
3. As you may also notice Plugin System doesn't start. No idea why. I believe it worked some time ago.

Have you got an idea what is wrong and how to fix it?

Code: Select all

Error, Cannot find a path to the configuration files at /usr/bin/Config/, Using /etc/openzwave/ instead...
Info, Reading /etc/openzwave/options.xml for Options
Warning, Failed to Parse /usr/share/domoticz/options.xml: Failed to open file
Info, Options:
Info,         appendlogfile: false
Info,         associate: true
Info,         assumeawake: true
Info,         autoupdateconfigfile: false
Info,         configpath: /etc/openzwave/
Info,         consoleoutput: true
Info,         customsecuredcc: <cut>
Info,         drivermaxattempts: 5
Info,         dumptriggerlevel: 4
Info,         enablesis: true
Info,         enforcesecurereception: true
Info,         exclude:
Info,         include:
Info,         interface:
Info,         intervalbetweenpolls: true
Info,         logfilename: OZW_Log.txt
Info,         logging: true
Info,         networkkey: <cut>
Info,         notifyondriverunload: false
Info,         notifytransactions: false
Info,         performreturnroutes: true
Info,         pollinterval: 60000
Info,         queueloglevel: 9
Info,         refreshallusercodes: false
Info,         reloadafterupdate: AWAKE
Info,         retrytimeout: 10000
Info,         saveconfiguration: true
Info,         saveloglevel: 8
Info,         securitystrategy: SUPPORTED
Info,         suppressvaluerefresh: false
Info,         userpath: /usr/share/domoticz/
Info,         validatevaluechanges: true
Always, OpenZwave Version 1.5.0 Starting Up
/etc/sysconfig/domoticz:

Code: Select all

WWW_PORT=8088
SSL_PORT=8443
SSLCERT="/var/lib/domoticz/domoticz.pem"
SSLPASS=""
SSLMETHOD=""
SSLOPTIONS=""
SSLDHPARAM=""
WWW_ROOT="/usr/share/domoticz/www"
DBASE="/var/lib/domoticz/domoticz.db"
USERDATA="/usr/share/domoticz/"
VERBOSE=1
LOG="/var/log/domoticz.log"
LOGLEVEL="0"
Service status:

Code: Select all

systemctl status domoticz.service
● domoticz.service - Domoticz Home Automation Server
   Loaded: loaded (/usr/lib/systemd/system/domoticz.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2019-02-18 17:10:05 CET; 35min ago
 Main PID: 12211 (domoticz)
    Tasks: 19 (limit: 4517)
   Memory: 25.2M
   CGroup: /system.slice/domoticz.service
           └─12211 /usr/bin/domoticz -www 8088 -sslwww 8443 -sslcert /var/lib/domoticz/domoticz.pem -sslpass -sslmethod -ssloptions -ssldhparam 
           -wwwroot /usr/share/domoticz/www -dbase /var/lib/domoticz/domoticz.db -userdata /usr/share/domoticz/ -verbose 1 -log /var/log/domoticz.log -loglevel 0
Executable file:
/usr/bin/domoticz
Database files:
/var/lib/domoticz/domoticz.db
/var/lib/domoticz/domoticz.db-shm
/var/lib/domoticz/domoticz.db-wal
Service config files:
/etc/sysconfig/domoticz
/etc/systemd/system/multi-user.target.wants/domoticz.service
Main installation folder:
/usr/share/domoticz
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest