NZBGet Plugin for UnRaid v5b11+


Recommended Posts

Is there a possibility to temporarily disable a configured usenet server or test connection to a server? I have 3 servers setup for testing dmca takedowns and yesterday I downloaded of a mkv which failed because of missing blocks. I downloaded the mkv in sabnzbd just fine with the same servers configured. Perhaps I filled in a wrong password to one of the servers.

 

What's your version of NZBGet? In 10.0-testing-r603 (released 17 March) the server management was reworked and allows much simpler configurations. In older versions you had to define fill servers using options ServerX.Level to try all servers. Starting with r603 all servers of the same level are tried before the level is increased. Read description of option "Level" if you need more info. Clear suggestion: upgrade to 10.0-testing-r603 if you didn't yet.

 

To temporary disable server set its Connections to 0.

 

If the password were wrong you would see a lot of error messages in the log.

Link to comment
  • Replies 311
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Clear suggestion: upgrade to 10.0-testing-r603 if you didn't yet.

 

I don't think overbyrn has compiled that version for unRAID yet, and I think he's the only one really building unRAID nzbget versions.  :-\

Yes, well... he's been working tirelessly to get a stable version of nzbget that plays well for everyone. Without that, new builds are worthless.  I fact just today he's put the finishing touches to a big plugin rewrite including moving to github, which allows for both the plugin and nzbget application to be updated from within the plugin.  During his testing he's built r605 from svn and will probably amend the first post tomorrow when he officially starts his paid time off, instead of working on it when he shouldn't.

 

If you're really determined.  Look for overbyrn on GitHub.

Link to comment

Sorry, I didn't mean that a criticism, it was more that just that no other lazy tart (me) can be arsed to put the work in!

Wasn't taken that way, so don't sweat it.  I just want a stable plugin platform with which to manage future build updates.  With the great help of hugbug, I've learnt loads this past week about building from source especially where svn is involved. I've got a nice little build script and a documented process for creating updates.  Now that I've migrated to ESXi, I've also been able to dedicate a VM just for compilation of nzbget, so going forward it shouldn't be too much hassle to keep on top of new builds and distribute through the plugin update routine.  There's bound to be some kinks to iron out, but that's true for any semi-clueless script jockey like myself.

 

Link to comment

Is there a possibility to temporarily disable a configured usenet server or test connection to a server? I have 3 servers setup for testing dmca takedowns and yesterday I downloaded of a mkv which failed because of missing blocks. I downloaded the mkv in sabnzbd just fine with the same servers configured. Perhaps I filled in a wrong password to one of the servers.

 

What's your version of NZBGet? In 10.0-testing-r603 (released 17 March) the server management was reworked and allows much simpler configurations. In older versions you had to define fill servers using options ServerX.Level to try all servers. Starting with r603 all servers of the same level are tried before the level is increased. Read description of option "Level" if you need more info. Clear suggestion: upgrade to 10.0-testing-r603 if you didn't yet.

 

To temporary disable server set its Connections to 0.

 

If the password were wrong you would see a lot of error messages in the log.

 

 

Gonna wait patiently till nzbget gets updated to the latest version. Overbyrn has been very helpfull fixing issues I had and I gonna let him work out everything.

Thanks again!.

Link to comment

I also have a Chrome extension that adds a button to send an nzb to SAB for pretty much every nzb site in existence.

 

Can you please name it?

 

SABConnect++

 

https://chrome.google.com/webstore/detail/sabconnect%20%20/okphadhbbjadcifjplhifajfacbkkbod

https://github.com/gboudreau/sabconnectplusplus

 

It also lets you see your download queue, pause downloads and set a speed limit.

 

https://chrome.google.com/webstore/detail/nzbget-chrome-webapp-and/hoendodgaafkokibehkmiddgfegadelk

Link to comment

SABConnect++

 

Nice extension. Don't see a reason to reimplement SAB functions (queue, pause, etc.) but the integration with nzb-sites is very cool. The "send to SAB" part could be extended to support NZBGet. Everyone wishing this extension to support NZBGet should let the authors know.

Link to comment

Updated first post with details of new version of the plugin.

 

The new plugin uses NZBGet r605. 

 

Plugin has been written to enable updates of both the plugin and NZBGet application - separately.  That is to say I should be able to make changes to the plugin for bug fixes, amendments etc.  If there is a new update, it should be reported when you enter the webgui settings page for the plugin.  I can also build a fresh version of NZBGet from source and update that separately, although I will try to keep it so that any new plugin version updates to the latest compiled NZBGet build as otherwise there's a danger the two will get out of sync, making for extra complications.  Once the plugin is proven to be stable, I anticpate only newer builds of NZBGet will be necessary, thus keeping things reasonably simple to support.

 

