December 14, 201213 yr Has anyone with the free version tried the information at http://www.reddit.com/r/usenet/comments/14krxf/newznab_gotta_pay_to_play/ Says there are regexes at https://github.com/kop1/newznab/blob/master/db/latestregex.sql & that doing the following will import them: cd /tmp wget https://raw.github.com/kop1/newznab/master/db/latestregex.sql mysql -u USERNAME -p DATABASENAME < latestregex.sql I did not come across this until I paid for nnplus. Am curious if it would have worked with free, but not wanting to re-setup nn classic to test it since I am working ok with nnplus.
December 14, 201213 yr Author It will work. All it does is update the regex table with that database. Downside of this vs pro is the tables won't be updated anymore. With the donated version everytime update_binaries is ran it updates the regex database as well.
December 14, 201213 yr It will work. All it does is update the regex table with that database. Downside of this vs pro is the tables won't be updated anymore. With the donated version everytime update_binaries is ran it updates the regex database as well. Good to know. At least it makes the classic not be useless.
December 14, 201213 yr I am trying to get SB to see my Newznab. SB seems to have a feature/bug that auto formats. The provider url. I enter http://tower:80 and SB changes it to http://tower/80, and it fails to connect. Does the same whein I enter the IP address. Also tried edition the config.ini wtih negative results.
December 14, 201213 yr Author Just tested on my system, it didn't convert to /, stayed : Using sickbeard version 9a511dc
December 14, 201213 yr When I try to configure the Newznab plugin I get a"no input file specified" message. I have my server root set to /mnt/cache/.Apps/newznab in the Newznab setup and /mnt/cache/.Apps/newznab/www in the web server setup. Any suggestions? I did modify my lighttpd.cfg and ran permissions on everything as discussed, but still no dice.
December 14, 201213 yr Is anyone's coachpotato actually search their newznab setup.. I have put my server info in along with api. I have setup a couple movies that I know I have in newznab and coach doesn't appear to pull them.
December 14, 201213 yr I hate to say so but I am running into the same issues as Inimical. When I enable web server, it goes back to disabled and it wont launch so he is not the only one with that issue. I had the same problem, I think it was all the old simple feature packages in the extra folder from when I installed it way back... I removed everything in there, grabbed the new zip file with all the plg files in it and added them to "/boot/config/plugins" Well.. thats what I think it was... That was it. My unmenu was reinstalling old version of simplefeatures. I have removed it and reinstalled new plg's and now server is up and running. Thanks a lot for this advice. Now I am stuck on Step 2 - connecting to mysql. Settings page is saying that MySQL is running but newznab is saying that it cannot connect to database...
December 14, 201213 yr Author If it says it can't connect to the database try clearing out the password field in step two.
December 14, 201213 yr Author Alright, here's another update. In this update: Removed field for nnplus zip/tar file. Added fields for svn username and password. Checks if SVN is installed, if not, installs it. Changed the installation logic. This is how the logic works now: If newznab is not installed, the plug-in first checks for the zip/tar archive. Instead of allowing the user to specify a name, I have hardcoded the name. It is easier to rename an archive than it is for me to predict all the scenarios for what could be entereted. If you are going to use a tar/zip archive, the expected name is newznab_backup. In order to make the archive create an archive named newznab_backup, move the installation into the archive and zip/tar it. If the archive is found in /boot/packages/ it will be installed. If there is no newznab_backup archive in /boot/packages, the plug-in checks for the svn username and password, if those are found it will install NNPlus. If they are not found it falls back and installs the free version. I've compiled sphinx but haven't had a chance to test it yet. Anyways, I tested as much as I could but the family was using the server heavily tonight so I couldn't run a lot of tests. Let me know if you run into any bugs! I'll also be moving it to my github repo soon. For now grab it here
December 14, 201213 yr Outstanding! I'll check it out in the morning, too late to think about breaking things now
December 14, 201213 yr Thanks Influencer! I'll muck around with it tonight and see how it all goes... Its beer o'clock time at work!
December 14, 201213 yr Your updated plugin seems to be working great. I have a couple of questions. What does the Install Automatically: option do? I have one more hurtle of jump. Getting newznab_screen.sh Editing the NNPATH to where/newznab/update_scripts didnt do it for me. IT updates manually just fine. I am running the Plus version. #!/bin/sh # call this script from within screen to get binaries, processes releases and # every half day get tv/theatre info and optimise the database set -e export NEWZNAB_PATH="/lmnt/cache/newznab/misc/update_scripts" export NEWZNAB_SLEEP_TIME="600" # in seconds LASTOPTIMIZE=`date +%s` while : do CURRTIME=`date +%s` cd ${NEWZNAB_PATH} /usr/bin/php5 ${NEWZNAB_PATH}/update_binaries.php /usr/bin/php5 ${NEWZNAB_PATH}/update_releases.php DIFF=$(($CURRTIME-$LASTOPTIMIZE)) if [ "$DIFF" -gt 43200 ] || [ "$DIFF" -lt 1 ] then LASTOPTIMIZE=`date +%s` /usr/bin/php5 ${NEWZNAB_PATH}/optimise_db.php /usr/bin/php5 ${NEWZNAB_PATH}/update_tvschedule.php /usr/bin/php5 ${NEWZNAB_PATH}/update_theaters.php fi echo "waiting ${NEWZNAB_SLEEP_TIME} seconds..." sleep ${NEWZNAB_SLEEP_TIME} done I am still Linux impaired but getting better thank to the help found here. If you accept donations for your dedication and hard work, I would be more than happy to contribute.
December 14, 201213 yr I'm running into a problem on the Database Setup stage of the setup, I get a screen after the preflight check asking for the following info and some are already prepopulated Hostname: local host Username: Password: Database: newsnab I get " Unable to select database " at the bottom of the screen when I try to progress. I've followed what I can in this thread but cant seem to get past this step, any help would be greatly appreciated.
December 14, 201213 yr When I try to configure the Newznab plugin I get a"no input file specified" message. I have my server root set to /mnt/cache/.Apps/newznab in the Newznab setup and /mnt/cache/.Apps/newznab/www in the web server setup. Any suggestions? I did modify my lighttpd.cfg and ran permissions on everything as discussed, but still no dice. SOLVED! Apparently some Unmenu packages I installed when still using 4.7 were causing some problems. After deleting them, I was albe to configure Newznab. FYI, the packages I removed were lighttpd, PHP and BubbaRaid.
December 14, 201213 yr I'm running into a problem on the Database Setup stage of the setup, I get a screen after the preflight check asking for the following info and some are already prepopulated Hostname: local host Username: Password: Database: newsnab I get " Unable to select database " at the bottom of the screen when I try to progress. I've followed what I can in this thread but cant seem to get past this step, any help would be greatly appreciated. I had the same problem and had to manually create the db as root. ssh to you unraid and do mysql -u root -p yourpassword CREATE DATABASE yourdbname; exit; and then try again step 2. P.S. I'm asuming you'll be using root as your db user, if not, do: mysql -u root -p yourpassword CREATE DATABASE yourdbname; GRANT ALL ON yourdbname.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword'; exit; Hope it helps, Zenshi
December 14, 201213 yr Your updated plugin seems to be working great. I have a couple of questions. What does the Install Automatically: option do? I have one more hurtle of jump. Getting newznab_screen.sh Editing the NNPATH to where/newznab/update_scripts didnt do it for me. IT updates manually just fine. I am running the Plus version. Change the references from "php5" to "php" and give it a shot.
December 14, 201213 yr Whats the best way to run the update scripts? Every few hours ? Just wondering what everyone else is doing? Also has anyone setup the scripts to run auto? If so can you share your settings? I am not using the plug-in yet since I had already setup mine before Influencer made the plug-in. Thinking of redoing mine and use his plug-in. Thanks
December 14, 201213 yr Author Running the script under the cron_scripts or nix_script directories will continuously run the updates every 10 minutes by default as long as the last update has finished. If the last update hasn't finished it will try again in 10 minutes. You can adjust the timing for your personal preferences.
December 14, 201213 yr Running the script under the cron_scripts or nix_script directories will continuously run the updates every 10 minutes by default as long as the last update has finished. If the last update hasn't finished it will try again in 10 minutes. You can adjust the timing for your personal preferences. Yeah I looked at those and didn't know if I wanted every 10 mins to be checking. I know you have to modify those scripts to use the correct path, is there anything else that needs to changed as well? Also does your Plug-In allow updating newznab when changes are detected? Thanks again for your help the other day fixing my lighttpd file!
December 14, 201213 yr Change the references from "php5" to "php" and give it a shot. Thanks Tybio. I have it working. After I made the suggested changes, at first it did not work. Problem seems that I used Wordpad to edit the script. I replaced the entire updates_scripts folder from a backup. Then used NotePad++ to make the edits now it works.
December 14, 201213 yr I'm running into a problem on the Database Setup stage of the setup, I get a screen after the preflight check asking for the following info and some are already prepopulated Hostname: local host Username: Password: Database: newsnab I get " Unable to select database " at the bottom of the screen when I try to progress. I've followed what I can in this thread but cant seem to get past this step, any help would be greatly appreciated. I had the same problem and had to manually create the db as root. ssh to you unraid and do mysql -u root -p yourpassword CREATE DATABASE yourdbname; exit; and then try again step 2. P.S. I'm asuming you'll be using root as your db user, if not, do: mysql -u root -p yourpassword CREATE DATABASE yourdbname; GRANT ALL ON yourdbname.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword'; exit; Hope it helps, Zenshi Absolute legend Zenshi, thats sorted it. I'm not familiar with SQL as I have never had to use it before. Learn something new everyday
December 14, 201213 yr Author I think its an issue with the mysql plug-in not setting the password right or possibly newznab not setting the password in its config right. It worked perfectly for me the first 50 times I set newznab up(exaggeration but I have set it up more than 20 times) but the last time I came across the same issue. Removing the password from the field fixed it for me.
Archived
This topic is now archived and is closed to further replies.