December 13, 201213 yr Author Yeah, that's the variable set by the optional field. If you put nnplus in that field it should look for nnplus.zip in boot/packages/. I'll check it out tonight
December 13, 201213 yr Arh... it makes sense now. so if i put /boot/packages / in text field... computer says no... lol i'll put NNplus in and see how it goes. UPDATE: just tested it now and it the install seems ok, the directory looks a mess so i'm clearing everything out and starting again. Getting some weird 500 errors on page6.php during setup so hopefully clearing it up will fix it. Thanks will
December 13, 201213 yr Author Yeah it needs a little polishing. I think the issue you ran into would be fixed by enclosing the variable in quotations, should have done it to start. That's what I get for quick fixes. I should have more time tonight, if anyone has any suggestions let them be known
December 13, 201213 yr For anyone having an issue with lighttpd not running when "Enable" is selected in SimpleFeatures, I had the same problem. It turns out the url rewrite I had put in the lighttpd.cfg was missing a closing bracket... Perhaps there is an error in the url rewrite? As a test, pull it completely from lighttpd.cfg and try enabling lighttpd again... If it runs again, review the url rewrite... Note: I ended up rebooting the whole server after fixing the closing bracket, just in case, and it worked again... Not sure if that is required as well (Though before fixing the closing bracket, a complete reboot had no effect)
December 13, 201213 yr Just to followup from yesterday, I have everything installed and am running my first scan now. One question: Anyone tried to get sphinx, mediainfo and ffmpeg to install? Might be nice to have the option for thumbnails and metadata.
December 13, 201213 yr I previously installed simplefeatures lighttp so I could run phpvirtualbox (also have phpmyadmin running already). I tried a couple times to get Newznab+ to install on unRAID directly, but the urlrewrite seems to mess with my ability to use phpvirtualbox... so I undid my urlrewrite changes & created a Ubuntu VM. All this was before this plugin was created. Has anyone tried using this plugin & keeping other websites? Anyone else have urlrewrite cause issues for them? It might simplify things for me to be able to use this plugin (see below for my setup details)... curious how the URL rewrite affects others before using the plugin. My Ubuntu VM is running Newznab+ well enough. I mounted /var/www/newznab to an unraid share & am using the MySQL already installed on unRAID. Had no issues using apt-get to install unrar, ffmpeg, lame & mediainfo then pointing Newznab+ to their locations. Downloaded Sphinx deb file from sphinxsearch & it also installed fine. However, following instructions at http://newznab.readthedocs.org/en/latest/misc/sphinx/, I ran into trouble. All is well through using default path, generating sphinx.conf, but when trying to start the daemon I get this error: searchd: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory I am running it as the same user (root) that ran update_releases. I continue to get this error after & during creation of full & delta indexes. Only thing I can see that might cause this is that MySQL database is on my unRAID server instead of inside the VM. Not sure how to fix it, so running without Sphinx for now. I welcome any help on fixing Sphinx... may want a separate forum thread as it is not directly related to this plugin...
December 13, 201213 yr I've got everything running, and filling in the backlog. Anyone else with it running see the option to pick a skin? I had it when I installed on ubuntu server, but I don't see it now. The default skin annoys me.
December 13, 201213 yr Yea, I jacked up the permissions Influencer, found and fixed. Totally my fault. Seems to be working now. Next question: What is the proper way to start the screen session on reboot? I was thinking about using the go script, but It needs to happen /after/ all the plugins load and are ready. I built the proper command to start a detached screen session: Run as root: su -c "/usr/bin/screen -dmS Newznab /mnt/cache/AppData/Newznab/misc/update_scripts/nix_scripts/newznab_screen_local.sh" Run as nobody: su -u nobody -c "/usr/bin/screen -dmS Newznab /mnt/cache/AppData/Newznab/misc/update_scripts/nix_scripts/newznab_screen_local.sh I made a local version of newznab_screen.sh so I could modify things and add a line to check for nzbs to import and a run of update_parsing.php every 6 hours. Anyway, I'm not sure the right place to do this. On ubuntu server I just added it to rc.local and put a wait 120 at the start before the loop so mysql could finish coming up. Would adding it with the same change to go work better, or should we have an option in the newznab plg to fire off a command on boot?
December 13, 201213 yr What line did you put in the screen script to do the parsing. Also where you able to set up nzpre settings?
December 13, 201213 yr Don't worry about nzbpre...if you stick with indexing and get to know people you will get brought into it...I'm not sold that it has much value for the complexity...it's certainly not required.
December 13, 201213 yr why not just install svn with this package, and have entries for login/pass to the svn server they get via email after they donate for the plus version - also have a svn update button as well to grab plus updates? Myk
December 13, 201213 yr On another note, here is a small how-to Getting Invite emails to work on unraid: 1> get your ISPs SMTP information For example on Verizon: SMTP Server: outgoing.verizon.net:485 Login: Same username as verizon website Pass: Same as verizon website Options: Requress SSL, No TSL 2> Have an email to send from (Signup for gmail if you like) 3> Install Simplefeatures : You already have the core if you are running Newznab, so add: simpleFeatures.email.notify-1.0.5-noarch-1.plg 4> Install plg/reboot 5> Go to Settings -> Email Notifications 6> Select "SMTP Settings" at the top 7> Fill in these fields: Account Email Address: Account you are sending from ([email protected]) Mail Server: From step #1 Mail Server Port: From step #1 Rewrite domain: the sending domain (in this example, gmail.com) Override 'from' email address: Replace account email with "Account Email Address" (sending from root@tower becomes [email protected]) SSL/TSL/Auth settings: Your provider will have to tell you Username/Password: From #1 NOTE: I don't use googles outgoing servers because if you use a different email than the google account it does "on belahf of" rather than replacing the from address. 8> Apply and Test You can get more advanced. For example I have an email aliased to my gmail account for a personal domain, I send as that email from unraid so reply's go to gmail. Just thought people would find this useful!
December 13, 201213 yr why not just install svn with this package, and have entries for login/pass to the svn server they get via email after they donate for the plus version - also have a svn update button as well to grab plus updates? Myk That would be fantastic, I would love to be able to 'svn update'!
December 13, 201213 yr Author Thats probably the way ill go with it. The zip/tar option was purely a quick fix to allow use of nn plus. I myself hadn't donated yet so I hadn't gotten the details to know what to set up. Wjd was kind enough to send me the needed info so I could add it in. Hopefully you'll see another update tonight. No promises though Tybio, as for the urlrewrites and affecting other sites, it will cause issues as is, I'll have to check into how to use it with multiple sites. If there is a missing bracket I'll look at it tonight. Did you add the rewrite yourself or was it done by the plugin. The missing bracket would explain why replacing lighthttpd.cfg with mine fixes the issue.
December 13, 201213 yr Influencer: the new config for httpd fixed things for me once I removed everything and started over. On another note, and at a higher level. I need to make a change to php.ini to set my timezone, however it looks like that file can be sourced from a bunch of places depending on what plugin fires first. Is there a structure in the plugin system to add static config files that are used if present when a plugin installs? Or would it be better to add an option to the plugin so it is set on reboot?
December 13, 201213 yr I added a few groups and set to download 50K headers. That only provides a few realeases and not many TV show. I am only interested in HDTV and Movie content. Whats are some reasonable setting to use for headers and backlog? Also guidance on what groups to add would be much appreciated. I am running the Plus version.
December 13, 201213 yr Depends on how big you want the DB/disk usage to be. At a minimum I'd enable: alt.binaries.multimedia alt.binaries.teevee As for backlog, if you want to go crazy you can import the 60G of NZBs torrents that are floating around. Goes back 3+ years up to July of this year. I just did a 3 day backlog and it took a long time, long long long time
December 13, 201213 yr Author On another note, and at a higher level. I need to make a change to php.ini to set my timezone, however it looks like that file can be sourced from a bunch of places depending on what plugin fires first. Is there a structure in the plugin system to add static config files that are used if present when a plugin installs? Or would it be better to add an option to the plugin so it is set on reboot? Not really a clear-cut way of doing this. I can easily export a php.ini into its proper location, but if that occurs before another app tries to write it, then it will be overwritten. Adding it as an option to the plug-in would be the best method(again, it always could be overwritten but we hope that no one is writing an entire php.ini but add to it). Maybe post in the web-server plug-in thread about that(as it is an option that should be configured from there, not an additional plug-in).
December 13, 201213 yr simplefeatures just links php.ini into /boot/config/plugins/simplefeatures/php.ini. I've tried updating that, will see how it goes.
December 13, 201213 yr I finally got everything working by running fix permissions. Outside of the scope a little here, obviously not related to the plugin. Is anyone having issues.. Getting "Processed 0 releases" when running "php update_releases.php"?
December 13, 201213 yr Author If you are running the free version the regexes are basically useless for making releases. The regexes included in the donated version will pick everything up and work much better.
December 14, 201213 yr I would make your plugin ONLY work with the plus version - free is useless...... Myk
Archived
This topic is now archived and is closed to further replies.