Please give it a try and report issues here. 

 

 

Kind Regards,

overbyrn

Link to comment

The new plugin uses NZBGet r605. 

 

Please give it a try and report issues here. 

 

 

Kind Regards,

overbyrn

 

Thanks, this looks nice!

 

I have r605 running. Two things I have noticed:

 

1) When saving changes in Settings and selecting to restart, nzbget appears to crash/lockup and I have to restart it on the plugin page.

 

This is what it looks like:

 

KcO4xys.png

 

The log says:

 

Fri Mar 22 19:12:34 2013	INFO	Reloading...

 

 

But it never reloads, if I refresh the page, I get:

Oops! Google Chrome could not connect to micro:6789

 

2) I tried a test NZB and it won't complete. I don't know if it's a "hanging download" others have experienced, but there are no errors reported in "Messages", it's just sitting at 0KB/sec.

 

I tried a second test NZB and that worked OK.

 

There's nothing in the log to indicate errors either.

Link to comment

1) When saving changes in Settings and selecting to restart, nzbget appears to crash/lockup and I have to restart it on the plugin page.

 

Does it happen every time by reloading?

 

2) I tried a test NZB and it won't complete. I don't know if it's a "hanging download" others have experienced, but there are no errors reported in "Messages", it's just sitting at 0KB/sec.

There's nothing in the log to indicate errors either.

 

Speed 0 KB/s could mean:

1) "no connection" - you should see errors in log;

2) "nzb removed from news server" - the remaining size should decrease and you should see errors in log.

Check logging options: ErrorTarget, etc.

If this hanging happen again, try to pause the program and wait a minute. Does it help? Please report back.

Until now the "hanging" experiences only one user (prinz). If you have it too, this makes the problem more serious.

Link to comment

1) When saving changes in Settings and selecting to restart, nzbget appears to crash/lockup and I have to restart it on the plugin page.

 

Does it happen every time by reloading?

 

 

It did (about 5 times) but now after changing several different settings and saving each time, it's no longer happening (tested another 2 times successfully)

 

2) I tried a test NZB and it won't complete. I don't know if it's a "hanging download" others have experienced, but there are no errors reported in "Messages", it's just sitting at 0KB/sec.

There's nothing in the log to indicate errors either.

 

Speed 0 KB/s could mean:

1) "no connection" - you should see errors in log;

2) "nzb removed from news server" - the remaining size should decrease and you should see errors in log.

Check logging options: ErrorTarget, etc.

If this hanging happen again, try to pause the program and wait a minute. Does it help? Please report back.

Until now the "hanging" experiences only one user (prinz). If you have it too, this makes the problem more serious.

 

It was only one NZB that had this problem. I did try pausing and I had all the logging options switched on, but saw nothing in the log.

 

Here's what happened:

 

I had two NZBs in the queue, A and B.

 

A.nzb completed downloading apart from A.r02. That stuck.

While that stuck, B.nzb completed.

Then A.nzb sat in the queue with no error messages and at 0KB/sec.

 

Eventually, I unpaused the par2s, deleted just the A.r02 file from the queue and it finished downloading and repaired (the repair was necessary because A.r02 was now missing of course).

 

Cheers,

 

Neil.

Link to comment

It was only one NZB that had this problem. I did try pausing and I had all the logging options switched on, but saw nothing in the log.

 

If you have the log for this download please send it me. Even if it doesn't show any errors.

 

I just re-tried it and it completed -- no hanging this time. Looks like a false alarm!

 

Good times.

Link to comment

Time to find out if the plugin update routine works. 

 

New r606 build compiled and available.  Go to NZBGet in UnRAID webgui and it should say there's an update available...

 

It works!

 

The update to 606 worked, but now the plugin page thinks there are new versions, but there aren't?

 

D8tz4bL.png

Link to comment

Neil, can you send me the results of...

 

ls -la /boot/config/plugins/nzbget

ls -la /var/log/plugins

ls -la /var/log/packages

 

and lastly open /boot/config/plugins/nzbget_overbyrn.plg and tell me what you have for line #7.  Should look like

"<!ENTITY pkgnam "nzbget-testing_10.0-r605">"

 

Thanks

 

