Package Details: nzbhydra2 1.5.1-1

Git Clone URL: https://aur.archlinux.org/nzbhydra2.git (read-only)
Package Base: nzbhydra2
Description: Meta search for NZB indexers
Upstream URL: https://github.com/theotherp/nzbhydra2
Licenses: Apache
Submitter: fryfrog
Maintainer: fryfrog
Last Packager: fryfrog
Votes: 6
Popularity: 0.476156
First Submitted: 2018-01-06 20:01
Last Updated: 2018-06-11 15:26

Latest Comments

fryfrog commented on 2018-05-14 17:24

Why the heck does "java-runtime-headless=8" say jdk6, server-jre, jdk5, zulu-jdk, jdk-dcevm, jdk9-openj9-bin, jdk7, jre7, jre6, jdk7-j9-bin, jdk7r1-j9-bin, jdk8-j9-bin, tuxjdk, jre8-openjdk-jetbrains-headless, jdk8-openj9-bin, jre7-openjdk-headless-infinality, jdk8, jre8, jdk, jre, jdk9, jre9, java-8-openjdk-shenandoah, jdk-arm, jre8-openjdk-headless-infinality, jdk-devel, intellij-jdk, jre10-openjdk-headless, jre7-openjdk-headless, jre8-openjdk-headless, jre9-openjdk-headless are all okay? :/

bfletch commented on 2018-05-13 22:21

The Java dependencies according to the upstream URL:

"You need Java Runtime Environment or OpenJDK (both (>=8u101 but it won't work with 9.x or higher)."

i.e. you kinda need to use 8.

fryfrog commented on 2018-03-17 20:06

Fixed, but I didn't bump the package version.

binhex commented on 2018-03-17 16:36

I'm getting validation failure:-

