Master Gollom
Dabbler
- Joined
- Jul 25, 2013
- Messages
- 44
Hello,
I'm trying to create PBI's for FreeNAS 9.1 RC1/RC2. I managed to create the PBI but it won't start, FreeNAS is telling me that "Some Error occured". Well to really see what's wrong i'm restarting the jail and it comes up with this:
can someone please give me a push in the right direction, I have to be missing something. It doesn't work with transmission nor with sabnzbd. Fortunately a 9.1 transmission plugin is online since RC2 is out, but I really want to be able to create the plugins myself....
I have been trying to create the plugins with PCBSD 9.1 - Stable and PCBSD 9.1 Release...
I'm trying to create PBI's for FreeNAS 9.1 RC1/RC2. I managed to create the PBI but it won't start, FreeNAS is telling me that "Some Error occured". Well to really see what's wrong i'm restarting the jail and it comes up with this:
Code:
Request Method: POST
Request URL: http://192.168.1.203/jails/start/2
Software Version: FreeNAS-9.1.0-RC2-x64 (5f710b2)
Exception Type: TypeError
Exception Value:
warden_exception('/usr/local/share/warden/scripts/backend/startjail.sh: cannot create /dev/tty: Device not configured\n',) is not JSON serializable
Exception Location: /usr/local/lib/python2.7/site-packages/simplejson/encoder.py in default, line 223
Server time: Fri, 26 Jul 2013 03:08:11 -0700
Traceback
Environment:
Software Version: FreeNAS-9.1.0-RC2-x64 (5f710b2)
Request Method: POST
Request URL: http://192.168.1.203/jails/start/2
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
109. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
165. return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
25. return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/jails/views.py" in jail_start
151. return JsonResp(request, error=True, message=e)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/views.py" in __init__
128. kwargs['content'] = simplejson.dumps(data)
File "/usr/local/lib/python2.7/site-packages/simplejson/__init__.py" in dumps
323. return _default_encoder.encode(obj)
File "/usr/local/lib/python2.7/site-packages/simplejson/encoder.py" in encode
246. chunks = self.iterencode(o, _one_shot=True)
File "/usr/local/lib/python2.7/site-packages/simplejson/encoder.py" in iterencode
322. return _iterencode(o, 0)
File "/usr/local/lib/python2.7/site-packages/simplejson/encoder.py" in default
223. raise TypeError(repr(o) + " is not JSON serializable")
Exception Type: TypeError at /jails/start/2
Exception Value: warden_exception('/usr/local/share/warden/scripts/backend/startjail.sh: cannot create /dev/tty: Device not configured\n',) is not JSON serializable
Request information
GET
No GET data
POST
VariableValue
__form_id u'dijit_form_Form_3'
FILES
No FILES data
COOKIES
VariableValue
csrftoken '7Vo3FZBGgIE7ZGqMxLN6Vj4ryWfBRbAm'
sessionid 'dwe0kkfcom45vcyax1nypfpjj36iedad'
fntreeSaveStateCookie 'root%2Croot%2F55%2F62%2Croot%2F77%2F84%2Croot%2F1%2F8%2Croot%2F132%2Croot%2F146%2Croot%2F146%2F149%2Croot%2F146%2F149%2F150%2Croot%2F145%2F148%2F149%2F153%2Croot%2F124%2Croot%2F55%2Croot%2F134%2Croot%2F90%2Croot%2F90%2F97%2Croot%2F145%2Croot%2F145%2F148%2Croot%2F145%2F148%2F149%2Croot%2F145%2F148%2F149%2F154%2Croot%2F13%2F34%2Croot%2F107%2Croot%2F41%2Croot%2F149%2Croot%2F142%2Croot%2F153%2Croot%2F155%2F162%2F164%2Croot%2F155%2Croot%2F154%2Croot%2F154%2F161%2Croot%2F154%2F157%2Croot%2F150%2Croot%2F151%2Croot%2F151%2F154%2Croot%2F155%2F163'
META
VariableValue
wsgi.multiprocess False
HTTP_REFERER 'http://192.168.1.203/'
REDIRECT_STATUS '200'
SERVER_SOFTWARE 'nginx/1.4.1'
SCRIPT_NAME u''
HTTP_X_CSRFTOKEN '7Vo3FZBGgIE7ZGqMxLN6Vj4ryWfBRbAm'
REQUEST_METHOD 'POST'
PATH_INFO u'/jails/start/2'
HTTP_ORIGIN 'http://192.168.1.203'
SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING ''
CONTENT_LENGTH '27'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36'
HTTP_CONNECTION 'keep-alive'
HTTP_COOKIE 'sessionid=dwe0kkfcom45vcyax1nypfpjj36iedad; csrftoken=7Vo3FZBGgIE7ZGqMxLN6Vj4ryWfBRbAm; fntreeSaveStateCookie=root%2Croot%2F55%2F62%2Croot%2F77%2F84%2Croot%2F1%2F8%2Croot%2F132%2Croot%2F146%2Croot%2F146%2F149%2Croot%2F146%2F149%2F150%2Croot%2F145%2F148%2F149%2F153%2Croot%2F124%2Croot%2F55%2Croot%2F134%2Croot%2F90%2Croot%2F90%2F97%2Croot%2F145%2Croot%2F145%2F148%2Croot%2F145%2F148%2F149%2Croot%2F145%2F148%2F149%2F154%2Croot%2F13%2F34%2Croot%2F107%2Croot%2F41%2Croot%2F149%2Croot%2F142%2Croot%2F153%2Croot%2F155%2F162%2F164%2Croot%2F155%2Croot%2F154%2Croot%2F154%2F161%2Croot%2F154%2F157%2Croot%2F150%2Croot%2F151%2Croot%2F151%2F154%2Croot%2F155%2F163'
SERVER_NAME 'localhost'
REMOTE_PORT '60226'
wsgi.url_scheme 'http'
SERVER_PORT '80'
SERVER_ADDR '192.168.1.203'
DOCUMENT_ROOT '/usr/local/etc/nginx/html'
HTTP_CONTENT_LENGTH '27'
HTTP_X_REQUESTED_WITH 'XMLHttpRequest'
DOCUMENT_URI '/jails/start/2'
wsgi.input <flup.server.fcgi_base.InputStream object at 0x8117c9690>
HTTP_HOST '192.168.1.203'
wsgi.multithread True
HTTP_CONTENT_TYPE 'application/x-www-form-urlencoded'
REQUEST_URI '/jails/start/2'
HTTP_ACCEPT '*/*'
wsgi.version (1, 0)
GATEWAY_INTERFACE 'CGI/1.1'
wsgi.run_once False
wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0x8117da310>
REMOTE_ADDR '192.168.1.10'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.8'
CONTENT_TYPE 'application/x-www-form-urlencoded'
CSRF_COOKIE u'7Vo3FZBGgIE7ZGqMxLN6Vj4ryWfBRbAm'
HTTP_ACCEPT_ENCODING 'gzip,deflate,sdch'can someone please give me a push in the right direction, I have to be missing something. It doesn't work with transmission nor with sabnzbd. Fortunately a 9.1 transmission plugin is online since RC2 is out, but I really want to be able to create the plugins myself....
I have been trying to create the plugins with PCBSD 9.1 - Stable and PCBSD 9.1 Release...