Edit: are you sure the update to r606 worked?  I ask as the screenshot shows the plugin under the impression you're running r605?  Since doing the update, have you done much to your unraid box?  Reboots? 

 

Edit2: Think I've found a flaw in my upgrade logic.  Breaking the update into two (plugin vs application) can lead to a disparity between the nzbget version the plugin initially downloads and subsequent updates.  I need to think about this some more.  Oddly though, I can't see how you got plugin into the state the screenshot shows. 

Link to comment

It's working now (or is it? -- per below!)

 

This coincided with my server doing some weirdness and I had to reboot. The plugin is now showing as updated.

 

root@MICRO:/mnt# ls -la /boot/config/plugins/nzbget
total 13768
drwxrwxrwx  7 root root    8192 2013-03-23 13:01 ./
drwxrwxrwx 11 root root    8192 2013-03-22 18:40 ../
-rwxrwxrwx  1 root root 1883356 2013-02-26 08:20 libpar2-0.2-2rj.tgz*
-rwxrwxrwx  1 root root 1881993 2013-03-05 18:08 libpar2-0.2.tgz*
drwxrwxrwx  3 root root    8192 2013-02-04 23:03 nzbget-10.0-testing-r554/
-rwxrwxrwx  1 root root 1842599 2013-02-26 08:20 nzbget-10.0-testing-r567.tgz*
-rwxrwxrwx  1 root root    1794 2013-02-23 08:25 nzbget-postprocess.conf*
-rwxrwxrwx  1 root root    7745 2013-02-23 08:25 nzbget-postprocess.sh*
drwxrwxrwx  3 root root    8192 2013-02-08 15:37 nzbget-svn-r557/
drwxrwxrwx  3 root root    8192 2013-02-09 13:57 nzbget-svn-r559/
drwxrwxrwx  3 root root    8192 2013-03-22 18:50 nzbget-testing_10.0-r605/
-rwxrwxrwx  1 root root 5120000 2013-03-22 18:41 nzbget-testing_10.0-r605.tar*
-rwxrwxrwx  1 root root 1358664 2013-03-23 13:01 nzbget-testing_10.0-r606.txz*
-rwxrwxrwx  1 root root      96 2013-03-22 18:52 nzbget.cfg*
-rwxrwxrwx  1 root root    3648 2012-11-10 17:11 nzbget.png*
-rwxrwxrwx  1 root root 1912460 2013-03-05 18:08 nzbget.tgz*
drwxrwxrwx  4 root root    8192 2013-03-05 18:17 webui/

 

root@MICRO:/mnt# ls -la /var/log/plugins
total 16
drwxr-xr-x  2 root root  0 2013-03-23 08:10 ./
drwxrwxrwx 12 root root  0 2013-03-23 08:13 ../
-rw-r--r--  1 root root 12 2013-03-23 08:09 nzbget
-rw-r--r--  1 root root  1 2013-03-23 08:10 sabnzbd
-rw-r--r--  1 root root  1 2013-03-23 08:10 transmission
-rw-r--r--  1 root root  1 2013-03-23 08:10 utserver

 

