For OMV install, "Error opening SQLite3 database"

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

Moderator: leecollings

Post Reply
Majika
Posts: 3
Joined: Thursday 15 December 2022 10:54
Target OS: Linux
Domoticz version:
Contact:

For OMV install, "Error opening SQLite3 database"

Post by Majika »

Hi. I'm sorry, my english is poor..
I did install for Openmediavault - Portainer docker container. (latest) Omv is 6.11. Starting fine, after cca 1 minute this error (log file):

Img is attachment...

Not started...
Attachments
Képernyőkép_2022-12-15_11-56-02.png
Képernyőkép_2022-12-15_11-56-02.png (102.89 KiB) Viewed 558 times
willemd
Posts: 661
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: For OMV install, "Error opening SQLite3 database"

Post by willemd »

Did you check manually whether the domoticz database exists in the folder /usr/share/domoticz/ ?
Majika
Posts: 3
Joined: Thursday 15 December 2022 10:54
Target OS: Linux
Domoticz version:
Contact:

Re: For OMV install, "Error opening SQLite3 database"

Post by Majika »

Find / -name "domoticz.db" - not found...
In /usr/share directory no "domoticz" dir...
User avatar
waltervl
Posts: 5908
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: For OMV install, "Error opening SQLite3 database"

Post by waltervl »

Did you have a mounted folder? See docker instruction https://hub.docker.com/r/domoticz/domoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Majika
Posts: 3
Joined: Thursday 15 December 2022 10:54
Target OS: Linux
Domoticz version:
Contact:

Re: For OMV install, "Error opening SQLite3 database"

Post by Majika »

Hi.
I see the link, but I not found "mount" folder (only timezone)..
I have 7 another program in Docker: Plex, MStream (use DB), Homeassistant, torrent, ect.. All perfect.
In OMV6 install full new, no need manually mkdir, create yml file, ect..:
Attachments
Képernyőkép_2022-12-16_08-25-15.png
Képernyőkép_2022-12-16_08-25-15.png (135.67 KiB) Viewed 517 times
User avatar
waltervl
Posts: 5908
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: For OMV install, "Error opening SQLite3 database"

Post by waltervl »

Sorry I meant volumes:

volumes:
- ./config:/opt/domoticz/userdata

The database will be created in userdata.
Please also check the synology docker instructions for some reference (ignore the USB driver part)
https://www.domoticz.com/wiki/Synology
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest