stas-demydiuk / domoticz-docker Goto Github PK
View Code? Open in Web Editor NEWDocker containers with official Domoticz beta builds
License: MIT License
Docker containers with official Domoticz beta builds
License: MIT License
I imported the Dockerfile.x86-64 in portainer on my qnap ts453D.
However it fails with:
COPY failed: stat /share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/tmp/docker-builder284893746/domoticz: no such file or directory
I usually work with prebuild docker images, but i need to add a package to the image so i thought to make one myself. I have not much experience with docker so i don't know where to look to solve this.
Hello,
I was using the "demydiuk/domoticz:latest-arm32v7" image, all work fine with the 4th month old image. Yesterday, after a problem of space on my disk, the image reload with the last version and now I got :
1931-01-06 03:43:09.000 Status: Domoticz V2020.2 (build 13091) (c)2012-2021 GizMoCuz 1931-01-06 03:43:09.000 Status: Build Hash: c5dc8c071-modified, Date: 2021-03-18 15:39:13 1931-01-06 03:43:09.000 Status: Startup Path: /opt/domoticz/ 1931-01-06 03:43:09.000 Error: mainworker seems to have ended or hung unexpectedly (last update 1090705924.000000 seconds ago) 1931-01-06 03:43:09.000 Error: Domoticz(236) is exiting due to watchdog triggered... 1931-01-06 03:43:09.000 Error: Failed to start gdb, will use backtrace() for printing stack frame
I got into the container docker container exec -it $id bash
, and I got those messages :
root@5e02e5f549b6:/opt/domoticz# date
Mon Mar 2 05:29:47 CET 1970
root@5e02e5f549b6:/opt/domoticz# date
Tue Feb 24 07:16:27 CET 1970
root@5e02e5f549b6:/opt/domoticz# date
Fri Feb 20 13:23:23 CET 1970
root@5e02e5f549b6:/opt/domoticz# date
Wed Feb 25 15:07:55 CET 1970
root@5e02e5f549b6:/opt/domoticz# date
Fri Feb 27 16:03:23 CET 1970
(failed reverse-i-search)`frontend': dpkg-reconfigure --^Contend noninteractive tzdata
root@5e02e5f549b6:/opt/domoticz# /opt/domoticz/domoticz -dbase /config/domoticz.db -log /config/domoticz.log
1931-01-06 03:43:09.000 Status: Domoticz V2020.2 (build 13091) (c)2012-2021 GizMoCuz
1931-01-06 03:43:09.000 Status: Build Hash: c5dc8c071-modified, Date: 2021-03-18 15:39:13
1931-01-06 03:43:09.000 Status: Startup Path: /opt/domoticz/
1931-01-06 03:43:09.000 Error: mainworker seems to have ended or hung unexpectedly (last update 1090705924.000000 seconds ago)
1931-01-06 03:43:09.000 Error: Domoticz(236) is exiting due to watchdog triggered...
1931-01-06 03:43:09.000 Error: Failed to start gdb, will use backtrace() for printing stack frame
User defined signal 1
It seems there is a problem with the ubuntu image :
$ docker run -it arm32v7/ubuntu:20.04 bash
root@4f8115a3b129:/# date
Sun Feb 22 21:16:43 UTC 1970
root@4f8115a3b129:/# date
Mon Mar 2 12:27:39 UTC 1970
root@4f8115a3b129:/# date
Tue Feb 24 09:41:15 UTC 1970
But I'm not sure that it's the date problem that can correct my domoticz issue.
Hello,
thanks for your Container
i tried to use this Python domoticz plugin : https://github.com/dnpwwo/Domoticz-Google-Plugin
is it clearly noticed that python 3.6x can be a problem for this plugin.
I installed it and i have this error message in domoticz Logs :
Error: (GoogleDevs) failed to load 'plugin.py', Python Path used was '/opt/domoticz/plugins/Domoticz-Google-Plugin/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'. 2020-05-13 19:00:08.059 Error: (GoogleCast) Module Import failed, exception: 'ModuleNotFoundError' 2020-05-13 19:00:08.059 Error: (GoogleCast) Module Import failed: ' Name: pychromecast' 2020-05-13 19:00:08.059 Error: (GoogleCast) Error Line details not available.
Can you help me ?
Hi Stas,
Would be possible to add 1wire support to the docker?
I have tested your container and really happy how it works.
However, i'm missing 1wire support.
I was able to launched the following command in the terminal of the container:
apt install owfs
apt install nano
Change the /etc/owfs.conf (i can do it manually afterwards)
mkdir /mnt/1wire
Change /etc/fuse.conf (allow….i can do it manually afterwards)
owfs -C -uall -m /mnt/1wire —allow_other
Once it's done i could add 1wire hardware to Domoticz.
Unfortunately, once the container is rebooted, I lost data.
Last but not least, can you add the link via the domoticz folders "script" and "plugins" to the host via volume as datа from those folders can be lost during the updates.
Thank you a lot in advance/ Дякую наперед
Kind Regards,
Ihor Hanin/
Hello @stas-demydiuk .
It seems there is no new beta version since a month. Latest available container is 12738 whereas the latest possible is 12850.
It seems It comes from DZ releases system itself. Ça you confirm ?
Hi, first of all, thanks for this great docker-file for Domoticz.
I got everything working fine, except I do not get SSL support working.
At startup Domoticz says the service is running:
2020-05-01 11:56:35.101 Status: WebServer(HTTP) started on address: 0.0.0.0 with port 8080 2020-05-01 11:56:35.126 Status: WebServer(SSL) started on address: 0.0.0.0 with port 443
I mapped port 443 of the container to the host port 443 but get no response.
Even inside the container, using curl "localhost:443" I get an "Empty reply from the server" response, however with netstat I can see that domotiz is actually listening on port 443.
Do you have any idea what I'm missing here?
Hi,
I would like to use https://github.com/d-EScape/Domoticz_iDetect plugin, but Python3 plugins "requests" and "paramiko" are missing.
Is it possible to add this modules?
Thank you
Hello, and thanks for the image of domoticz.
I'm trying to get your image working (demydiuk/domoticz:latest-arm32v7), coming from
linuxserver/domoticz:latest
I have some plugins working.
When I move to your image, I get this errors, but I cannot understand what is missing.
Python3.7 is installed in the image.
2020-09-04 08:58:18.834 Error: (Zigbee2MQTT) failed to load 'plugin.py', Python Path used was ':/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2020-09-04 08:58:18.835 Error: (zigbee2mqtt) Module Import failed, exception: 'ModuleNotFoundError'
2020-09-04 08:58:18.835 Error: (zigbee2mqtt) Module Import failed: ' Name: plugin'
2020-09-04 08:58:18.835 Error: (zigbee2mqtt) Error Line details not available.
2020-09-04 08:58:18.886 Error: (ShellyMQTT) failed to load 'plugin.py', Python Path used was ':/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2020-09-04 08:58:18.887 Error: (Shelly MQTT) Module Import failed, exception: 'ModuleNotFoundError'
2020-09-04 08:58:18.887 Error: (Shelly MQTT) Module Import failed: ' Name: plugin'
2020-09-04 08:58:18.887 Error: (Shelly MQTT) Error Line details not available.
2020-09-04 08:58:18.934 Error: (tuya) failed to load 'plugin.py', Python Path used was ':/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2020-09-04 08:58:18.934 Error: (Smart Life) Module Import failed, exception: 'ModuleNotFoundError'
2020-09-04 08:58:18.934 Error: (Smart Life) Module Import failed: ' Name: plugin'
2020-09-04 08:58:18.935 Error: (Smart Life) Error Line details not available.
Do you know what I can see/look? In fact it seems that all python plugins (I have only this 3) don't work.
Thank you for any info.
Gianluca
Hi,
I am having trouble to getting Domoticz to reflect the correct timezone.
There seems to be no /etc/timezone folder.. Does this image require to install tzdata?
Can you offer some advice? thanks!
Hello, thanks for your docker images.
I tried to move from a beta version to another one, but despite having binded everything concerning configuration, DZ is "empty" after the launch. Here is my BIND config :
When SSH into the docker, I can see that volumes are correctly binded with the host and that my DB File has almost the same size and the same date of lasst modification as th one I "saved" in the host, and manually somewhere else....
DB manually saved somewhere else :
So My Question is : Where the hell DZ store his DB in your container ?
I could restore the DB with the DZ web GUI but want to understand first the container thing...
Thanks you very much
Hello,
thank you for your container.
all is in the title.
best regards
Hi,
I want to use the Smanar/Domoticz-deCONZ plugin in my domoticz setup.
I created the docker with:
docker create --name=domoticz -p 8081:8080 -v \<path-to-config\>:/config -v \<path to plugins\>:/opt/domoticz/plugins --restart unless-stopped demydiuk/domoticz:latest
I installed the Domoticz-deCONZ plug in in <path to plugins>
I see the plugin in the list of hardwares and can create a hardware instance.
The plugin seems to be loaded OK but it complains about:
2020-07-30 10:34:11.584 Error: (zigbee) Your pyton version miss requests library,
2020-07-30 10:34:11.584 Error: (zigbee) To install it, type : sudo -H pip3 install requests | sudo -H pip install requests
Any idea how to fix this?
Hi,
with your image, is it possible to use plugins and themes in domoticz ?
Hi,
Thanks for your work. I tried this image on an Raspberry PI 2B+ but It won't start.
I have this error in the log:
/opt/domoticz/domoticz: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by /opt/domoticz/domoticz)
As I understand from the Domoticz forum this is because Domoticz 2020.1+ is build for Debian Buster which does contain GLIB 2.28 as opposed to Ubuntu.
I have a question about this container.
I want to be able to add plugings that are not already available in your image.
Do I need to add an extra volume mapping to the plugin directory to accomplish this?
And I also want the Domoticz database backups on host storage. This also is possible by adding an extra volume mapping to the domoticz backup directory?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.