Package Details: openhab3 3.3.0-2

Git Clone URL: (read-only, click to copy)
Package Base: openhab3
Description: openhab3 open source home automation software
Upstream URL:
Licenses: EPL
Conflicts: openhab3-snapshot
Submitter: ChaosKid42
Maintainer: ChaosKid42
Last Packager: ChaosKid42
Votes: 10
Popularity: 0.151339
First Submitted: 2020-11-30 20:26 (UTC)
Last Updated: 2022-07-02 06:20 (UTC)

Dependencies (3)

Required by (1)

Sources (6)

Latest Comments

1 2 3 Next › Last »

ChaosKid42 commented on 2022-07-02 06:23 (UTC)

Implemented benalexau's idea in current package version. Thus problem should be gone in next upgrade.

benalexau commented on 2022-07-02 02:27 (UTC)

Agree with others here that openHAB should not be running when upgraded. I use the following upgrade hook in case others want to adapt something similar.

Filename: /etc/pacman.d/hooks/10-openhab.hook

Type = Package
Operation = Upgrade
Target = openhab3
Target = openhab3-addons

Description = Stopping openHAB for upgrade (we expect Ansible to trigger a reboot)
When = PreTransaction
Exec = /usr/bin/systemctl stop openhab3.service

Alcatyone commented on 2022-07-01 08:57 (UTC)

I had to delete /var/lib/openhab/cache/ and /var/lib/openhab/tmp/ to be able to start OpenHAB again. Somehow, these directories survived even a reinstallation and caused problems until I deleted them manually.

igvk commented on 2022-07-01 07:57 (UTC)

The problem with non-working openhab after upgrade may be remedied by stopping it before install. In case it doesn't work after upgrade - just shut it down and reinstall the same package. Don't know the reason, it needs some debugging - but it's a simple solution. No downgrade needed.

zynex commented on 2022-01-14 15:24 (UTC) (edited on 2022-01-14 15:48 (UTC) by zynex)

Got same problem as @istobic, OpenHAB won't start and a bunch of errors appear in the journal. A downgrade and then upgrade it again seems to fix is for some reason..?

istobic commented on 2022-01-10 05:51 (UTC)

I had again problems with the update. There weren't even entries in journald at all or logs in /var/log/openhab3/. I downgraded the package to the previous version and ran the upgrade again. Now, it works fine.

benalexau commented on 2021-08-28 08:17 (UTC)

I also had the same issue as others reported here (namely openHAB loading its web UI on port 8181) despite /etc/default/openhab3 including OPENHAB_HTTP_PORT=8080. I found /var/lib/openhab3/config/org/ops4j/pax/web.config unexpectedly contained org.osgi.service.http.port="8181". I removed the file, restarted the service and port 8080 was again used.

ChaosKid42 commented on 2021-08-18 17:24 (UTC)

@Frans-Willen: Thanks for pointing out. Should be fixed now.

Frans-Willem commented on 2021-08-18 17:11 (UTC)

Could you change prepare to point to ${srcdir}/openhab.patch instead of ../openhab.patch, such that the package also works in mkchrootpkg ? Since it's listed as one of the sources, it will automatically be copied to the $srcdir by makepkg, whereas mkchrootpkg will not automatically mirror the startdir.

zynex commented on 2021-08-14 21:02 (UTC) (edited on 2021-08-15 08:34 (UTC) by zynex)

Problem again, previous solutions didn't help this time. Tried @doits example to, removing everything inside /var/lib/openhab3/etc/ folder to, still no web interface or connection to openhab what so ever. Any other ideas what happened this time? Everything seems to work, no error in logs or anything.

[EDIT] Not sure exactly what I did, but eventually got it up'n running again.