mwphillips74 Posted December 12, 2012 Posted December 12, 2012 I'm working on getting newznab up and working as well, but having some issues when I get to step three in the admin hangout. 3.Next you will want to get the latest headers. This should be done from the command line, using the linux or windows shell scripts found in /misc/update_scripts/cron_scripts (or batch_scripts for windows users), as it can take some time. If this is your first time dont bother with the cron/init scripts just open a command prompt... cd newznab/misc/update_scripts php update_binaries.php 4.After obtaining headers, the next step is to create releases. This is best done from the command line using the linux or windows shell scripts found in /misc/update_scripts/cron_scripts (or batch_scripts for windows users). If this is your first time dont bother with the cron/init scripts just open a command prompt... cd newznab/misc/update_scripts php update_releases.php Not sure where to input this, I have tried in the terminal and states root@ubuntu:~# cd newznab/misc/update_scripts bash: cd: newznab/misc/update_scripts: No such file or directory root@ubuntu:~# /misc/update_scripts/cron_scripts bash: /misc/update_scripts/cron_scripts: No such file or directory Can anyone help a noob get to playing around with this setup?
Influencer Posted December 12, 2012 Posted December 12, 2012 The regexes are 100% essential to everything working. As far as automatic updating a cron is the best way, the paid version I believe has a script that basically runs as a daemon monitoring the headers so everything happens on the fly vs set by cron, but I'll have to double check
Influencer Posted December 12, 2012 Posted December 12, 2012 Phillips, you'll need the full path, so it'd be something like /usr/server/newznab/misc/update_scripts It just depends on where you unzipped the archive at.
MyKroFt Posted December 12, 2012 Posted December 12, 2012 they recommend updating via a screen session with a special script, it will process, wait 600 seconds and start over - with a cron job you risk running the binaries update more than once at a time and really mess stuff up Myk
mazma Posted December 12, 2012 Posted December 12, 2012 The regexes are 100% essential to everything working. As far as automatic updating a cron is the best way, the paid version I believe has a script that basically runs as a daemon monitoring the headers so everything happens on the fly vs set by cron, but I'll have to double check Ditto on the regexes - the free version only comes with 2 regexes which won't do anything. You'll end up with a massive index that is essentially unreadable. I paid for the + version, it was like $16. The download link they give you after purchase is for a Subversion repository, so you'll need a SVN client to download it, I found a mac client call Versions which had a free trial. For Win I think the main one is call Tortoise is something.
mazma Posted December 12, 2012 Posted December 12, 2012 they recommend updating via a screen session with a special script, it will process, wait 600 seconds and start over - with a cron job you risk running the binaries update more than once at a time and really mess stuff up Myk Sorry to be dumb, whats a screen session. Is the script something I'd have to write?
Influencer Posted December 12, 2012 Posted December 12, 2012 Screen is a program that runs multiple sessions at once so the script doesn't stop if you close the window. There is a plugin for it on unraid
Influencer Posted December 12, 2012 Posted December 12, 2012 Gingadaddy is back up, apparently legal issues are resolved.
lainie Posted December 12, 2012 Posted December 12, 2012 Came across Matrix Reloaded Forums http://matrix.nux.sx/ http://matrix-reloaded.org No NZBs, just forums. Can not login with nzbmatrix credentials, have to register as a new user (as it is a completely new site). * Edit to update domain name. It is currently forwarding to the new from the old, but not sure for how long. *
grizzlywright Posted December 12, 2012 Posted December 12, 2012 I'm watching this post with a lot of interest. I have my fingers crossed in the hopes that someone posts some instructions soon as that would be most helpful.
joeman2116 Posted December 12, 2012 Posted December 12, 2012 Hello All, 1. Installed WebServer Plug, mysql5 plug and then newznab 2. Increased php mem to 512m 3. copied the rewrite rules text file to the root of newznab 4. restarted the webserver All went okay and only warning was the apache_rewrite module It went to the admin area and i selected a few newsgroups, activated them, then did a php.binaries_update.php I could see it checking the news groups and downloading the header/ parts etc I than ran php.update_releases.php It said applying regex 1 and 2 for groups stage2 stage3 ending --- with 0 releases Any idea how to proceed? Thanks Joe
eknee1417 Posted December 12, 2012 Posted December 12, 2012 I have my paid copy of newznab but for some reason can't authenticate when I try and import the repository from the svn. Edit: Just realized you don't import Downloading now....I'll post more as I get farther through.
lainie Posted December 12, 2012 Posted December 12, 2012 I have the plus version, so have not tried this myself... but for those with the classic / free version, here are some regexes: https://github.com/kop1/newznab/blob/master/db/latestregex.sql cd /tmp wget https://raw.github.com/kop1/newznab/master/db/latestregex.sql mysql -u USERNAME -p DATABASENAME < latestregex.sql This information comes from http://www.reddit.com/r/usenet/comments/14krxf/newznab_gotta_pay_to_play/
joeman2116 Posted December 12, 2012 Posted December 12, 2012 Hello All Progess: I found my problem of no releases. I had to go to the newznab admin page and manual add some group regx. I hit test and the test releases appeared. In the admin I ran the 2 scripts - binaries and release updates(telneted to server) then checked the view release option on the admin page and there they were. Now i went to the regular user page but everytime i select an option i get 404 - it can seem to find my web pages except for the main one Joe
jamescarlos Posted December 12, 2012 Posted December 12, 2012 Hi Guys, I've got my Newznab installation up and running. Here are the steps I followed: Install the mysql unraid plugin Install the simple features web server plugin After installation, you should have a /boot/config/plugins/simpleFeatures/lighttpd.cfg file, open it in a text editor of your choice and add the following rewrite rules: # newznab rewrite rules url.rewrite-once = ( "^/.*\.(css|jpg|jpeg|gif|png|js|ico)" => "$0", "^/(admin|install).*$" => "$0", "^/([^/\.]+)/?(?:\?(.*))$" => "index.php?page=$1&$2", "^/([^/\.]+)/?$" => "index.php?page=$1", "^/([^/\.]+)/([^/]+)/?(?:\?(.*))$" => "index.php?page=$1&id=$2&$3", "^/([^/\.]+)/([^/]+)/?$" => "index.php?page=$1&id=$2", "^/([^/\.]+)/([^/]+)/([^/]+)/?$" => "index.php?page=$1&id=$2&subpage=$3" ) Download newznab (http://www.newznab.com/download.html) and unzip the contents to were you want your newznab web root (i.e. /mnt/cache/apps/webroot/newznab/) Go to your Unraid Settings page and click Web Server. Enable, set the web root (i.e. /mnt/cache/apps/webroot/newznab/www) and port (i.e. 81) - click Apply Now visit http://tower:81 and you should be able to configure newznab! Let me know if you run into any issues. james
eknee1417 Posted December 12, 2012 Posted December 12, 2012 Not passing the preflight checklist. Apache's mod_rewrite is not detected for some reason. Edit: I am passing just seeing that as a warning. I continued on so not sure if its something I should be concerned about.
eknee1417 Posted December 12, 2012 Posted December 12, 2012 What kind of caching are people using, if any? I only have 2gigs of ram on my box so I'm afraid to use memory.
jamescarlos Posted December 12, 2012 Posted December 12, 2012 Not passing the preflight checklist. Apache's mod_rewrite is not detected for some reason. Edit: I am passing just seeing that as a warning. I continued on so not sure if its something I should be concerned about. Right, it is because we are using lighttpd instead of Apache. Rewriting is enabled by default, so you should be okay.
anthropoidape Posted December 12, 2012 Posted December 12, 2012 .... (i.e. /mnt/cache/apps/webroot/newznab/) Thanks for this. Forgive me as I don't currently use a cache drive (but have one ready to install)... will that file location stay on the cache drive or would "mover" shift it to the array overnight?
zack84a Posted December 12, 2012 Posted December 12, 2012 Hello All, 1. Installed WebServer Plug, mysql5 plug and then newznab 2. Increased php mem to 512m 3. copied the rewrite rules text file to the root of newznab 4. restarted the webserver All went okay and only warning was the apache_rewrite module It went to the admin area and i selected a few newsgroups, activated them, then did a php.binaries_update.php I could see it checking the news groups and downloading the header/ parts etc I than ran php.update_releases.php It said applying regex 1 and 2 for groups stage2 stage3 ending --- with 0 releases Any idea how to proceed? Thanks Joe Set the back fill date for that group to say 7 days, or better try a popular group like a.b.hdtv. When pulling binaries did it it pull groups of them?
jamescarlos Posted December 12, 2012 Posted December 12, 2012 .... (i.e. /mnt/cache/apps/webroot/newznab/) Thanks for this. Forgive me as I don't currently use a cache drive (but have one ready to install)... will that file location stay on the cache drive or would "mover" shift it to the array overnight? When adding the "apps" share through the "Shares" unraid page, I set Use cache disk: as "Only". This will make the app directory a cache share only and will not get moved by the mover script.
batt01 Posted December 12, 2012 Posted December 12, 2012 I am running the donated version. I get the admin page checklist and I have this warnings. Checking PHP's memory_limit: Your PHP installation's memory_limit setting is low, please consider increasing it >= 256MB Checking for Apache's mod_rewrite: The Apache module mod_rewrite is not loaded. This module is required, please enable it if you are running Apache
eknee1417 Posted December 12, 2012 Posted December 12, 2012 I am running the donated version. I get the admin page checklist and I have this warnings. Checking PHP's memory_limit: Your PHP installation's memory_limit setting is low, please consider increasing it >= 256MB Checking for Apache's mod_rewrite: The Apache module mod_rewrite is not loaded. This module is required, please enable it if you are running Apache You can increase the memory size for php by editing the php.ini file found in /boot/config/plugins/simpleFeatures/. Open that file and search for "memory_limit". I have mine set to 512mb. You can ignore the apache mode_rewrite.
Influencer Posted December 12, 2012 Posted December 12, 2012 Joeman, you only have the two stock regexes, those are pretty poor and basically proof of concept, and will not find any releases. The regexes included with the donated version are more complete and will find releases. The PHP memory can be increased in the php.ini, but if you are only indexing a few groups you probably won't notice. I have tested with the stock memory limit and indexed 17 groups, haven't had an issue. The apache mod_rewrite warning can be ignored if you are using lighttpd which is included in simpleFeatures web server plug-in. If you choose to manually install apache then you MUST have mod_rewrite enabled. For the majority of users here I'd say its safe to ignore. Also Joeman, you need to add the lighttpd rewrite rules to the lighttpd.cfg found in /boot/config/plugins/simplefeatures/. The rewrite rules can be found in your newznab installation in /misc/rewriterules/lighttpd.txt
jangjong Posted December 12, 2012 Posted December 12, 2012 Success! Using the donated version.. Now i just need someone to write up the script to schedule updates lol Oh and maybe recommended group list...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.