Woodpusherghd Posted December 28, 2012 Share Posted December 28, 2012 if you use $SERVER["socket"] option, you should be able to assign any ports you want to an web app that gets installed under simplefeature web server. so much easier for the rewrite rule as well because you can assign rewrite rule to each sockets and not worry about it conflicting with any other app. I don't use Spotweb, but I edited my lighttpd.cfg using this method in order to use separate rewrite rules for newznab and phpMyAdmin. It works now, but when I try to send a nzb from newznab directly to SABbnzbd using SABnzbd's api, SABnzbd gets stuck at "trying to fetch nzb..." It does have the the correct url of the nzb file, (if I paste the url in the web browser it gets the file.) Any suggestions? Quote Link to comment
peter_sm Posted December 31, 2012 Share Posted December 31, 2012 What is the best way to update the spotweb software? without to starting from scratch ? //Peter Quote Link to comment
jangjong Posted December 31, 2012 Share Posted December 31, 2012 oh. well. hello who put this in the wiki? https://github.com/spotweb/spotweb/wiki/Spotweb---unRAID-server-%28English%29 lol Quote Link to comment
zack84a Posted January 9, 2013 Share Posted January 9, 2013 Anyone having trouble accessing their spotweb server outside of their own network? I installed it as public, and can accessing it using the socket setup as described earlier. I know my port forwarding is fine, as my newznab server can be seen outside with no problems. Tried multiple ports, and still no go. I have to think its preventing non network connections, but can't figure out where to tweak that file. Quote Link to comment
spants Posted January 14, 2013 Author Share Posted January 14, 2013 What is the best way to update the spotweb software? without to starting from scratch ? //Peter I have just done this. If you have a standard install (not hand edited any files) it is easy. 1) Copy the new files over the top. I did this via smb share 2) open terminal session as root 3) cd to the directory where it is installed (mine is /mnt/cache/.custom/www/spotweb) 4) type: php upgrade-db.php 5) for luck, I restarted the web server Tony Quote Link to comment
mp328 Posted January 19, 2013 Share Posted January 19, 2013 # User customizations # Add your own settings here. These won't get overwritten upon reboot # $SERVER["socket"] == "192.168.1.105:85" { server.document-root = "/mnt/cache/Apps/www/newznab/www/" 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" ) } $SERVER["socket"] == "192.168.1.105:86" { server.document-root = "/mnt/cache/Apps/www/spotweb/" url.rewrite-once = ( "^/api\?(.*)" => "/index.php?page=newznabapi&$1" ) } gave this install a try last night, after another newznab broken db. got everything working and indexing, but sickbeard is giving me an error loading Error loading Unraid URL: http://unraid:85/api?age=1100&apikey=b970881d6174f26badc3a40759ea1ab8&t=tvsearch&cat=5040%2C5030 Error loading Spotweb URL: http://unraid:86/api?age=1100&t=tvsearch&cat=5040%2C5030 wierd part is, if i manually copy/paste both of those urls, i get the xml page and i can manually search and find the show i'm looking for ... Quote Link to comment
peter_sm Posted January 20, 2013 Share Posted January 20, 2013 What is the best way to update the spotweb software? without to starting from scratch ? //Peter I have just done this. If you have a standard install (not hand edited any files) it is easy. 1) Copy the new files over the top. I did this via smb share 2) open terminal session as root 3) cd to the directory where it is installed (mine is /mnt/cache/.custom/www/spotweb) 4) type: php upgrade-db.php 5) for luck, I restarted the web server Tony Thanks, but what would a GIT command be to update a previous version ? Below code is to DL using GIT , but it want allow to run on a folder that already exist Code: [select] Code: [select] git clone -b master https://github.com/spotweb/spotweb spotweb This will create a sub directory (spotweb) in your webroot and download files from github. //Peter Quote Link to comment
overbyrn Posted January 20, 2013 Share Posted January 20, 2013 got everything working and indexing, but sickbeard is giving me an error loading Error loading Unraid URL: http://unraid:85/api?age=1100&apikey=b970881d6174f26badc3a40759ea1ab8&t=tvsearch&cat=5040%2C5030 Error loading Spotweb URL: http://unraid:86/api?age=1100&t=tvsearch&cat=5040%2C5030 wierd part is, if i manually copy/paste both of those urls, i get the xml page and i can manually search and find the show i'm looking for ... mp328, getting exactly the same issue as you. Haven't been able to figure it out yet . If you (or anyone) finds a fix, please be sure to post it here. I'll revisit it also. It must be something simple that's preventing it from working and I assume there's at least one other person out there with a similar and working setup? Quote Link to comment
mp328 Posted January 21, 2013 Share Posted January 21, 2013 got everything working and indexing, but sickbeard is giving me an error loading Error loading Unraid URL: http://unraid:85/api?age=1100&apikey=b970881d6174f26badc3a40759ea1ab8&t=tvsearch&cat=5040%2C5030 Error loading Spotweb URL: http://unraid:86/api?age=1100&t=tvsearch&cat=5040%2C5030 wierd part is, if i manually copy/paste both of those urls, i get the xml page and i can manually search and find the show i'm looking for ... mp328, getting exactly the same issue as you. Haven't been able to figure it out yet . If you (or anyone) finds a fix, please be sure to post it here. I'll revisit it also. It must be something simple that's preventing it from working and I assume there's at least one other person out there with a similar and working setup? i tried something i read a few pages back which is to use your dns page instead of tower:xx and this got it working for sickbeard for me. not sure if u use an outside dns page to access your plugins from outside. but i also went back to the original newznab lightphd.cfg as i didnt care much for grabbing stuff of spotweb. was just gonna do manual on spotweb. Quote Link to comment
AndrewT Posted March 1, 2013 Share Posted March 1, 2013 Has anyone recently noticed a problem with CP finding correct movies on Spotweb? In the attached screenshot, you'll notice it's pulling several movies (with different tt### corresponding to IMDB unique movie identifier #s) while grabbing the same NZB file that has nothing to do with the movie. I've let it go through and it really is the identical movie, in this case Life of Pi, downloaded over and over again despite having different tt## tags at the end of it. FWIW, I also have "Detect Duplicate Downloads: Discard" in SAB. It seems there's something going on incorrectly with CP searching and tagging NZB files from Spotweb. I do have Life of Pi on my CP Wanted list, but it still does not show any NZB has been found much less snatched/sent to SAB. I just updated CouchPotato + SAB and this started happening. Spotweb is the same version as a few months ago installed according the instructions described in this thread. edit: CP actually uses the tt## tag to post-process which results in several different movies tagged incorrectly. Last night I thought I was going to watch a Comedy/Romance movie and it turned out to be The Collector instead(!). Quote Link to comment
inamak Posted June 2, 2013 Share Posted June 2, 2013 Hi - Sorry for reviving an old thread but I am having trouble getting Spotweb to work with CP CP successfully uses the api to search for a movie, but when it tries to get the nzb I get the following error: 06-02 11:31:19 INFO [hpotato.core.plugins.base] Opening url: http://tower:81/spotweb/api?t=get&id=sPzymRpkcvsWoeoUQT7r6%40spot.net&apikey=xxx, params: [] 06-02 11:31:19 ERROR [ore.providers.nzb.newznab] Failed download from tower: Traceback (most recent call last): File "/usr/local/couchpotato_v2/couchpotato/core/providers/nzb/newznab/main.py", line 141, in download data = self.urlopen(url, show_error = False) File "/usr/local/couchpotato_v2/couchpotato/core/plugins/base.py", line 148, in urlopen response = urllib2.urlopen(request, timeout = timeout) File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.6/urllib2.py", line 397, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 510, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 429, in error result = self._call_chain(*args) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 605, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/usr/lib/python2.6/urllib2.py", line 397, in open response = meth(req, response) File "/usr/lib/python2.6/urllib2.py", line 510, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.6/urllib2.py", line 435, in error return self._call_chain(*args) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 401: Unauthorized If I manually use the same url (substituting the xxx with the api key) in my browser the nzb comes up. I switched CP to debug mode to check it was using the api key correctly and it is. Any ideas??? Quote Link to comment
talkto_menow Posted September 13, 2013 Share Posted September 13, 2013 I'm having a problem installing spotweb. I'm not sure how to fix it. I have SF installed and web server is running. Please help I realize that there is something wrong with PHP extensions, but I have SimpleFeatures 1.0.11, CP, Sickbeard and Sabnzbd running perfectly, so why should I have a problem with PHP? Quote Link to comment
mp328 Posted March 30, 2014 Share Posted March 30, 2014 I'm having a problem installing spotweb. I'm not sure how to fix it. I have SF installed and web server is running. Please help I realize that there is something wrong with PHP extensions, but I have SimpleFeatures 1.0.11, CP, Sickbeard and Sabnzbd running perfectly, so why should I have a problem with PHP? CP, SB or sab do not use the Web server. So that doesn't mean you're not having issues with the php. But more likely you're having issues with the renaming rules for the webserver. There's a file in the config/plugins/simple features folder that you need to modify to access different ports for each thing on the Web server. For example, I have newznab, spotweb, phpadmin, sqldumper, owncloud all running off the webserver. So for each one you have to adjust the renaming rules so they load properly. If you can't find it I can attach mine when I get back home. For me spotweb wasn't worth it and I don't even bother using it anymore. Newznab is miles better, but a lot more work to configure properly Tapatalk on Samsung GS3 Quote Link to comment
smoldersonline Posted April 6, 2014 Share Posted April 6, 2014 I've got this running just fine. Many thanks to all, especially jangjong! I'm now (linux n00b) looking for a way to also run PlexWatchWeb together with SpotWeb. Any pointers would be greatly appreciated! ------------------ edit: I'm running the Dynamix webserver and I thought I got it working by editing dynamix.lighttpd.cfg as follows: # User customizations # Add your own settings here. These won't get overwritten upon reboot # $SERVER["socket"] == ":81" { server.document-root = "/mnt/cache/_Usenet/appdata/www/plexWatchWeb/" } $SERVER["socket"] == ":84" { server.document-root = "/mnt/cache/_Usenet/Webserver/spotweb/" } plexWatchWeb initially works fine, but as soon as I have used Spotweb it will give an error. After a restart of the webserver it will work again (until I use Spotweb). Strange.... Quote Link to comment
smoldersonline Posted March 27, 2016 Share Posted March 27, 2016 Probably I'm only one of a few using Spotweb on an unRAID server, maybe I get lucky.... It runs just fine, with one exception. I would like to setup a cron job for retrieving headers. A retrieve from the web interface works OK, but when I try to retrieve using the CLI, I get an error: root@Tower-unRAID:~# /usr/bin/php /mnt/cache/_Usenet/Apache/www/spotweb/retrieve.php Fatal error: Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /mnt/cache/_Usenet/Apache/www/spotweb/lib/dbeng/dbeng_pdo_mysql.php on line 28 I've been trying to troubleshoot this with trail and error but to no avail. Any pointers on how I could solve this are greatly appreciated. Quote Link to comment
bonienl Posted March 27, 2016 Share Posted March 27, 2016 Probably I'm only one of a few using Spotweb on an unRAID server, maybe I get lucky.... It runs just fine, with one exception. I would like to setup a cron job for retrieving headers. A retrieve from the web interface works OK, but when I try to retrieve using the CLI, I get an error: root@Tower-unRAID:~# /usr/bin/php /mnt/cache/_Usenet/Apache/www/spotweb/retrieve.php Fatal error: Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /mnt/cache/_Usenet/Apache/www/spotweb/lib/dbeng/dbeng_pdo_mysql.php on line 28 I've been trying to troubleshoot this with trail and error but to no avail. Any pointers on how I could solve this are greatly appreciated. Looks like the script requires the mysql extension which isn't included in the PHP distribution of unRAID. You may try the following: download the slackware PHP 5.6.19 package, extract the file /usr/lib64/php/extensions/mysql.so and copy this over to your unRAID system. It will be automatically included once copied. You can check the active extensions by: php -i from CLI. Quote Link to comment
smoldersonline Posted March 27, 2016 Share Posted March 27, 2016 Thanks a lot for your kind support! I guess I have to copy the file over to the same directory on my unRAID system where no only libvirt-php.so resides. Will try this tomorrow. Happy easter to all! Quote Link to comment
Helmonder Posted March 27, 2016 Share Posted March 27, 2016 Probably I'm only one of a few using Spotweb on an unRAID server, maybe I get lucky.... It runs just fine, with one exception. I would like to setup a cron job for retrieving headers. A retrieve from the web interface works OK, but when I try to retrieve using the CLI, I get an error: root@Tower-unRAID:~# /usr/bin/php /mnt/cache/_Usenet/Apache/www/spotweb/retrieve.php Fatal error: Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /mnt/cache/_Usenet/Apache/www/spotweb/lib/dbeng/dbeng_pdo_mysql.php on line 28 I've been trying to troubleshoot this with trail and error but to no avail. Any pointers on how I could solve this are greatly appreciated. I am running it in a vm.. There does not appear to be a docker for it.. Which is weird and a shame.. Quote Link to comment
smoldersonline Posted March 28, 2016 Share Posted March 28, 2016 Looks like the script requires the mysql extension which isn't included in the PHP distribution of unRAID. You may try the following: download the slackware PHP 5.6.19 package, extract the file /usr/lib64/php/extensions/mysql.so and copy this over to your unRAID system. It will be automatically included once copied. You can check the active extensions by: php -i from CLI. Thanks again! I found the file and copied it over to the server, but unfortunately that didn't do the trick. Maybe I'm doing something wrong. What I don't understand is that retrieving headers from Spotweb's web interface works fine. Well, I will stick with that option. edit - FWIW: when I run php -i I don't see any reference to mysql. Quote Link to comment
spants Posted April 7, 2016 Author Share Posted April 7, 2016 I now use the linuxserver.io apache Docker and added the spotweb files from github. Works really well apart from no CRON Quote Link to comment
smoldersonline Posted April 7, 2016 Share Posted April 7, 2016 That's my problem also. What do you get when you try a retrieve from the CLI? Edit: I'm pretty (?) sure I need the mysql.so extension, but whatever I try with trail and error (in my n00b case), I cannot get it to work . Quote Link to comment
spants Posted April 7, 2016 Author Share Posted April 7, 2016 I just click the retrieve button on the bottom left - it updates the spots Quote Link to comment
smoldersonline Posted April 7, 2016 Share Posted April 7, 2016 Thanks! Same here, so what's the problem... That's just a n00b (me) with (at the moment) too much time at his hands. It's also a sort of learning by doing experience and then it starts to frustrate me that I cannot get it to work properly (with a retrieve from the CLI). Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.