Validating source files with sha256sums... nzbhydra2-1.4.7-linux.zip ... ?[0m ?[91mPassed nzbhydra2wrapper.py ... FAILED

fryfrog commented on 2018-02-27 20:23

It does take a good 30s for mine to start up. :)

greencopper commented on 2018-02-27 19:52

It's working now. I think I was too hasty.

greencopper commented on 2018-02-27 19:13

I have been going over the journal log and the logs from nzbhydra2, but I am unable to find anything useful.

I can also locate nzbhydra2 running using "ps aux", and if I greb the PID and check "ss", the PID nzbhydra2 is running, but isn't listening on port "5076", rather on "99525", but it's not possible to connect to that.

# ps aux|grep nzbhyd

nzbhydr+ 15099  0.0  0.4  14488 10156 ?        Ss   19:54   0:00 /usr/bin/python2 /usr/lib/nzbhydra2/nzbhydra2wrapper.py --nobrowser --datafolder /var/lib/nzbhydra2
nzbhydr+ 15102  107  5.8 265128 120240 ?       Sl   19:54  16:04 java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -Xloggc:/var/lib/nzbhydra2/logs/gclog-2018-02-27_19-54-33.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCCause -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=5M -Dspring.output.ansi.enabled=ALWAYS -jar /usr/lib/nzbhydra2/lib/core-1.4.3-exec.jar --nobrowser --datafolder /var/lib/nzbhydra2

# ss -pa |grep 15102
u_str ESTAB       0        0                                                  * 99525                                                      * 0                   users:(("java",pid=15102,fd=12)) 

I shortned the output of the systemd status, it looks like this:

● nzbhydra2.service - NZBHydra2 Daemon
   Loaded: loaded (/usr/lib/systemd/system/nzbhydra2.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-02-27 19:54:33 CET; 7min ago
     Docs: https://github.com/theotherp/nzbhydra2
 Main PID: 15099 (python2)
   CGroup: /system.slice/nzbhydra2.service
           ├─15099 /usr/bin/python2 /usr/lib/nzbhydra2/nzbhydra2wrapper.py --nobrowser --datafolder /var/lib/nzbhydra2
           └─15102 java -Xmx128M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -Xloggc:/var/lib/nzbhydra2/logs/gclog-2018-02-27_19-54-33.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+Prin>

Feb 27 19:56:23 minidlserver python2[15099]: |   \|  | `---/  /   |  |_)  ||  |__|  |  \   \/   /  |  .--.  ||  |_)  |      /  ^  \          ) |
Feb 27 19:56:23 minidlserver python2[15099]: |  . `  |    /  /    |   _  < |   __   |   \_    _/   |  |  |  ||      /      /  /_\  \        / /
Feb 27 19:56:23 minidlserver python2[15099]: |  |\   |   /  /----.|  |_)  ||  |  |  |     |  |     |  '--'  ||  |\  \----./  _____  \      / /_
Feb 27 19:56:23 minidlserver python2[15099]: |__| \__|  /________||______/ |__|  |__|     |__|     |_______/ | _| `._____/__/     \__\    |____|
Feb 27 19:56:31 minidlserver python2[15099]: 2018-02-27 19:56:30.740  INFO --- [           main] org.nzbhydra.NzbHydra                    : Starting NzbHydra on minidlserver with PID 15102 (/usr/lib/nzbhydra2/lib/core-1.4.3-exec.jar>
Feb 27 19:56:31 minidlserver python2[15099]: 2018-02-27 19:56:31.796 DEBUG --- [           main] org.nzbhydra.NzbHydra                    : Running with Spring Boot v1.5.7.RELEASE, Spring v4.3.11.RELEASE
Feb 27 19:56:31 minidlserver python2[15099]: 2018-02-27 19:56:31.811  INFO --- [           main] org.nzbhydra.NzbHydra                    : The following profiles are active: default
Feb 27 20:02:04 minidlserver python2[15099]: 2018-02-27 20:02:04.088  INFO --- [           main] org.nzbhydra.config.BaseConfig           : Using data folder /var/lib/nzbhydra2
Feb 27 20:02:04 minidlserver python2[15099]: 2018-02-27 20:02:04.104  INFO --- [           main] org.nzbhydra.config.BaseConfig           : Config file /var/lib/nzbhydra2/nzbhydra.yml does not exist and will be initialized
Feb 27 20:02:04 minidlserver python2[15099]: 2018-02-27 20:02:04.125 DEBUG --- [           main] org.nzbhydra.config.BaseConfig           : Writing config to file /var/lib/nzbhydra2/nzbhydra.yml

fryfrog commented on 2018-02-27 18:56

It should just work, but obviously isn't. Your sudo systemctl status nzbhydra2 doesn't look good to me either. Try sudo journalctl -xa -u nzbhydra2 and see if you see anything obvious.

Mine looks like:

$ sudo systemctl status nzbhydra2
● nzbhydra2.service - NZBHydra2 Daemon
   Loaded: loaded (/usr/lib/systemd/system/nzbhydra2.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-02-27 10:55:26 PST; 30s ago
     Docs: https://github.com/theotherp/nzbhydra2
 Main PID: 5878 (python2)
    Tasks: 66 (limit: 4915)
   CGroup: /system.slice/nzbhydra2.service
           ├─5878 /usr/bin/python2 /usr/lib/nzbhydra2/nzbhydra2wrapper.py --nobrowser --datafolder /var/lib/nzbhydra2
           └─5890 java -Xmx512M -DfromWrapper -XX:TieredStopAtLevel=1 -noverify -Xloggc:/var/lib/nzbhydra2/logs/gclog-2018-02-27_10-55-26.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCCause -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFile>

Feb 27 10:55:52 apollo python2[5878]: 2018-02-27 10:55:52.292  INFO --- [           main] o.n.searching.SearchModuleProvider       : Initializing indexer anizb
Feb 27 10:55:52 apollo python2[5878]: 2018-02-27 10:55:52.293  INFO --- [           main] o.n.searching.SearchModuleProvider       : Initializing indexer omgwtfnzbs
Feb 27 10:55:55 apollo python2[5878]: 2018-02-27 10:55:55.428  INFO --- [           main] org.nzbhydra.tasks.HydraTaskScheduler    : Scheduling task "Delete short term storage results" to be run every 12 hours
Feb 27 10:55:55 apollo python2[5878]: 2018-02-27 10:55:55.439  INFO --- [           main] org.nzbhydra.tasks.HydraTaskScheduler    : Scheduling task "Download queue check" to be run every 10 seconds
Feb 27 10:55:55 apollo python2[5878]: 2018-02-27 10:55:55.440  INFO --- [           main] org.nzbhydra.tasks.HydraTaskScheduler    : Scheduling task "Backup" to be run every 1 hour
Feb 27 10:55:55 apollo python2[5878]: 2018-02-27 10:55:55.441  INFO --- [           main] org.nzbhydra.tasks.HydraTaskScheduler    : Scheduling task "Clean up indexer statuses" to be run every 1 minute
Feb 27 10:55:55 apollo python2[5878]: 2018-02-27 10:55:55.441  INFO --- [           main] org.nzbhydra.tasks.HydraTaskScheduler    : Scheduling task "Download history check" to be run every 10 minutes
Feb 27 10:55:55 apollo python2[5878]: 2018-02-27 10:55:55.442  INFO --- [           main] org.nzbhydra.tasks.HydraTaskScheduler    : Scheduling task "Delete old search results" to be run every 1 hour
Feb 27 10:55:55 apollo python2[5878]: 2018-02-27 10:55:55.567  INFO --- [           main] org.nzbhydra.NzbHydra                    : You can access NZBHydra 2 in your browser via http://172.17.0.1:5076/nzbhydra2
Feb 27 10:55:55 apollo python2[5878]: 2018-02-27 10:55:55.568  INFO --- [           main] org.nzbhydra.NzbHydra                    : Started NzbHydra in 28.054 seconds (JVM running for 28.696)

greencopper commented on 2018-02-27 18:51

Ok, thanks.

I have installed the package, and it is up and running (not enabled yet):

● nzbhydra2.service - NZBHydra2 Daemon
   Loaded: loaded (/usr/lib/systemd/system/nzbhydra2.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-02-27 19:45:30 CET; 2min 11s ago

However, I cannot connect and a "ss" doesn't show it listening on port 5076 or any other port.

Is there something specielt that needs to be fixed first?

fryfrog commented on 2018-02-27 18:46

It is just a python wrapper. If desired, you can use an override to point at the native launcher. But this .py wrapper allows the package to be used on various platforms while the native launcher is only x86_64 or something.

If you want to do that, just...

sudo systemctl edit nzbhydra2 to add an override.conf, inside put...

[Service]
ExecStart=
ExecStart=/usr/lib/nzbhydra2/nzbhydra2 --nobrowser --datafolder /var/lib/nzbhydra2

All comments