Per the GitHub page, this software should run with no greater than Java 17; however, java-runtime-headless is 18. So as a first time installer, I've been stuck with installing jre17-openjdk and doing the stuff in the comments. Can we find a more Arch Way of handling this AUR package?
Search Criteria
Package Details: nzbhydra2 7.10.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/nzbhydra2.git (read-only, click to copy) |
---|---|
Package Base: | nzbhydra2 |
Description: | Search aggregator for newznab and torznab indexers. |
Upstream URL: | https://github.com/theotherp/nzbhydra2 |
Licenses: | Apache-2.0 |
Submitter: | fryfrog |
Maintainer: | fryfrog (jkhsjdhjs) |
Last Packager: | fryfrog |
Votes: | 18 |
Popularity: | 0.000000 |
First Submitted: | 2018-01-06 20:01 (UTC) |
Last Updated: | 2024-12-04 04:08 (UTC) |
Dependencies (5)
- java-runtime-headless (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk16-adoptopenjdkAUR, 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, 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, amazon-corretto-17AUR, amazon-corretto-21-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, jre-jetbrainsAUR, jre-openjdk-wakefield-headlessAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, java-openjdk-ea-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)
- python (python37AUR, python311AUR, python310AUR)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-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, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- maven (mvnvmAUR) (make)
- jackettAUR (jackett-monoAUR, jackett-binAUR) (optional) – torrent indexer proxy
Required by (23)
- lidarr (optional)
- lidarr-bin (optional)
- lidarr-develop (optional)
- lidarr-develop-bin (optional)
- lidarr-nightly-bin (optional)
- prowlarr (optional)
- prowlarr-bin (optional)
- prowlarr-develop (optional)
- prowlarr-develop-bin (optional)
- prowlarr-nightly-bin (optional)
- radarr (optional)
- radarr-bin (optional)
- radarr-develop (optional)
- radarr-develop-bin (optional)
- radarr-nightly-bin (optional)
- readarr-develop (optional)
- readarr-develop-bin (optional)
- readarr-nightly-bin (optional)
- sonarr (optional)
- sonarr-bin (optional)
- Show 3 more...
Sources (7)
sysfs commented on 2022-09-17 10:34 (UTC)
fryfrog commented on 2021-12-09 22:14 (UTC)
Use sudo systemctl edit nzbhydra2
to create an override instead, that way it won't get blown away by every update.
Pietro_Pizzi commented on 2021-12-09 22:04 (UTC) (edited on 2021-12-09 22:05 (UTC) by Pietro_Pizzi)
@6bo74 THX for the heads up! It worked :)
If someone had the same issue, this is exactly what you could do:
Add "--java /usr/lib/jvm/java-11-openjdk/bin/java" (v8-15 works) as a start parameter in "/usr/lib/systemd/system/nzbhydra2.service" (at the end of "ExecStart=...").
Reload the service files with "sudo systemctl daemon-reload"
Restart nzbhydra with "sudo systemctl restart nzbhydra2"
6bo74 commented on 2021-12-09 01:41 (UTC) (edited on 2021-12-09 01:43 (UTC) by 6bo74)
@Pietro_Pizzi As stated here: https://github.com/theotherp/nzbhydra2/blob/89e96ef99659d7f30d59bd5c706395843271781e/readme.md?plain=1#L43
you should be able to use the --java
flag pointing it to the binary.
Also, somewhere in the docs it's said that the openjdk requirements are >=8 or <=15
Pietro_Pizzi commented on 2021-12-08 23:03 (UTC)
Hi,
My standard java version is set to the newest, java-17-openjdk at the moment, but nzbhydra2 doesn't want to start with it. I also have v8 and v11 installed. I testet v11 as default and that works. Can anyone explain how i change it that only nzbhydra2 starts with v11 when v17 is set to default? A BTW i start nzbhydra2 with the service file.
6bo74 commented on 2021-08-29 03:28 (UTC)
Hi, what do you guys think about changing nzbhydra.yml
's line updateAutomatically:
from true
to false
? Every update it is overriten and personally I had problems with paru not wanting to override the .jar
executable and failing the whole update queue.
TIA
slip commented on 2021-06-21 19:27 (UTC)
Actually, poking around the github page, I just saw this - "You need Java (at least 8, at most 15)". I saw your mention on discord about it, so I guess we'll see what the plan is going forward. Thanks for maintaining all of these packages! You're one of the best.
fryfrog commented on 2021-06-21 16:26 (UTC)
I just gave 16 a try and there were errors in the logs. Turns out I've been running mine from jre8-openjdk-headless
for ages. I tested that jre11-openjdk-headless
works too.
I'd hop on the nzbhydra2 Discord and see what is up.
slip commented on 2021-06-21 09:00 (UTC)
Anyone else having issues with the latest jre-openjdk-headless
? Version 16.0.1.u9-1
will show the service as active, but no connections can be made. Downgrading to 15.x...
resolves it.
fryfrog commented on 2020-05-08 20:21 (UTC)
The wrapper we use comes right from the package, so it is the latest. I've seen reports of it on Discord, something is wrong. I did notice that there is a Python 3 version of the wrapper... so I switched to that w/ this package. But the error persists.
Pinned Comments
IncredibleLaser commented on 2023-01-24 14:39 (UTC)
The command listed in https://aur.archlinux.org/packages/nzbhydra2?O=10#comment-887324 doesn't work without further modifications because systemd doesn't expand variables in the Environment directive. As such, starting the service fails because the sh command can't be found. A possible workaround is to hardcode the path, i.e.
Environment=PATH="/usr/lib/jvm/java-17-openjdk/bin:/usr/bin"
jkhsjdhjs commented on 2023-01-21 16:50 (UTC) (edited on 2023-01-21 17:08 (UTC) by jkhsjdhjs)
With the update to version 5, nzbhydra2 now requires java 17, so you'll have to make sure that nzbhydra2 is run with java 17: https://aur.archlinux.org/packages/nzbhydra2?O=10#comment-887324
This is only required for running, the package should build fine in any case.
Furthermore, while nzbhydra2 now also provides binaries for windows and linux (which are apparently built using GraalVM), this package will continue to build the generic jar, as it doesn't seem to be possible to build the binaries with OpenJDK and GraaVM is only available in the AUR.