Missing domoticz.db

On various Hardware and OS systems: pi / windows / routers / nas, etc
Post Reply
crowndip
Posts: 3
Joined: Friday 02 November 2018 19:02
Target OS: Linux
Domoticz version:
Contact:

Missing domoticz.db

Post by crowndip » Friday 02 November 2018 19:07

Hello,
i installed to my openwrt system (blue turris) domoticz 3.8153-1
The package did not install the domoticz.db file. I tried to use one from my very old backups but it was not compatible. When i run domoticz it does not create the db file but i get an error that Sqlite3 cannot open the file.

In brief, could someone please tell me where i can get the "domoticz.db' file compatible with version 3.8153-1? Or could someone upload an empty file here, of course without his settings?

Thank you

SweetPants
Posts: 2350
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10196
Location: The Netherlands
Contact:

Re: Missing domoticz.db

Post by SweetPants » Saturday 03 November 2018 12:49

As far as i know the database should be created automatically when not there during first startup. So probably it could not be created (directory/file permissions)
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

crowndip
Posts: 3
Joined: Friday 02 November 2018 19:02
Target OS: Linux
Domoticz version:
Contact:

Re: Missing domoticz.db

Post by crowndip » Saturday 03 November 2018 23:54

bingo, incorrect permissions. Setting it to 0777 fixed it. I will narrow it when i find out under which user it runs.
Thanks a lot :-)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests