bobbydazzler2248
Cadet
- Joined
- Nov 22, 2013
- Messages
- 3
Hi All
First off, I did a quick search for what I think my problem is and I am still scratching my head so I apologize in advance if this has already been covered.
I am running;
FreeNAS 9.1.1
Plugins:
Plex 0.9.8.10.215
Sabnzbdplus 0.7.14
Sickbeard 1.0
All stock and I followed the FreeNAS video on how to install the Plex plugin and mimicked it for SB and SAB+. I also set up the storage to point to my dataset outside of the jails and copied & modified the autoProcessTV.cfg to give it the correct IP address for my SB jail. I have used these apps in a windows system so I am familiar with how they work together.
Now.. selecting the episode from SB works, SAB+ starts the download process and gets the file correctly. What it seems to hiccup on is the post processing. In my limited opinion it seems to do with permissions on the folder when it tries to process the file.
-----------------------------------------------------------------------------------------------------------------------
Loading config from /media/Scripts/autoProcessTV.cfg
Opening URL: http://192.168.1.24:8081/home/postp...ia/Complete/The.Simpsons.S25E03.HDTV.x264-LOL
<!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/pbi/sickbeard-amd64/SickBeard/cherrypy/_cprequest.py", line 660, in respond
response.body = self.handler()
File "/usr/pbi/sickbeard-amd64/SickBeard/cherrypy/lib/encoding.py", line 193, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/pbi/sickbeard-amd64/SickBeard/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/webserve.py", line 1596, in processEpisode
result = processTV.processDir(dir, nzbName)
File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/processTV.py", line 93, in processDir
returnStr += processDir(ek.ek(os.path.join, dirName, curFolder), recurse=True)
File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/processTV.py", line 84, in processDir
fileList = ek.ek(os.listdir, dirName)
File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/encodingKludge.py", line 62, in ek
result = func(*[callPeopleStupid(x) if type(x) in (str, unicode) else x for x in args])
OSError: [Errno 13] Permission denied: '/media/Downloads/Incoming/The.Simpsons.S25E03.HDTV.x264-LOL/__ADMIN__'
</pre>
<div id="powered_by">
<span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.0rc1</a></span>
</div>
</body>
</html>
-----------------------------------------------------------------------------------------------------------------------
As I am running everything from the built-in/available plugins offered in AppCafe, I am at a loss what I should be setting and to what. I am constantly changing CHMOD to 777 but it seems to be the new files downloaded do not have the same level of permission. Also who or what is uid 350? I do not see that id in my users or groups defined in FreeNAS. Are there other users or groups created inside jails that I am not aware of?
I think I am really close to making everything working and learning lots. This is my first venture into BSD and, like garlic bread, I think it's the future!
Many Thanks.
First off, I did a quick search for what I think my problem is and I am still scratching my head so I apologize in advance if this has already been covered.
I am running;
FreeNAS 9.1.1
Plugins:
Plex 0.9.8.10.215
Sabnzbdplus 0.7.14
Sickbeard 1.0
All stock and I followed the FreeNAS video on how to install the Plex plugin and mimicked it for SB and SAB+. I also set up the storage to point to my dataset outside of the jails and copied & modified the autoProcessTV.cfg to give it the correct IP address for my SB jail. I have used these apps in a windows system so I am familiar with how they work together.
Now.. selecting the episode from SB works, SAB+ starts the download process and gets the file correctly. What it seems to hiccup on is the post processing. In my limited opinion it seems to do with permissions on the folder when it tries to process the file.
-----------------------------------------------------------------------------------------------------------------------
Loading config from /media/Scripts/autoProcessTV.cfg
Opening URL: http://192.168.1.24:8081/home/postp...ia/Complete/The.Simpsons.S25E03.HDTV.x264-LOL
<!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/pbi/sickbeard-amd64/SickBeard/cherrypy/_cprequest.py", line 660, in respond
response.body = self.handler()
File "/usr/pbi/sickbeard-amd64/SickBeard/cherrypy/lib/encoding.py", line 193, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/pbi/sickbeard-amd64/SickBeard/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/webserve.py", line 1596, in processEpisode
result = processTV.processDir(dir, nzbName)
File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/processTV.py", line 93, in processDir
returnStr += processDir(ek.ek(os.path.join, dirName, curFolder), recurse=True)
File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/processTV.py", line 84, in processDir
fileList = ek.ek(os.listdir, dirName)
File "/usr/pbi/sickbeard-amd64/SickBeard/sickbeard/encodingKludge.py", line 62, in ek
result = func(*[callPeopleStupid(x) if type(x) in (str, unicode) else x for x in args])
OSError: [Errno 13] Permission denied: '/media/Downloads/Incoming/The.Simpsons.S25E03.HDTV.x264-LOL/__ADMIN__'
</pre>
<div id="powered_by">
<span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.0rc1</a></span>
</div>
</body>
</html>
-----------------------------------------------------------------------------------------------------------------------
As I am running everything from the built-in/available plugins offered in AppCafe, I am at a loss what I should be setting and to what. I am constantly changing CHMOD to 777 but it seems to be the new files downloaded do not have the same level of permission. Also who or what is uid 350? I do not see that id in my users or groups defined in FreeNAS. Are there other users or groups created inside jails that I am not aware of?
I think I am really close to making everything working and learning lots. This is my first venture into BSD and, like garlic bread, I think it's the future!
Many Thanks.