January 20, 201313 yr I misinterpreted the Install webserver newznab part. I already use the SimpleFeatures WebServer on port 8881 and the data directory is /mnt/cache/.apps/simplefeatures/data/ for phpVirtualbox, so I just created a new directory /mnt/cache/.apps/simplefeatures/data/newznab and I prefer this storage path. The Newznab plugin didn't seem to think this was installed, so I thought it would add config files into this newznab directory but instead it installed a whole new "Web Server" plugin in the Settings -> Network Services module while somehow still installing db, misc, nzbfiles, and www directories along with some text files. Is there a benefit to having two webserver installs (maybe 1 port for phpvbox and another one for newznab) or would there be conflicts and best to only use one? I have kept the second WebServer "Disabled" but can't seem to remove all the files to make the icon disappear in the Settings module. I'm concerned if I configure this new/second webserver it might interfere with my phpvbox install.
January 20, 201313 yr @ AndrewT & dertbv: Both of you seem to want to run newznab (which has rewrite rules that interfere with other pages) & some other page / site. Let me direct you to this post by jangjong in the spotweb thread. I used this information to run newznab on one port, spotweb on another port & phpVirtualBox and PHPMyAdmin on the main web server port.
January 22, 201313 yr Hi All, sorry if this is a stupid question but I cannot find the answer anywhere, so I have newznab installed and doing its thing, but I have to manually run it all the time, I have seen several people using different scripts to automate using some form of cron can someone please explain in idiots guide format how I automate the updating process so I can just leave it alone instead of having to run update_binaries and update_releases everyday thanks
January 22, 201313 yr I have Newznab installed on my cache drive into a folder I use for all my apps called "appdata" under the folder "server" for newznab and putty into my server. I then use cd /mnt/cache/appdata/server/misc/update_scripts/nix_scripts I then use screen and the newznab_screen.sh start I undock the screen with ctrl +a,d and close putty. newznab will now update every 10 minutes If I restart my unraid server i will need to do this again since newznab will not start automatically after a restart of unraid.
January 22, 201313 yr I have Newznab installed on my cache drive into a folder I use for all my apps called "appdata" under the folder "server" for newznab and putty into my server. I then use cd /mnt/cache/appdata/server/misc/update_scripts/nix_scripts I then use screen and the newznab_screen.sh start I undock the screen with ctrl +a,d and close putty. newznab will now update every 10 minutes If I restart my unraid server i will need to do this again since newznab will not start automatically after a restart of unraid. I do it this exact same way.. Though it has been running 100% for the past 3-4 days, starting it with screen is the easiest way I have found to be able to quickly see if it somehow got stuck, and if so to be able to stop and restart it.
January 23, 201313 yr you seem to want to run newznab (which has rewrite rules that interfere with other pages) & some other page / site. Let me direct you to this post by jangjong in the spotweb thread. This is awesome, I missed the announcement of spotweb working for unraid, and after removing all simplefeatures and re-installing the latest, I have phpVBox, spotweb, and newznab+ working on different assigned ports--thank you!! I tried executing # screen while telnetting in with Putty as root and I get this response which I think means I don't have this? -bash: screen: command not found So how do I get "screen" working?? Also, during the configuring of Newznab+ I noticed the option to point to paths for unrar, ffmpeg, and mediainfo. I don't have ffmpeg or mediainfo, and I suspect the best way might be to directly download the packages and place them into the /boot/packages/ directory. Where have people acquired these packages? I found these but am unsure if it's the right version of slackware (v13.17 based on others' plugins that fetch slackware packages) or other unforseen issues? ffmpeg - http://slackware.org.uk/slacky/slackware-13.37/multimedia/ffmpeg/0.8.12/ffmpeg-0.8.12-i686-1sl.txz mediainfo - http://slackware.org.uk/slacky/slackware-13.37/multimedia/mediainfo/0.7.46/mediainfo-0.7.46-i486-1sl.txz Once installed, it seems I could then point newznab+ to the paths: /usr/bin/ffmpeg /usr/bin/mediainfo
January 23, 201313 yr Hi All, sorry if this is a stupid question but I cannot find the answer anywhere, so I have newznab installed and doing its thing, but I have to manually run it all the time, I have seen several people using different scripts to automate using some form of cron can someone please explain in idiots guide format how I automate the updating process so I can just leave it alone instead of having to run update_binaries and update_releases everyday thanks http://lime-technology.com/forum/index.php?topic=24676.msg217456;topicseen#msg217456 i'm using these instructions to run in cron, except editing it to run every 30min on mine... https://github.com/Tybio/mux for the script
January 23, 201313 yr .... Once installed, it seems I could then point newznab+ to the paths: /usr/bin/ffmpeg /usr/bin/mediainfo a few pages into the thread there is a post with links of files known to be working. but u can try also installing those that u have downloaded and see if it does work or not. those paths are also correct for the location in newznab and u would place the files into /boot/extra if u want them to install automatically. any other place u will have to do manually
January 23, 201313 yr So how do I get "screen" working?? I have unmenu installed which has a plg manager along with it including the option to install screen. http://code.google.com/p/unraid-unmenu/downloads/detail?name=unmenu_install1371.zip&can=2&q=
January 23, 201313 yr you seem to want to run newznab (which has rewrite rules that interfere with other pages) & some other page / site. Let me direct you to this post by jangjong in the spotweb thread. This is awesome, I missed the announcement of spotweb working for unraid, and after removing all simplefeatures and re-installing the latest, I have phpVBox, spotweb, and newznab+ working on different assigned ports--thank you!! I tried executing # screen while telnetting in with Putty as root and I get this response which I think means I don't have this? -bash: screen: command not found So how do I get "screen" working?? Also, during the configuring of Newznab+ I noticed the option to point to paths for unrar, ffmpeg, and mediainfo. I don't have ffmpeg or mediainfo, and I suspect the best way might be to directly download the packages and place them into the /boot/packages/ directory. Where have people acquired these packages? I found these but am unsure if it's the right version of slackware (v13.17 based on others' plugins that fetch slackware packages) or other unforseen issues? ffmpeg - http://slackware.org.uk/slacky/slackware-13.37/multimedia/ffmpeg/0.8.12/ffmpeg-0.8.12-i686-1sl.txz mediainfo - http://slackware.org.uk/slacky/slackware-13.37/multimedia/mediainfo/0.7.46/mediainfo-0.7.46-i486-1sl.txz Once installed, it seems I could then point newznab+ to the paths: /usr/bin/ffmpeg /usr/bin/mediainfo See below for mediainfo & screen (part of a plugin). ffmpeg: Originally I used the alien version of ffmpeg, it showed under /usr/bin/ & responded to "which ffmpeg"... however it did not provide me with preview links. Not sure why it did not work for me, maybe I missed some dependencies. Then I used the files from this post by draug3n. It has 2 dependencies included in the post (lame & x264). It seems to be working as now I get preview images. Place the 3 files in the /boot/extra/ directory as suggested & they will be reinstalled on reboot. I have unmenu installed which has a plg manager along with it including the option to install screen. http://code.google.com/p/unraid-unmenu/downloads/detail?name=unmenu_install1371.zip&can=2&q= I used unmenu to install screen back when I first setup my unraid system & it has worked great for me every since. However, I have come across people posting that they were having issues with it, but were able to use Tybio's newznab extras plugin (which includes screen along with a few other nice to have programs). I had most of the applications in his plugin already installed before I found his & have yet to install his... but have seen good post reviews from others that are using it. I think he left some spaces in his plugin that may have to be removed to work... not sure if the spaces have been removed by now... but if it does not work, look at its code & just remove the extra spaces. Other useful info: The official newznab support method is through irc, but if you prefer using a forum, there is an unofficial Newznab Forums that was setup recently by a newznab user. Even though it is new, it already has some great information on newznab & a nice community forming.
January 23, 201313 yr Here's a little trick if you want to see when your script last updated. Put this code in the script at the end or right before the sleep depending on what script you're using. if [ -f "/tmp/notifications/unread/NEWZNAB+"* ]; then rm /tmp/notifications/unread/NEWZNAB+* fi /usr/local/emhttp/plugins/simpleFeatures/include/Notify.sh -plugin "NEWZNAB+" -subject "Update" -description "Release update was completed" -importance "default" and you'll get a popup on the unRAID web interface with the time and date of the last update. Only downside is that if you leave the web interface open you'll get one for each script update, but then just a refresh of the page clears the old ones off. Not much, but it helps a little making sure it's working.
January 24, 201313 yr so i think i might have something that actually works here . running for almost a week, without having to redo the database lol. i found a lot of issues were with the blacklists i was trying to add and import https://github.com/kevinlekiller/Newznab-Blacklist, this ended up killing most of the importing and nothing new would show up. even after i would have removed them it still wouldn't start getting new releases... so i ended up with only the default blacklist active, havent added a new one yet. but i have been adding additional words to block into the default list. what blacklist rules is everyone else running here?? might be worth trying adding a few again. i'm pretty good now at redoing the database lol, even if i have to start from the beginning.
January 24, 201313 yr Hi All, sorry if this is a stupid question but I cannot find the answer anywhere, so I have newznab installed and doing its thing, but I have to manually run it all the time, I have seen several people using different scripts to automate using some form of cron can someone please explain in idiots guide format how I automate the updating process so I can just leave it alone instead of having to run update_binaries and update_releases everyday thanks http://lime-technology.com/forum/index.php?topic=24676.msg217456;topicseen#msg217456 i'm using these instructions to run in cron, except editing it to run every 30min on mine... https://github.com/Tybio/mux for the script Many Thanks!
January 24, 201313 yr ok, so after adding the cron job set to run every 60 minutes, waiting..... I see a problem in my syslog crond[1207]: exit status 1 from user root /mnt/cache/appdata/newznab/misc/update_scripts/nix_scripts/newznab_cron.sh -t -p -o I have tried without the options so I know its not that should I be able to run the file directly? as when I run it from terminal I just get a new line, no processing to be seen the file is executable ideas?
January 24, 201313 yr ... as when I run it from terminal I just get a new line, no processing to be seen the file is executable ideas? When running the cron script, you can view the log file with: tail -f /var/log/newznab_cron.log This will display what is going on / output similar to running one of the screen scripts.
January 24, 201313 yr ... as when I run it from terminal I just get a new line, no processing to be seen the file is executable ideas? When running the cron script, you can view the log file with: tail -f /var/log/newznab_cron.log This will display what is going on / output similar to running one of the screen scripts. now we might be cooking with fire. Next question would be.. If it gets stuck.. Which it can sometimes do, any way to break and restart it.
January 24, 201313 yr ok, so after adding the cron job set to run every 60 minutes, waiting..... I see a problem in my syslog crond[1207]: exit status 1 from user root /mnt/cache/appdata/newznab/misc/update_scripts/nix_scripts/newznab_cron.sh -t -p -o I have tried without the options so I know its not that should I be able to run the file directly? as when I run it from terminal I just get a new line, no processing to be seen the file is executable ideas? exit status 1 is a good thing it just means its finished that run of the script and will wait until the next hour to start the next one! only thing u can be concerned about is if it finished that run in less then a minute! if u do not wanna use the commands to look at the log file under simple features u have a log plugin that will show all logs including this crons command labeled newznab_cron.log but i noticed due to the size of this log it will freeze that page. i wish the log would be wiped after every 10 runs or so and not keep growing bigger.. so if u feel like not using simple features or telnet commands here is what i made (my first own cron command lol) i'm copying it somewhere with quick access every 5 minutes... change the destination that suits u and timing... crontab -l > /tmp/file; echo '# Copy Newznab Log every 5 minutes' >> /tmp/file; echo '*/5 * * * * cp /var/log/newznab_cron.log /mnt/cache/Apps/www/newznab/newznab.log' >>/tmp/file; crontab /tmp/file; rm /tmp/file
January 24, 201313 yr Hi All, thanks for the responses... exit status 1 is a good thing it just means its finished that run of the script and will wait until the next hour to start the next one! oh, I thought status 1 was a problem somewhere and status 0 was good, so maybe this is all nothing to worry about... so I run tail -f /var/log/newznab_cron.log and then in another window I run the newznab_cron.sh script again, this time it goes to a new line but is running as I can now see it in the other window so I guess I need to see what it looks like when it runs thanks
January 24, 201313 yr i wish the log would be wiped after every 10 runs or so and not keep growing bigger.. I just made an entry in cron that deletes the log file every 24 hours. You could set it to whatever time you want.
January 25, 201313 yr i wish the log would be wiped after every 10 runs or so and not keep growing bigger.. I just made an entry in cron that deletes the log file every 24 hours. You could set it to whatever time you want. so obvious when you put it that way lol. Definitely will do that.. Tnx
January 25, 201313 yr Hi All, thanks for the responses... exit status 1 is a good thing it just means its finished that run of the script and will wait until the next hour to start the next one! oh, I thought status 1 was a problem somewhere and status 0 was good, so maybe this is all nothing to worry about... so I run tail -f /var/log/newznab_cron.log and then in another window I run the newznab_cron.sh script again, this time it goes to a new line but is running as I can now see it in the other window so I guess I need to see what it looks like when it runs thanks it appears to be running as expected now so thanks for all the assistance Next question, I have changed my usenet provider, how do I change the server details in NewzNab? I dont see any options within the admin site, and the details are not in the /boot/config/plugins/newznab/newznab.cfg file
January 25, 201313 yr Next question, I have changed my usenet provider, how do I change the server details in NewzNab? I dont see any options within the admin site, and the details are not in the /boot/config/plugins/newznab/newznab.cfg file To switch usenet providers: [1] Run this query on your databse: update groups set backfill_target=0, first_record=0, first_record_postdate=null, last_record=0, last_record_postdate=null, last_updated=null [2] truncate binaries, parts, partrepair [3] Change the /path/to/newznab/www/config.php file with your new provider information
January 25, 201313 yr Next question, I have changed my usenet provider, how do I change the server details in NewzNab? I dont see any options within the admin site, and the details are not in the /boot/config/plugins/newznab/newznab.cfg file To switch usenet providers: [1] Run this query on your databse: update groups set backfill_target=0, first_record=0, first_record_postdate=null, last_record=0, last_record_postdate=null, last_updated=null [2] truncate binaries, parts, partrepair [3] Change the /path/to/newznab/www/config.php file with your new provider information no need for all those steps.. i was just editing config.php on the go without issues. even had multiple providers in there so i can switch quickly just //echoed out the unwanted ones so it skips them
January 25, 201313 yr Next question, I have changed my usenet provider, how do I change the server details in NewzNab? I dont see any options within the admin site, and the details are not in the /boot/config/plugins/newznab/newznab.cfg file To switch usenet providers: [1] Run this query on your databse: update groups set backfill_target=0, first_record=0, first_record_postdate=null, last_record=0, last_record_postdate=null, last_updated=null [2] truncate binaries, parts, partrepair [3] Change the /path/to/newznab/www/config.php file with your new provider information no need for all those steps.. i was just editing config.php on the go without issues. even had multiple providers in there so i can switch quickly just //echoed out the unwanted ones so it skips them If you do not run the groupreset query & truncate like directed, you will get lots of items not found as each usenet provider uses a different numbering system.
Archived
This topic is now archived and is closed to further replies.