im using a raspberry 2 with raspbian jessie and configured openhab.
I wanted to setup the my.openhab addon and followed the instructions but my openhab says always that im offline.
The log file under “logs” openhab.log does not show actual datalogs. I tried to “sudo service openhab restart” several times and “service openhab status” gives me also an sucessful answer:
pi@raspberrypi ~ $ service openhab status ● openhab.service - LSB: Kurze Beschreibung
Loaded: loaded (/etc/init.d/openhab)*
Active: active (exited) since Die 2015-12-15 14:01:03 UTC; 4min 54s ago*
The fact that openhab.log is empty and the service status says “Active:active (exited)” it mean your openHAB server is not running. For some reason it is failing to start. There will always be at least a few lines in openhab.log when it starts. If you see nothing then it is never running.
Look at your syslog to see if there is any sort of error printed when it starts up.
How did you install openHAB? The best installation approach is to use apt-get which should handle most of the permissions and similar problems.
I now started openhab (sudo ./start.sh) and i get no critical errors.
I can now also acesss my site over http://localip/openhab.app?sitemap=demo
but at the login window i dont know what credantials to use. my mail adress and password from my openhab doesnt work either my local pi user …
Usernames and passwords for local access are in /etc/openhab/configurations/users.cfg. It is of the format
user=password
When you configure my.openhab I think it automatically adds an ifttt user. But it shouldn’t be asking for a user and password if you have security set up as EXTERNAL. Double check that the security:option=EXTERNAL is set near the top of openhab.cfg.
If it is set to ON then that would explain both why it is asking for the password and why my.openhab isn’t working.