openmediavault-nzbget plugin

    • OMV 2.x
    • Just a heads up that NZBGet 16.0-testing-r1353 has been released, I just upgraded via the built-in updater without any problems :)
      [IMG:http://widgets.trakt.tv/users/1f5d0f5ed67f98ed9d06d9849b42dd0e/watched/banner@1x.jpg]
      What I am watching/watched on my Popcorn Hour media player
      omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
      MySQL (Percona) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS
    • nzbget crashes

      hello,

      first of all: thanks for the work providing the plugin.

      i installed nzbget yesterday and rund it through the night.
      in the morning i couldt login. the log says:

      Source Code

      1. Sun Aug 2 09:00:24 2015 ERROR Starting daemon failed: could not acquire lock on lock-file /media/639fb959-5f38-4e12-b451-35f331fd485e/usenet//nzbget.lock
      2. Sun Aug 2 09:10:47 2015 ERROR Starting daemon failed: could not acquire lock on lock-file /media/639fb959-5f38-4e12-b451-35f331fd485e/usenet//nzbget.lock


      I'am using the latest stable release of omv (2.16) and the following version of the nzbget-plugin:

      Source Code

      1. Package: openmediavault-nzbget
      2. Versions:
      3. 1.6 (/var/lib/apt/lists/dh2k.omv-extras.org_debian_dists_stoneburner-miller-testing_main_binary-amd64_Packages) (/var/lib/dpkg/status)
      4. Description Language:
      5. File: /var/lib/apt/lists/dh2k.omv-extras.org_debian_dists_stoneburner-miller-testing_main_binary-amd64_Packages
      6. MD5: b8ec723bd25df07594562de7d51cd5d2
      7. Reverse Depends:
      8. Dependencies:
      9. 1.6 - openmediavault (2 1.0) libjs-jquery (2 1.7.2) openssl (0 (null)) libc6 (2 2.13) libgcc1 (2 1:4.1.1) libgnutls-dev (0 (null)) libncurses5 (2 5.5-5~) par2 (0 (null)) libsigc++-2.0-0c2a (2 2.2.0) libstdc++6 (0 (null)) libtinfo5 (0 (null)) libxml2 (2 2.7.4) zlib1g (2 1:1.2.0) python (0 (null))
      10. Provides:
      11. 1.6 -
      12. Reverse Provides:
      Display All


      Thanks for help
    • when i look in the lock-file and search for the pids i get the following:

      Source Code

      1. -rw-r----- 1 nzbget users 6 Aug 1 13:40 nzbget.lock
      2. cat nzbget.lock
      3. 11112
      4. ps -ef|grep 11112
      5. nzbget 11112 1 5 Aug01 ? 01:01:53 /usr/share/nzbget/nzbget -c /usr/share/nzbget/nzbget.conf -D
      6. nzbget 19630 11112 0 Aug01 ? 00:00:00 [unrar] <defunct>
      7. nzbget 21008 11112 0 Aug01 ? 00:00:00 [unrar] <defunct>
      8. nzbget 21120 11112 0 Aug01 ? 00:00:00 [unrar] <defunct>
      9. nzbget 23179 11112 0 Aug01 ? 00:00:03 [unrar] <defunct>
      10. root 28356 17632 0 10:04 pts/1 00:00:00 grep 11112
    • Try starting again from the webui, I have been using it for a while without issue.

      /media/639fb959-5f38-4e12-b451-35f331fd485e/usenet//nzbget.lock
      Concerns me a little but as the file is created I can't see that being a issue.
      Did you make any changes to the default paths in the settings?
      [IMG:http://widgets.trakt.tv/users/1f5d0f5ed67f98ed9d06d9849b42dd0e/watched/banner@1x.jpg]
      What I am watching/watched on my Popcorn Hour media player
      omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
      MySQL (Percona) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS
    • ok. i killed the processes and disabled / enabled the nzb-service in the webui - now it works again.

      to your question:

      after i installed the nzbget-plugin yesterday i just configured it over the web ui in omv (maily the path - look at attachment).
      after that the following directory structure was created through nzbget:

      Source Code

      1. ls -l usenet/
      2. insgesamt 31736
      3. drwxrwsrwx 11 nzbget users 4096 Aug 2 10:46 completed
      4. drwxrwsrwx 6 root users 4096 Aug 1 23:20 intermediate
      5. drwxrwsrwx 2 root users 4096 Aug 1 19:56 nzb
      6. -rw-r----- 1 nzbget users 6 Aug 2 11:20 nzbget.lock
      7. -rw-rw-rw- 1 nzbget users 32430666 Aug 2 11:24 nzbget.log
      8. drwxrwsrwx 2 root users 36864 Aug 2 11:24 queue
      9. drwxrwsrwx 2 root users 4096 Aug 1 13:35 tmp


      after that i configured nzbget completly over the ngbet web ui

      here is the installation log of nzbget:

      Display Spoiler

      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following extra packages will be installed:
      libc-dev-bin libc6-dev libgcrypt11-dev libgnutls-dev libgnutls-openssl27
      libgnutlsxx27 libgpg-error-dev libjs-jquery libp11-kit-dev libtasn1-3-dev
      linux-libc-dev par2 zlib1g-dev
      Suggested packages:
      glibc-doc libgcrypt11-doc gnutls26-doc
      Recommended packages:
      manpages-dev gcc c-compiler javascript-common python
      The following NEW packages will be installed:
      libc-dev-bin libc6-dev libgcrypt11-dev libgnutls-dev libgnutls-openssl27
      libgnutlsxx27 libgpg-error-dev libjs-jquery libp11-kit-dev libtasn1-3-dev
      linux-libc-dev openmediavault-nzbget par2 zlib1g-dev
      0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
      Need to get 6228 kB of archives.
      After this operation, 20.4 MB of additional disk space will be used.
      WARNING: The following packages cannot be authenticated!
      libgnutls-openssl27 libgnutlsxx27 libc-dev-bin linux-libc-dev libc6-dev
      libgpg-error-dev libgcrypt11-dev zlib1g-dev libtasn1-3-dev libp11-kit-dev
      libgnutls-dev libjs-jquery par2 openmediavault-nzbget
      Authentication warning overridden.
      Get:1 ftp.de.debian.org/debian/ wheezy/main libgpg-error-dev amd64 1.10-3.1 [43.0 kB]
      Get:2 security.debian.org/ wheezy/updates/main libgnutls-openssl27 amd64 2.12.20-8+deb7u3 [222 kB]
      Get:3 dh2k.omv-extras.org/debian/ stoneburner-miller-testing/main openmediavault-nzbget all 1.6 [8772 B]
      Get:4 ftp.de.debian.org/debian/ wheezy/main zlib1g-dev amd64 1:1.2.7.dfsg-13 [215 kB]
      Get:5 security.debian.org/ wheezy/updates/main libgnutlsxx27 amd64 2.12.20-8+deb7u3 [223 kB]
      Get:6 ftp.de.debian.org/debian/ wheezy/main libp11-kit-dev amd64 0.12-3 [67.8 kB]
      Get:7 ftp.de.debian.org/debian/ wheezy/main libjs-jquery all 1.7.2+dfsg-1 [80.1 kB]
      Get:8 ftp.de.debian.org/debian/ wheezy/main par2 amd64 0.4-11 [102 kB]
      Get:9 security.debian.org/ wheezy/updates/main libc-dev-bin amd64 2.13-38+deb7u8 [226 kB]
      Get:10 security.debian.org/ wheezy/updates/main linux-libc-dev amd64 3.2.68-1+deb7u2 [837 kB]
      Get:11 security.debian.org/ wheezy/updates/main libc6-dev amd64 2.13-38+deb7u8 [2665 kB]
      Get:12 security.debian.org/ wheezy/updates/main libgcrypt11-dev amd64 1.5.0-5+deb7u3 [403 kB]
      Get:13 security.debian.org/ wheezy/updates/main libtasn1-3-dev amd64 2.13-2+deb7u2 [389 kB]
      Get:14 security.debian.org/ wheezy/updates/main libgnutls-dev amd64 2.12.20-8+deb7u3 [747 kB]
      Fetched 6228 kB in 4s (1538 kB/s)
      Selecting previously unselected package libgnutls-openssl27:amd64.
      (Reading database ... 29840 files and directories currently installed.)
      Unpacking libgnutls-openssl27:amd64 (from .../libgnutls-openssl27_2.12.20-8+deb7u3_amd64.deb) ...
      Selecting previously unselected package libgnutlsxx27:amd64.
      Unpacking libgnutlsxx27:amd64 (from .../libgnutlsxx27_2.12.20-8+deb7u3_amd64.deb) ...
      Selecting previously unselected package libc-dev-bin.
      Unpacking libc-dev-bin (from .../libc-dev-bin_2.13-38+deb7u8_amd64.deb) ...
      Selecting previously unselected package linux-libc-dev:amd64.
      Unpacking linux-libc-dev:amd64 (from .../linux-libc-dev_3.2.68-1+deb7u2_amd64.deb) ...
      Selecting previously unselected package libc6-dev:amd64.
      Unpacking libc6-dev:amd64 (from .../libc6-dev_2.13-38+deb7u8_amd64.deb) ...
      Selecting previously unselected package libgpg-error-dev.
      Unpacking libgpg-error-dev (from .../libgpg-error-dev_1.10-3.1_amd64.deb) ...
      Selecting previously unselected package libgcrypt11-dev.
      Unpacking libgcrypt11-dev (from .../libgcrypt11-dev_1.5.0-5+deb7u3_amd64.deb) ...
      Selecting previously unselected package zlib1g-dev:amd64.
      Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_amd64.deb) ...
      Selecting previously unselected package libtasn1-3-dev.
      Unpacking libtasn1-3-dev (from .../libtasn1-3-dev_2.13-2+deb7u2_amd64.deb) ...
      Selecting previously unselected package libp11-kit-dev.
      Unpacking libp11-kit-dev (from .../libp11-kit-dev_0.12-3_amd64.deb) ...
      Selecting previously unselected package libgnutls-dev.
      Unpacking libgnutls-dev (from .../libgnutls-dev_2.12.20-8+deb7u3_amd64.deb) ...
      Selecting previously unselected package libjs-jquery.
      Unpacking libjs-jquery (from .../libjs-jquery_1.7.2+dfsg-1_all.deb) ...
      Selecting previously unselected package par2.
      Unpacking par2 (from .../archives/par2_0.4-11_amd64.deb) ...
      Selecting previously unselected package openmediavault-nzbget.
      Unpacking openmediavault-nzbget (from .../openmediavault-nzbget_1.6_all.deb) ...
      Processing triggers for man-db ...
      Processing triggers for install-info ...
      Processing triggers for openmediavault ...
      Restarting engine daemon ...
      Setting up libgnutls-openssl27:amd64 (2.12.20-8+deb7u3) ...
      Setting up libgnutlsxx27:amd64 (2.12.20-8+deb7u3) ...
      Setting up libc-dev-bin (2.13-38+deb7u8) ...
      Setting up linux-libc-dev:amd64 (3.2.68-1+deb7u2) ...
      Setting up libc6-dev:amd64 (2.13-38+deb7u8) ...
      Setting up libgpg-error-dev (1.10-3.1) ...
      Setting up libgcrypt11-dev (1.5.0-5+deb7u3) ...
      Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ...
      Setting up libtasn1-3-dev (2.13-2+deb7u2) ...
      Setting up libp11-kit-dev (0.12-3) ...
      Setting up libgnutls-dev (2.12.20-8+deb7u3) ...
      Setting up libjs-jquery (1.7.2+dfsg-1) ...
      Setting up par2 (0.4-11) ...
      Setting up openmediavault-nzbget (1.6) ...
      Adding nzbget user...
      Installing latest NZBGet stable version
      Please wait, downloading files.....
      Installer for nzbget-15.0
      Verifying package...
      Checking system...
      CPU-Architecture: x86_64
      Unpacking...
      Configuring...
      Free memory detected: 5315 MB
      Activating article cache (ArticleCache=100)
      Increasing write buffer (WriteBuffer=1024)
      Increasing par repair buffer (ParBuffer=100)
      CPU speed detected: 10046 BogoMIPS
      Simultaneous download and post-processing is on
      Installation completed

      Quick help (from nzbget-directory):
      ./nzbget -s - start nzbget in console mode
      ./nzbget -D - start nzbget in daemon mode (in background)
      ./nzbget -C - connect to background process
      ./nzbget -Q - stop background process
      ./nzbget -h - help screen with all commands

      Successfully installed into /usr/share/nzbget
      Web-interface runs on 192.168.1.200:6789
      For support please visit nzbget.net/forum
      Initial configuration.
      Processing triggers for openmediavault ...
      Updating locale files ...
      Updating file permissions ...
      Purging internal cache ...
      Restarting engine daemon ...
      Creating index of upgradeable packages ...
      Creating index of openmediavault plugins ...
      Fertig ...
      Images
      • Unbenannt.PNG

        33.94 kB, 1,014×399, viewed 493 times
    • This might have been a one-off, I was on nzbget 15 and upgraded to the testing version (16)
      There maybe issue when installing 16 on a fresh install, I will have to check that on a VM but for now try it out and see if the error comes back.
      [IMG:http://widgets.trakt.tv/users/1f5d0f5ed67f98ed9d06d9849b42dd0e/watched/banner@1x.jpg]
      What I am watching/watched on my Popcorn Hour media player
      omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
      MySQL (Percona) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS
    • i now updated to to nzbget version 16 over the nzbget web ui.

      i think that was not so a good idea ;)
      now the files dont get unpacked anymore.
      when i unpack them manualy it works.

      it seems that nzbget doesnt even trys to unpack because of "bad files" - but there are no bad files.
      i tried it with serevral nzb-files - always the same problem.

      log for one example:

      Display Spoiler
      Sun Aug 2 14:10:23 2015 INFO nzbget 16.0-testing-r1353 daemon-mode
      Sun Aug 2 14:19:41 2015 INFO Reloading...
      Sun Aug 2 14:19:42 2015 INFO nzbget 16.0-testing-r1353 daemon-mode
      Sun Aug 2 14:21:37 2015 INFO Adding collection abc.nzb to queue
      Sun Aug 2 14:21:37 2015 INFO Collection abc added to queue
      Sun Aug 2 14:21:37 2015 INFO Successfully downloaded abc/xyz.par2
      Sun Aug 2 14:21:55 2015 INFO Successfully downloaded abc/xyz.part2.rar
      Sun Aug 2 14:22:13 2015 INFO Successfully downloaded abc/xyz.part3.rar
      Sun Aug 2 14:22:29 2015 INFO Successfully downloaded abc/xyz.part1.rar
      Sun Aug 2 14:22:46 2015 INFO Successfully downloaded abc/xyz.part4.rar
      Sun Aug 2 14:23:04 2015 INFO Successfully downloaded abc/xyz.part5.rar
      Sun Aug 2 14:23:17 2015 INFO Successfully downloaded abc/xyz.nzb
      Sun Aug 2 14:23:17 2015 INFO Successfully downloaded abc/xyz.part6.rar
      Sun Aug 2 14:23:17 2015 INFO Collection abc completely downloaded
      Sun Aug 2 14:23:17 2015 INFO Queueing abc for post-processing
      Sun Aug 2 14:23:17 2015 INFO Checking renamed files for abc
      Sun Aug 2 14:23:17 2015 INFO No renamed files found for abc
      Sun Aug 2 14:23:18 2015 INFO Pausing download before unpack
      Sun Aug 2 14:23:18 2015 INFO Unpacking abc
      Sun Aug 2 14:23:18 2015 INFO Unpack for abc requested par-check with forced repair
      Sun Aug 2 14:23:18 2015 INFO Unpausing download after unpack
      Sun Aug 2 14:23:18 2015 INFO Checking pars for abc
      Sun Aug 2 14:23:18 2015 INFO Verifying abc/xyz
      Sun Aug 2 14:23:18 2015 INFO Loading file xyz.par2
      Sun Aug 2 14:23:18 2015 INFO Verifying file xyz.part1.rar
      Sun Aug 2 14:23:18 2015 INFO Verifying file xyz.part2.rar
      Sun Aug 2 14:23:18 2015 INFO Verifying file xyz.part3.rar
      Sun Aug 2 14:23:18 2015 INFO Verifying file xyz.part4.rar
      Sun Aug 2 14:23:18 2015 INFO Verifying file xyz.part5.rar
      Sun Aug 2 14:23:18 2015 INFO Verifying file xyz.part6.rar
      Sun Aug 2 14:23:18 2015 INFO Repair not needed for abc/xyz
      Sun Aug 2 14:23:18 2015 INFO Performing full par-check for abc
      Sun Aug 2 14:23:18 2015 INFO Verifying abc/xyz
      Sun Aug 2 14:23:18 2015 INFO Loading file xyz.par2
      Sun Aug 2 14:23:19 2015 INFO Verifying file xyz.part1.rar
      Sun Aug 2 14:23:19 2015 INFO Verifying file xyz.part2.rar
      Sun Aug 2 14:23:19 2015 INFO Verifying file xyz.part3.rar
      Sun Aug 2 14:23:20 2015 INFO Verifying file xyz.part4.rar
      Sun Aug 2 14:23:20 2015 INFO Verifying file xyz.part5.rar
      Sun Aug 2 14:23:20 2015 INFO Verifying file xyz.part6.rar
      Sun Aug 2 14:23:20 2015 WARNING File xyz.part4.r▒ has 54 bad block(s) of total 54 block(s)
      Sun Aug 2 14:23:20 2015 WARNING File xyz.part3.r▒ has 54 bad block(s) of total 54 block(s)
      Sun Aug 2 14:23:20 2015 WARNING File xyz.part6.r▒ has 43 bad block(s) of total 43 block(s)
      Sun Aug 2 14:23:20 2015 INFO Repair not needed for abc/xyz
      Sun Aug 2 14:23:20 2015 INFO Pausing download before unpack
      Sun Aug 2 14:23:20 2015 INFO Second unpack attempt skipped for abc due to par-check not repaired anything
      Sun Aug 2 14:23:20 2015 ERROR Unpack for abc failed.
      Sun Aug 2 14:23:21 2015 INFO Unpausing download after unpack
      Sun Aug 2 14:23:21 2015 INFO Collection abc added to history


      what can i do now?
    • I would suggest posting the same msg on nzbget forums. It could be just a setting you have changed. The guys have over there will have a better idea on where to start looking for the problem.
      [IMG:http://widgets.trakt.tv/users/1f5d0f5ed67f98ed9d06d9849b42dd0e/watched/banner@1x.jpg]
      What I am watching/watched on my Popcorn Hour media player
      omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
      MySQL (Percona) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS
    • Hey, this plugin is great. However, it just stopped working for me. When i check the processes nzbget isn't even running even though the plugin is enabled. I reinstalled it but that didn't fix the problem. I went through this post looking for a fix. I even purged nzbget completely and reinstalled it. Service still isn't starting. Plex, Sonarr, etc. are all working fine.
    • What are the advantages of using NZBget over SABnzbd? is there any speed advantage?
      Custom mini-ITX build
      Coolcube Mini, Intel Desktop Board DQ77KB, Intel Celeron G1610T, 4 GB DDR3 Ram, 30 GB Sandisk SSDnow 200 (OS), 1 TB Samsung M8 HN-M101MBB

      Dell Optiplex 960 sff (deprecated) - link


      Dell Optiplex FX160 (repurposed) - link

      "If you can't find it in Google, it simply doesn't exist!" - The Internetz