Package Details: openhab2 2.2.0-2

Git Clone URL: https://aur.archlinux.org/openhab2.git (read-only)
Package Base: openhab2
Description: openHAB2 open source home automation software
Upstream URL: http://www.openhab.org/
Licenses: EPL
Conflicts: openhab-addons, openhab-runtime
Submitter: ChaosKid42
Maintainer: ChaosKid42
Last Packager: ChaosKid42
Votes: 11
Popularity: 2.692486
First Submitted: 2017-05-03 13:24
Last Updated: 2018-01-01 17:33

Latest Comments

blahbla77 commented on 2018-01-05 14:34

the paths in the service file below seems to be wrong. I tried editing but didn't figure out the right path to this (seems to be linked with KARAF_ETC): Environment=OPENHAB_USERDATA=/opt/openhab/userdata I tried to change it to etc folder and got this error: KARAF_ETC is not valid: /etc/openhab2/etc

emkay commented on 2018-01-05 07:18

@blahbla77 I had the same problem. When I edited the service file like I commented below everything worked again.

ChaosKid42 commented on 2018-01-03 08:44

Strange. For me this works like a charm. Please look at my log output here: https://gist.github.com/ChaosKid42/82f7651e1e3cb6ecb592bef6f6f1e7e5

blahbla77 commented on 2018-01-02 18:14

journalctl -u openhab2 :Started The openHAB 2 Home Automation Bus Solution. :Launching the openHAB runtime...

all log files below /var/log/openhab2/ are empty

archlinux-java status java-8-jdk (default)

ChaosKid42 commented on 2018-01-01 17:29

@blabla77: what's in the journal? What's in /var/log/openhab2/openhab.log ?

Please note that openhab2 currently does not work with java 9.

blahbla77 commented on 2018-01-01 11:27

Everything seems to be installed ok and no errors when running, but I'm only getting connection refused from port 8080 or https 8443. Do I need to install jetty as well? if so, shouldn't it be a dependency?

emkay commented on 2017-12-18 18:35

The following openhab.service should be used, as the previous one did'nt start openhab anymore with version 2.2.0:

[Unit]

Description=openHAB 2 - empowering the smart home

Documentation=http://docs.openhab.org

Documentation=https://community.openhab.org

Wants=network-online.target

After=network-online.target

[Service]

Environment=OPENHAB_HOME=/opt/openhab

Environment=OPENHAB_CONF=/etc/openhab/conf

Environment=OPENHAB_RUNTIME=/opt/openhab/runtime

Environment=OPENHAB_USERDATA=/opt/openhab/userdata

Environment=OPENHAB_LOGDIR=/opt/openhab/userdata/logs

Environment=OPENHAB_STARTMODE=daemon

User=root

Group=root

WorkingDirectory=/opt/openhab

ExecStart=/opt/openhab/runtime/bin/karaf $OPENHAB_STARTMODE

ExecStop=/opt/openhab/runtime/bin/stop

TimeoutStopSec=120

[Install]

WantedBy=multi-user.target