Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Newznab Plug-in

Featured Replies

That sounds great on the SVN!  After you do that what will be needed to update our copy of newznab?

 

Thanks again for all your help!

 

Good point, just updated again, added an update button to the plug-in settings. It will only be shown if the svn user is set since the free version is not updated(?).

 

Just click Update Plugin in the settings page, you should end on version 1.2.1

 

Stourwalk, I'll check it

 

Worked like a charm!  Thanks!

  • Replies 523
  • Views 105.9k
  • Created
  • Last Reply
  • Author

while running mysql (the side shows "mysql >", what does typing this show:

 

show databases;

 

Influencer, you rock my world dude, up and running perfectly after latest plg update to the new lighttpd.cfg  ;D will donate some coin in the near future! Keep up the great work on all your plugins.

SF webserver IS dependent on the base installation. You ONLY need the plug-in labeled "base" and "webserver"

 

Jude, try this:

mysql newznab

 

If it lets you log in, then the password didn't get set correctly(this happened to me).

 

If it says denied, then try:

mysql newznab -p

 

and enter your password

 

I'm having a similar problem trying to backup the database using mysqldump. 

 

root@Tower:~# mysqldump -p root newznab > newzbabbackup.sql
Enter password:
mysqldump: Got error: 1049: Unknown database 'root' when selecting the database

 

Thiese also don't work:

 

root@Tower:~# mysqldump newznab -p root > newzbabbackup.sql
Enter password:
mysqldump: Couldn't find table: "root"

 

oot@Tower:~# mysqldump -u root -p root newznab > newznabbackup.sql
Enter password:
mysqldump: Got error: 1049: Unknown database 'root' when selecting the database

 

 

In all 3 instances I entered root as the password. I can access the database using:

 

mysql newznab -p root

 

I would like to figure this out as I've had the database crashes trying to import nzbs.  Thanks.

while running mysql (the side shows "mysql >", what does typing this show:

 

show databases;

 

Here is the output from show databases;

 

mysql> show databases;

+--------------------+

| Database          |

+--------------------+

| information_schema |

+--------------------+

1 row in set (0.00 sec)

 

mysql>

 

i am able to log into step 2 and progress to step three using

 

user newznab

password root

I completed all of the steps in the newznab installation and the plugin showed that newznab was running. However when I attempt to go to tower:81 i get this on the screen

 

fatal error: could not connect to database! Check your config.

 

from inside MySQL i get the following

 

mysql> use mysql;

ERROR 1049 (42000): Unknown database 'mysql'

mysql> show databases;

+--------------------+

| Database          |

+--------------------+

| information_schema |

+--------------------+

1 row in set (0.00 sec)

 

 

Now when I remove the lock file from the newznab setup and attempt to complete Step 2 it again says that it is unable to connect to or select database.

 

In addition to this the only way that I can get MySQL to show that it is running on the plugin page is to chmod -R 777 /tmp

 

Seemed pretty close to getting this working now not so sure.

 

AS far as I can tell MySQL is not creating a database that newznab can access

 

 

I think the mover script is moving the contents. The shares were set to cache only.  I hope I can move the file back from the share to cache without starting over. I had imported about 5k nzbs.  This is the second time this has happen. newznab is set to/mnt/cache/newznab

and it seem the plugin created the newznab share.

 

What do I need to do to fix this?

I think the mover script is moving the contents. The shares were set to cache only.  I hope I can move the file back from the share to cache without starting over. I had imported about 5k nzbs.  This is the second time this has happen. newznab is set to/mnt/cache/newznab

and it seem the plugin created the newznab share.

 

What do I need to do to fix this?

 

Won't the mover ignore if yo put it in a hidden folder? ie. "mnt/cache/.newznab"

I just downloaded the latest version newznab_unplugged.plg and get a parsing error when I try and manually install it.  Any thoughts?  I currently have newznab up and running as I was able to get it to install with a earlier version of the plugin.

 

root@Tower:~# installplg /boot/config/plugins/newznab_unplugged.plg

installing plugin: newznab_unplugged

xml parse error

 

 

Update: I just rebooted my server and the plugin did not install.

I think the mover script is moving the contents. The shares were set to cache only.  I hope I can move the file back from the share to cache without starting over. I had imported about 5k nzbs.  This is the second time this has happen. newznab is set to/mnt/cache/newznab

and it seem the plugin created the newznab share.

 

What do I need to do to fix this?

 

Won't the mover ignore if yo put it in a hidden folder? ie. "mnt/cache/.newznab"

 

I think I got it sorted. For some reason a share "newznab" was created probably by an early version of the plugin. I emptied the share and did a fresh install to /mnt/cache/newznab and this time no share was made. I dont know why it seems the mover was active on the share. No share exists now for newznab and my cache is 1TB.

Another great plugin - you are really pushing this project forward.

 

I have installed the latest version of the plug-in and all seems well and good - I get the admin page and can activate groups etc. but when I click on the movies link or any of the other links from main I get a dreaded 404 error. The URL it's trying to reach is http://tower:81/movies.

 

Any ideas?

  • Author

On my phone right now so can't follow up on issues, but I'll be on my laptop a little later.

 

The 404 is caused by an improper rewrite rule, a few pages back I posted a known good config, give it a try. If you don't mind zip and send me your config, and what version of the plugin your using.

 

As for the MySQL database, ill have to look closer at it but it is still not creating the database properly.

 

And finally the mover, if you make the server root in the plugin a top level folder it should automatically become a share. You should then set it to cache only. I'll test it out tonight and see what happens, might be a bug in the way the mover works alongside the user shares. Another user noted issues with plex when the share was created by unraid vs created manually so there might be something going on there.

/mnt/cache/newznab

 

EVERY top level directory created on a data disk or on the cache disk becomes a user share if user shares are enabled. The above will result in a share called newznab and that share will be moved to the array unless you set it to cache only in the share settings.

This might sound dumb, but can I get the plugin to install newznab+ over top of the free version? I donated and got the user+pass for the svn and have entered them but nothing happens. I have updated to V1.2.1 of the plugin here.

 

On another note, I got the free version with the old regex's to test and it's working. Even snatched some nzb's and downloaded the files.

  • Author

I just downloaded the latest version newznab_unplugged.plg and get a parsing error when I try and manually install it.  Any thoughts?  I currently have newznab up and running as I was able to get it to install with a earlier version of the plugin.

 

root@Tower:~# installplg /boot/config/plugins/newznab_unplugged.plg

installing plugin: newznab_unplugged

xml parse error

 

 

Update: I just rebooted my server and the plugin did not install.

 

Most likely downloaded wrong. Did you download from the link I provided or from my repo?

 

Depending on the browser and OS it sometimes get saved with a .txt extention on the end which will cause it to fail with a parsing error. The parsing error is actually misleading, it can be thrown for a couple different reasons, one of which is if the file isn't found.

 

Run this from a telnet session:

 

cd /boot/config/plugins/
wget --no-check-certificate https://github.com/Influencer/UNplugged/raw/master/newznab_unplugged.plg
installplg newznab_unplugged.plg

SF webserver IS dependent on the base installation. You ONLY need the plug-in labeled "base" and "webserver"

 

Jude, try this:

mysql newznab

 

If it lets you log in, then the password didn't get set correctly(this happened to me).

 

If it says denied, then try:

mysql newznab -p

 

and enter your password

 

I'm having a similar problem trying to backup the database using mysqldump. 

 

root@Tower:~# mysqldump -p root newznab > newzbabbackup.sql
Enter password:
mysqldump: Got error: 1049: Unknown database 'root' when selecting the database

 

Thiese also don't work:

 

root@Tower:~# mysqldump newznab -p root > newzbabbackup.sql
Enter password:
mysqldump: Couldn't find table: "root"

 

oot@Tower:~# mysqldump -u root -p root newznab > newznabbackup.sql
Enter password:
mysqldump: Got error: 1049: Unknown database 'root' when selecting the database

 

 

In all 3 instances I entered root as the password. I can access the database using:

 

mysql newznab -p root

 

I would like to figure this out as I've had the database crashes trying to import nzbs.  Thanks.

 

Run this:

mysqldump -p newznab > /path/to/newznab_backup.sql

 

It should ask for a password after you hit enter, you put the password in, hit enter, and it will create the dump.

 

This might sound dumb, but can I get the plugin to install newznab+ over top of the free version? I donated and got the user+pass for the svn and have entered them but nothing happens. I have updated to V1.2.1 of the plugin here.

 

On another note, I got the free version with the old regex's to test and it's working. Even snatched some nzb's and downloaded the files.

 

Right now no it will not install over top of the free version.

 

-Actually, just modified the plug-in, update to v 1.2.2 and it should install over top. Might be prudent to backup your database first just in case.

I just downloaded the latest version newznab_unplugged.plg and get a parsing error when I try and manually install it.  Any thoughts?  I currently have newznab up and running as I was able to get it to install with a earlier version of the plugin.

 

root@Tower:~# installplg /boot/config/plugins/newznab_unplugged.plg

installing plugin: newznab_unplugged

xml parse error

 

 

Update: I just rebooted my server and the plugin did not install.

 

Most likely downloaded wrong. Did you download from the link I provided or from my repo?

 

Depending on the browser and OS it sometimes get saved with a .txt extention on the end which will cause it to fail with a parsing error. The parsing error is actually misleading, it can be thrown for a couple different reasons, one of which is if the file isn't found.

 

Run this from a telnet session:

 

 

I downloaded using both Firefox and Chrome with a Save As from the Repo.  Both times got the same results.

 

I just ran your code from a telnet session (twice) and it put two files on my server.  A empty  newznab_unplugged.plg file. and a file newznab_unplugged.plg.1 with the code in it.  I had to remove the empty file and rename the *.plg.1 file and it installed fine after that.  I originally deleted them from within windows where I had the flash drive mounted.  It is possible the file was still there even though it didn't not show in windows.  I did not think to do a "ls" from my telnet session.

 

Everything appears to be fine now.  I just wanted to document my observations for any one else reading this thread.

 

root@Tower:~# cd /boot/config/plugins/
root@Tower:/boot/config/plugins# wget --no-check-certificate https://github.com/                    Influencer/UNplugged/raw/master/newznab_unplugged.plg
--2012-12-19 18:47:45--  https://github.com/Influencer/UNplugged/raw/master/newz                    nab_unplugged.plg
Resolving github.com (github.com)... 207.97.227.239
Connecting to github.com (github.com)|207.97.227.239|:443... connected.
WARNING: cannot verify github.com's certificate, issued by `/C=US/O=DigiCert Inc                    /OU=www.digicert.com/CN=DigiCert High Assurance EV CA-1':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.github.com/Influencer/UNplugged/master/newznab_unplugged.p                    lg [following]
--2012-12-19 18:47:45--  https://raw.github.com/Influencer/UNplugged/master/newz                    nab_unplugged.plg
Resolving raw.github.com (raw.github.com)... 207.97.227.243
Connecting to raw.github.com (raw.github.com)|207.97.227.243|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert                     Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 23018 (22K) [text/plain]
Saving to: `newznab_unplugged.plg.1'

100%[======================================>] 23,018      --.-K/s   in 0.007s

2012-12-19 18:47:45 (3.19 MB/s) - `newznab_unplugged.plg.1' saved [23018/23018]
/

 

 

mysqldump -p newznab > /path/to/newznab_backup.sql

 

It should ask for a password after you hit enter, you put the password in, hit enter, and it will create the dump.

 

Tried it,  after entering password I get this result:

 

Couldn't find table: "newznab_backup.sql"

  • Author

 

mysqldump -p newznab > /path/to/newznab_backup.sql

 

It should ask for a password after you hit enter, you put the password in, hit enter, and it will create the dump.

 

Tried it,  after entering password I get this result:

 

Couldn't find table: "newznab_backup.sql"

 

did you copy that verbatim? Just tried again here and it creates the dumpfile.

 

Switchman: Yeah, it looks like it didn't delete so the new version got made with the .1 tacked on the end.

Well I just tried your lastest plg file  v 1.2.2 on a fresh install and it does not create newznab directories.  I press the install and it didn't do anything.

  • Author

yeah something got screwed up when I saved it..tracking it down now

 

EDIT: I've reverted the plug-in to before the changes until I can find what happened. I'll post again when its fixed and pushed to the repo. For now if you upgraded to 1.2.2 you can hit "update plug-in" and it will revert to before the changes.

Ya, I tried too and it just creates a directory with rwxrwxrwx permissions but doesn't do anything else.

 

So, I pulled  the plus version and stuck it under a new directory and changed to it. Anything special I need to do so it installs/works on a reboot?

  • Author

Nope, as far as installation goes all the plug-in does is pull down newznab and put it where you want it. The magic happens between the webserver and the installation. If you changed the plug-in to point to your NN+ installation, and changed the web server to point to it as well, you should be good to go.

 

mysqldump -p newznab > /path/to/newznab_backup.sql

 

It should ask for a password after you hit enter, you put the password in, hit enter, and it will create the dump.

 

Tried it,  after entering password I get this result:

 

Couldn't find table: "newznab_backup.sql"

 

did you copy that verbatim? Just tried again here and it creates the dumpfile.

 

Go it to work, I didn't copy verbatim, but mistyped a path (I always forget linux is case sensitive.)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.