as written above
which is in fact
/etc/openhab/rules
but you already did it, didn‘t you?
as written above
which is in fact
/etc/openhab/rules
but you already did it, didn‘t you?
This is my directory structure of docker:
root@360969bc12b6:/openhab# ls -latr
total 64
-rwxr-xr-x 1 openhab openhab 199 Jun 27 20:05 start.sh
-rwxr-xr-x 1 openhab openhab 73 Jun 27 20:05 start_debug.sh
-rw-r--r-- 1 openhab openhab 13430 Jun 27 20:28 LICENSE.TXT
drwxr-xr-x 1 openhab openhab 4096 Jun 27 20:44 dist
drwxr-xr-x 2 openhab openhab 4096 Sep 30 08:37 .karaf
drwxrwxrwx 2 openhab openhab 4096 Nov 25 18:07 addons
drwxr-xr-x 1 root root 4096 Nov 25 18:07 ..
drwxr-xr-x 12 openhab openhab 4096 Nov 27 13:18 userdata
drwxr-xr-x 1 openhab openhab 4096 Nov 28 07:55 runtime
drwxrwxrwx 8 openhab openhab 256 Nov 28 08:01 conf
drwxr-xr-x 1 openhab openhab 4096 Nov 28 08:01 .
root@360969bc12b6:/openhab# ls -latr conf/
total 12
drwxrwxrwx 2 openhab openhab 64 Sep 29 12:30 conf
drwxrwxrwx 2 openhab openhab 64 Sep 29 12:30 userdata
drwxrwxrwx 2 openhab openhab 64 Oct 27 06:18 addons
-rw-r--r-- 1 openhab openhab 159 Nov 8 20:05 goettlin.sitemap
drwxr-xr-x 3 openhab openhab 96 Nov 27 13:18 services
drwxr-xr-x 3 openhab openhab 96 Nov 28 07:55 rules
drwxrwxrwx 8 openhab openhab 256 Nov 28 08:01 .
drwxr-xr-x 1 openhab openhab 4096 Nov 28 08:01 ..
root@360969bc12b6:/openhab# ls -latr conf/rules/
total 4
-rw-r--r-- 1 openhab openhab 125 Nov 28 07:55 test.rules
drwxr-xr-x 3 openhab openhab 96 Nov 28 07:55 .
drwxrwxrwx 8 openhab openhab 256 Nov 28 08:01 ..```
But the installation ignores the test.rules file ...?
I am not familiar with docker. If you were in the right directory, there should be about 10 subdirectories, like rules, sitemap, items, html, persistence, and so on.
If you change and save test.rules and you do not see the above mentioned log entry (“Loading model Test.rules”) then I guess something went wrong with your rules engine during install or docker is blocking something.
Maybe compare your bundle:list
output with mine t.txt (15.1 KB) if there are some fundamental bundles missing
The openHAB-conf
folder @Oliver2 refers to is located in /openhab/conf
inside the Docker container. You should have a volume mapped to that folder so your configs are saved when you recreate the container.
Rules created through the UI are stored in /openhab/userdata/jsondb/automation.json
.
I assume you’ve restarted openHAB since this error appeared?
This problem should have nothing to do with the fact you are running in Docker. Something is wrong with openHAB.
Hi There,
I found the noticed automation.json but can’t identify any missing module. I guess that I have to stop here and trying and plain openhab installation on my MAC directly.
Many Thanks to your all for your support.
Best regards
Konrad
Hi Everybody,
Many Thanks for your help, I installed openHAB 3 on my MAC directly instead using docker. And same configuration and rule has been processed successfully. So it seems a direct issue with openHAB 3 and docker installation.
Best regards
Konrad