February 11, 201412 yr Hi All, I recently set up SABNZBD, SickBeard and CouchPotato on my UnRaid server and everything seems to be working, except one strange thing. I installed each app into /usr/local/"appname" so when UnRAID boots it will always get the latest version of the software as per the installation instructions. Because it gets a fresh copy each time, I needed to put a copy of the post processing scripts folder from SickBeard to my cache drive. So I ran cp -R /usr/local/sickbeard/autoProcessTV /mnt/cache/apps/sabnzbd/scripts/autoProcessTV. I then edited renamed autoProcessTV.cfg.sample to autoProcessTV.cfg and the used vi to edit the cfg as follows: [sickBeard] host=tower port=8082 username= password= web_root= ssl=0 If I select a show in SickBeard, it sends it to SABNZBD and downloads. Then, the post processing script kicks off, but rather than getting the green status showing the completion of the post processing, I get a more link that I click and I see this: Loading config from /mnt/user/apps/sabnzbd/scripts/autoProcessTV/autoProcessTV.cfg Opening URL: http://tower:8082/home/postprocess/processEpisode?nzbName=Adam.Buxtons.Bug.S01E01.720p.HDTV.x264-C4TV.nzb&quiet=1&dir=%2Fmnt%2Fcache%2Fapps%2Fsabnzbd%2FDownloads%2Fcomplete%2Ftv%2FAdam.Buxtons.Bug.S01E01.720p.HDTV.x264-C4TV.1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <title>500 Internal Server Error</title> <style type="text/css"> #powered_by { margin-top: 20px; border-top: 2px solid black; font-style: italic; } #traceback { color: red; } </style> </head> <body> <h2>500 Internal Server Error</h2> <p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p> <pre id="traceback">Traceback (most recent call last): File "/usr/local/sickbeard/cherrypy/_cprequest.py", line 660, in respond response.body = self.handler() File "/usr/local/sickbeard/cherrypy/lib/encoding.py", line 193, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/local/sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/local/sickbeard/sickbeard/webserve.py", line 1614, in processEpisode result = processTV.processDir(dir, nzbName) File "/usr/local/sickbeard/sickbeard/processTV.py", line 108, in processDir process_result = processor.process() File "/usr/local/sickbeard/sickbeard/postProcessor.py", line 870, in process notifiers.plex_notifier.update_library() File "/usr/local/sickbeard/sickbeard/notifiers/plex.py", line 167, in update_library xml_sections = minidom.parse(urllib.urlopen(url)) File "/usr/lib/python2.6/urllib.py", line 86, in urlopen return opener.open(url) File "/usr/lib/python2.6/urllib.py", line 207, in open return getattr(self, name)(url) File "/usr/lib/python2.6/urllib.py", line 335, in open_http h = httplib.HTTP(host) File "/usr/lib/python2.6/httplib.py", line 1024, in __init__ self._setup(self._connection_class(host, port, strict)) File "/usr/lib/python2.6/httplib.py", line 661, in __init__ self._set_hostport(host, port) File "/usr/lib/python2.6/httplib.py", line 686, in _set_hostport raise InvalidURL("nonnumeric port: '%s'" % host[i+1:]) InvalidURL: nonnumeric port: '' </pre> <div id="powered_by"> <span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.0rc1</a></span> </div> </body> </html> The strange thing is that the file ultimately does get moved, so it's not broken per se, but I really want to fix it so it doesn't give me the HTTP 500 error in sabnzbd. I've searched for a solution to this, but I haven't found anything. Does anyone have any ideas what I am doing wrong? Thanks!
February 11, 201412 yr Author I should add that while the script is renaming and moving the main show to the right location, it doesn't finish the cleanup because of the error.
February 11, 201412 yr Author Ok, I solved this one myself. It was my error. Under Notifications in SickBeard I inadvertently put http://tower:32400 for Plex notifications rather than just tower:32400. The http:// causes not only the notification to fail, but ends up killing the post processing clean up of the files.
Archived
This topic is now archived and is closed to further replies.