https://aur.archlinux.org/packages/openhab4 is now available.
Search Criteria
Package Details: openhab3 3.4.5-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/openhab3.git (read-only, click to copy) |
---|---|
Package Base: | openhab3 |
Description: | openhab3 open source home automation software |
Upstream URL: | http://www.openhab.org/ |
Licenses: | EPL |
Conflicts: | openhab3-snapshot |
Submitter: | ChaosKid42 |
Maintainer: | None |
Last Packager: | benalexau |
Votes: | 11 |
Popularity: | 0.000021 |
First Submitted: | 2020-11-30 20:26 (UTC) |
Last Updated: | 2023-08-03 02:19 (UTC) |
Dependencies (3)
- archlinux-java-runAUR
- java-runtime-headless (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdg-headlessAUR, jre16-openjdk-headlessAUR, jre14-openjdk-headlessAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdk-headlessAUR, amazon-corretto-19-binAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jre-openj9-headlessAUR, jre12-openjdk-headlessAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdk-headlessAUR, jre15-openjdk-headlessAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jre19-openjdk-headlessAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, zing-21-binAUR, zing-8-binAUR, jre17AUR, java-openjdk-binAUR, jre21-zulu-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jre17-zulu-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefield-headlessAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre-openjdk-headless, jre11-openjdk, jre11-openjdk-headless, jre17-openjdk, jre17-openjdk-headless, jre21-openjdk, jre21-openjdk-headless, jre8-openjdk-headless)
- openhab3-addonsAUR (optional) – add-on archives for offline use
Required by (1)
Sources (6)
benalexau commented on 2023-08-03 02:56 (UTC)
benalexau commented on 2023-08-03 02:22 (UTC)
Upstream release 3.4.5 now resolves the ZIP64 field validation issue (release notes at https://github.com/openhab/openhab-distro/releases/tag/3.4.5)
pimkodeli commented on 2023-07-21 22:07 (UTC)
@javallone: thank you so much for your help. I've just tried it and it worked smoothly! Thank you so much again!!
javallone commented on 2023-07-21 14:54 (UTC) (edited on 2023-07-21 14:59 (UTC) by javallone)
@pimkodeli I ran into this issue as well. I found that it has something to do with a change to how Java is validating data in zip files. It can be worked around by adding the following to /etc/default/openhab3:
EXTRA_JAVA_OPTS="-Djdk.util.zip.disableZip64ExtraFieldValidation=true"
Then, delete everything in /var/lib/openhab3/cache/ and restart openhab3.service.
For some added context, I was starting up OpenHAB with verbose output and got a Java exception of "Invalid CEN header (invalid zip64 extra data field size)". Searching for that lead me to https://github.com/iBotPeaches/Apktool/issues/3174#issuecomment-1642697602 with the tip for setting that Java property. There's also something going on with that cache directory since I would only get the error when it was empty. When there is anything in that directory, the startup would just hang like you're seeing.
Looks like the issue has been reported upstream as well: https://github.com/openhab/openhab-core/issues/3718
pimkodeli commented on 2023-07-21 08:10 (UTC) (edited on 2023-07-21 09:06 (UTC) by pimkodeli)
installed / upgraded from last version. now fails to start with no particular error - /var/log/openhab3/openhab.log is empty, no content, server process runs, no web interface, no logs. /var/lib/openhab directory ownership (openhab3:openhab3) is correct. any ideas?
openhab3.service - The openHAB 3 Home Automation Bus Solution Loaded: loaded (/usr/lib/systemd/system/openhab3.service; enabled; preset: disabled) Active: active (running) since Fri 2023-07-21 11:03:06 CEST; 21s ago Docs: http://docs.openhab.org Main PID: 9571 (karaf) Tasks: 37 (limit: 4684) Memory: 116.0M CPU: 2.688s CGroup: /system.slice/openhab3.service ├─9571 /bin/sh /usr/share/openhab3/runtime/bin/karaf server └─9682 /usr/lib/jvm/java-11-openjdk/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab3 -Dopenhab.conf=/etc/openhab3 -Dopenhab.runtime=/usr/share/openhab3/runtime -Dopenhab.userdata=/var/lib/openhab3 -Dopenhab.logdir=/var/log/openhab3 -Dfelix.cm.dir=/var/lib/openhab3/config -Djava.library.path=/>
Jul 21 11:03:06 openhab3 systemd[1]: Started The openHAB 3 Home Automation Bus Solution.
benalexau commented on 2022-12-26 23:33 (UTC)
Thanks @Milos.Kozina, a dependency on archlinux-java-run is now included in 3.4.0-2.
Milos.Kozina commented on 2022-12-26 18:34 (UTC)
Seems, that there is missing dependency on aur/archlinux-java-run.
After installation I tried to run systemctl start openhab3.service
, but got
karaf_wrapper.sh[69712]: /usr/share/openhab3/karaf_wrapper.sh: line 3: archlinux-java-run: command not found
After installing aur/archlinux-java-run, the service started.
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
[Trigger]
Type = Package
Operation = Upgrade
Target = openhab3
Target = openhab3-addons
[Action]
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.
Pinned Comments
benalexau commented on 2023-08-03 02:56 (UTC)
https://aur.archlinux.org/packages/openhab4 is now available.