root@MICRO:/mnt# ls -la /var/log/packages
total 700
drwxr-xr-x  2 root root      0 2013-03-23 13:01 ./
drwxrwxrwx 12 root root      0 2013-03-23 08:13 ../
-rw-r--r--  1 root root    884 2013-03-23 08:10 bwm-ng-0.6-i486-2bj
-rw-r--r--  1 root root   7958 2013-03-23 08:10 curl-7.21.4-i486-1
-rw-r--r--  1 root root    911 2013-03-23 08:10 htop-0.8.3-i486-1sl
-rw-r--r--  1 root root   1540 2013-03-23 08:09 infozip-6.0-i486-1
-rw-r--r--  1 root root  27638 2013-03-23 08:10 jre-6u11-i586-1_unraid
-rw-r--r--  1 root root   2215 2013-03-23 08:10 libevent-2.0.11-i486-1sl
-rw-r--r--  1 root root   5776 2013-03-23 08:10 libidn-1.19-i486-1
-rw-r--r--  1 root root   1396 2013-03-23 08:09 libpar2-0.2
-rw-r--r--  1 root root   3171 2013-03-23 08:09 libsigc++-2.2.7-i486-1gsb
-rw-r--r--  1 root root   3363 2013-03-23 08:10 make-3.81-i486-1
-rw-r--r--  1 root root    823 2013-03-23 08:19 nmon-14g-i686-1cf
-rw-r--r--  1 root root   1713 2013-03-23 08:19 ntfs-3g-2013.1.13-1rj
-rw-r--r--  1 root root   1643 2013-03-23 13:01 nzbget-testing_10.0-r606
-rw-r--r--  1 root root   3158 2013-03-23 08:10 openldap-client-2.4.21-i486-1
-rw-r--r--  1 root root  27942 2013-03-23 08:10 openssl-0.9.8r-i486-3
-rw-r--r--  1 root root   9374 2013-03-23 08:09 p7zip-9.20.1-i486-1alien
-rw-r--r--  1 root root    370 2013-03-23 08:10 par2cmdline_tbb-0.4-i486-1kh
-rw-r--r--  1 root root 130143 2013-03-23 08:10 perl-5.10.0-i486-1
-rw-r--r--  1 root root   1469 2013-03-23 08:18 powerdown-1.02-noarch-unRAID
-rw-r--r--  1 root root   2686 2013-03-23 08:10 pyopenssl-0.11-i486-1alien
-rw-r--r--  1 root root 219493 2013-03-23 08:09 python-2.6.6-i486-1
-rw-r--r--  1 root root  11394 2013-03-23 08:09 python-cheetah-2.4.4-i486-1alien
-rw-r--r--  1 root root   1115 2013-03-23 08:09 python-yenc-0.3-i486-1alien
-rw-r--r--  1 root root   2089 2013-03-23 08:18 screen-4.0.3-i486-1
-rw-r--r--  1 root root   1251 2013-03-23 08:10 simpleFeatures.active.streams-1.0.5-i486-1
-rw-r--r--  1 root root   1675 2013-03-23 08:10 simpleFeatures.activity.monitor-1.0.5-i486-1
-rw-r--r--  1 root root  14135 2013-03-23 08:10 simpleFeatures.core.webGUI-1.0.5-i486-1
-rw-r--r--  1 root root   1456 2013-03-23 08:10 simpleFeatures.disk.health-1.0.5-i486-1
-rw-r--r--  1 root root    745 2013-03-23 08:10 simpleFeatures.dns.server-1.0.5-i486-1
-rw-r--r--  1 root root   2038 2013-03-23 08:10 simpleFeatures.email.notify-1.0.5-i486-1
-rw-r--r--  1 root root   1698 2013-03-23 08:10 simpleFeatures.log.viewer-1.0.5-i486-1
-rw-r--r--  1 root root   1034 2013-03-23 08:10 simpleFeatures.s3.sleep-1.0.5-i486-1
-rw-r--r--  1 root root    839 2013-03-23 08:10 simpleFeatures.system.info-1.0.5-i486-1
-rw-r--r--  1 root root   4153 2013-03-23 08:10 simpleFeatures.system.stats-1.0.5-i486-1
-rw-r--r--  1 root root  79995 2013-03-23 08:10 simpleFeatures.web.server-1.0.5-i486-1
-rw-r--r--  1 root root   1211 2013-03-23 08:09 sqlite-3.7.5-i486-1
-rw-r--r--  1 root root   6099 2013-03-23 08:10 transmission-2.76-i686-1PTr
-rw-r--r--  1 root root    759 2013-03-23 08:09 unrar-4.0.7-i486-2alien
-rw-r--r--  1 root root    800 2013-03-23 08:18 utempter-1.1.4-i486-1
-rw-r--r--  1 root root  37428 2013-03-23 08:10 vbox-4.2.6-unRAID-3.4.24

 

<!ENTITY pkgnam "nzbget-testing_10.0-r605">

 

But the plugin page now says:

 

iHWl3Dq.png

Link to comment

I updated to R606 by just installing the new one over the dikkiedirk test-version. I now see this in messages on startup/reloading:

 

info Sat Mar 23 2013 22:29:10 Pausing all activities due to errors in configuration

error Sat Mar 23 2013 22:29:10 nzbget.conf(526): Option "RetryOnCrcError" is obsolete, ignored

 

Can I get rid of it?

 

Link to comment

I updated to R606 by just installing the new one over the dikkiedirk test-version. I now see this in messages on startup/reloading:

 

info Sat Mar 23 2013 22:29:10 Pausing all activities due to errors in configuration

error Sat Mar 23 2013 22:29:10 nzbget.conf(526): Option "RetryOnCrcError" is obsolete, ignored

 

Can I get rid of it?

 

Change any option in Settings, save and reload.

Link to comment
Guest
This topic is now closed to further replies.