I “solved” the problem! I commented the following line in userdata\etc\system.properties:
# karaf.shell.init.script = ${karaf.etc}/shell.init.script
Now, the error is gone!
Can anyone confirm this, too?
I “solved” the problem! I commented the following line in userdata\etc\system.properties:
# karaf.shell.init.script = ${karaf.etc}/shell.init.script
Now, the error is gone!
Can anyone confirm this, too?
Yes, indeed, the error message disappears. I hope that functionality is not affected…
I don’t know. How can I check, if the shell.script is running?
I have no idea. But since the scipt was not running all the time with the error message it cannot be that important for my installation…
I tested also with this in userdata\etc\system.properties:
karaf.shell.init.script = c:/Openhab2/userdata/etc/shell.init.script
or
karaf.shell.init.script = etc/shell.init.script
The error also is gone!
Hello,
the error ist still in the last Snapshot.
I searched in the Batch for a failure but … noting.
In the karaf.bat Java starts with the right argument
-Dkaraf.etc="D:\openhab\userdata\etc"
But then it shows
Error in initialization script: D:\openhab\userdata\openhabuserdataetc\shell.init.script: D:\openhab\userdata\openhabuserdataetc\shell.init.script
The system Proberties dosnt changed since my last Update. It is still
karaf.shell.init.script = ${karaf.etc}/shell.init.script
When i changed this to
karaf.shell.init.script = etc/shell.init.script
from Celaeno1 but is this right or is there another problem then?
If you want to keep the variable, changing this line to the following also worked for me.
karaf.shell.init.script = ${karaf}/etc/shell.init.script