MiddlewareError

Status
Not open for further replies.

l2h

Cadet
Joined
Oct 18, 2016
Messages
9
Hallo forum,

nachdem ich nun mein NAS neu aufgesetzt habe, habe ich begonnen die ersten interessanten Erweiterungen zu installieren, es sollte OwnCloud und der PlexMediaServer werden. Als Jail sollte noch OpenVPN her.
Bei dem Versuch, die OwnClod zu installieren, kommt es zu folgendem Fehler:
Code:
Request Method:	POST
Request URL:	http://XXX.XXX.XX.XX/plugins/plugin/install/f272f8cf9d06ac84f1e8c871c7d5cba2b3a84c82f5a18eac5705cec40c7f3314/
Software Version:	FreeNAS-11.0-U1 (aa82cc58d)
Exception Type:	MiddlewareError
Exception Value:	
[MiddlewareError: b"'warden_exception' object has no attribute 'encode'"]
Exception Location:	./freenasUI/plugins/views.py in install_available, line 308
Server time:	Fr, 7 Jul 2017 20:57:54 +0200
Traceback


Environment:

Software Version: FreeNAS-11.0-U1 (aa82cc58d)
Request Method: POST
Request URL: http://XXX.XXX.XX.XX/plugins/plugin/install/f272f8cf9d06ac84f1e8c871c7d5cba2b3a84c82f5a18eac5705cec40c7f3314/


Traceback:
File "./freenasUI/jails/utils.py" in new_default_plugin_jail
  675.			 w.template(**template_create_args)
File "./freenasUI/common/warden.py" in template
  1155.		 return self.__call(warden_template(flags, **kwargs))
File "./freenasUI/common/warden.py" in __call
  1066.				 tmp = obj.run()
File "./freenasUI/common/warden.py" in run
  461.			 raise warden_exception(msg)
File "./freenasUI/plugins/views.py" in install_available
  302.			 jail = new_default_plugin_jail(plugin.unixname)
File "./freenasUI/jails/utils.py" in new_default_plugin_jail
  680.			 raise MiddlewareError(e)
File "./freenasUI/middleware/exceptions.py" in __init__
  36.		 log.warn(str(self))
File "./freenasUI/middleware/exceptions.py" in __str__
  39.		 return "[%s: %s]" % (type(self).__name__, self.value.encode('utf-8'))
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  39.			 response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
  249.			 response = self._get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  178.			 response = middleware_method(request, callback, callback_args, callback_kwargs)
File "./freenasUI/freeadmin/middleware.py" in process_view
  162.		 return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  23.				 return view_func(request, *args, **kwargs)
File "./freenasUI/plugins/views.py" in install_available
  308.			 raise MiddlewareError(str(e))

Exception Type: MiddlewareError at /plugins/plugin/install/f272f8cf9d06ac84f1e8c871c7d5cba2b3a84c82f5a18eac5705cec40c7f3314/
Exception Value: [MiddlewareError: b"'warden_exception' object has no attribute 'encode'"]



Request information

GET

No GET data
POST

Variable	Value
__form_id	'form_str'
FILES

No FILES data
COOKIES

Variable	Value
sessionid	'aj8gnghdfnbe441pd6242cloawgfjmt5'
csrftoken	'X7GpQb48vLckTdKyTyYa6bLm30TCvSypklvnRee2anLqanWuxEJMaaJaOJf2poIY'
fntreeSaveStateCookie	'root%2Croot%2F8%2F9%2Croot%2F8%2F12%2Croot%2F8%2F15%2Croot%2F8%2F21%2Croot%2F8%2F24%2Croot%2F8%2F28%2Croot%2F8%2F32%2Croot%2F35%2F41%2Croot%2F35%2F45%2Croot%2F35%2F48%2Croot%2F51%2F58%2Croot%2F68%2F69%2Croot%2F68%2F72%2Croot%2F68%2F75%2Croot%2F78%2F90%2Croot%2F51%2F52%2Croot%2F51%2F52%2F53%2Croot%2F51%2Croot%2F73%2Croot%2F73%2F74%2Croot%2F73%2F81%2Croot%2F73%2F78%2Croot%2F73%2F82%2Croot%2F70%2Croot%2F70%2F71%2Croot%2F70%2F74%2Croot%2F70%2F77%2Croot%2F75%2F83%2Croot%2F88%2F100%2Croot%2F132%2Croot%2F75%2F76%2Croot%2F53%2F54%2Croot%2F53%2F54%2F55%2F56%2Croot%2F53%2F54%2F55%2F56%2F61%2Croot%2F91%2F96%2Croot%2F91%2F100%2Croot%2F53%2F54%2F55%2F56%2F65%2Croot%2F53%2F54%2F55%2F56%2F57%2Croot%2F91%2F92%2Croot%2F10%2F11%2Croot%2F10%2F14%2Croot%2F10%2F18%2Croot%2F83%2F84%2Croot%2F83%2F91%2Croot%2F87%2F92%2Croot%2F87%2F96%2Croot%2F87%2F97%2Croot%2F87%2F88%2Croot%2F53%2Croot%2F53%2F60%2Croot%2F53%2F60%2F61%2Croot%2F53%2F60%2F61%2F62%2Croot%2F53%2F60%2F61%2F70%2Croot%2F53%2F60%2F61%2F66%2Croot%2F88%2F97%2Croot%2F88%2F89%2Croot%2F54%2F61%2Croot%2F54%2F61%2F62%2Croot%2F1%2F6%2Croot%2F54%2F61%2F62%2F63%2Croot%2F54%2F61%2F62%2F67%2Croot%2F54%2F61%2F62%2F71%2Croot%2F11%2F35%2Croot%2F11%2F27%2Croot%2F11%2F24%2Croot%2F11%2F18%2Croot%2F145%2Croot%2F101%2F134%2Croot%2F88%2F93%2Croot%2F102%2F114%2Croot%2F102%2F114%2F116%2Croot%2F102%2F114%2F119%2Croot%2F102%2F114%2F122%2Croot%2F102%2F114%2F131%2Croot%2F102%2F114%2F128%2Croot%2F102%2F114%2F125%2Croot%2F25%2F29%2Croot%2F25%2F32%2Croot%2F25%2F35%2Croot%2F103%2F110%2Croot%2F114%2F115%2Croot%2F114%2F119%2Croot%2F114%2F123%2Croot%2F114%2F126%2Croot%2F114%2F132%2Croot%2F152%2F162%2F163%2Croot%2F114%2F132%2F134%2Croot%2F114%2F132%2F137%2Croot%2F114%2F132%2F140%2Croot%2F114%2F132%2F143%2Croot%2F114%2F132%2F146%2Croot%2F114%2F132%2F149%2Croot%2F174%2F180%2F182%2Croot%2F150%2Croot%2F90%2F95%2Croot%2F90%2F91%2Croot%2F128%2F138%2Croot%2F54%2F76%2Croot%2F54%2F71%2Croot%2F54%2F68%2Croot%2F54%2F65%2Croot%2F90%2F99%2Croot%2F90%2F102%2Croot%2F128%2Croot%2F122%2F134%2Croot%2F182%2F192%2Croot%2F182%2F192%2F194%2Croot%2F178%2Croot%2F186%2F196%2F198%2Croot%2F54%2F112%2Croot%2F54%2F107%2Croot%2F54%2F104%2Croot%2F126%2F131%2Croot%2F126%2F138%2Croot%2F126%2F135%2Croot%2F126%2F127%2Croot%2F126%2F144%2Croot%2F115%2F122%2Croot%2F126%2F144%2F146%2Croot%2F126%2F144%2F149%2Croot%2F126%2F144%2F152%2Croot%2F126%2F144%2F155%2Croot%2F126%2F144%2F158%2Croot%2F126%2F144%2F161%2Croot%2F164%2F174%2Croot%2F164%2F174%2F175%2Croot%2F54%2F55%2F56%2F69%2F86%2Croot%2F54%2F101%2Croot%2F186%2F192%2F194%2Croot%2F186%2Croot%2F54%2F55%2F56%2F69%2F82%2Croot%2F182%2F188%2F190%2Croot%2F182%2Croot%2F182%2F188%2Croot%2F54%2F89%2Croot%2F166%2Croot%2F54%2F55%2F56%2F69%2Croot%2F174%2F180%2Croot%2F110%2Croot%2F54%2F96%2Croot%2F54%2F55%2F56%2F69%2F74%2Croot%2F165%2Croot%2F54%2F55%2Croot%2F161%2Croot%2F54%2F55%2F56%2Croot%2F54%2F55%2F56%2F65%2Croot%2F54%2F55%2F56%2F69%2F70%2Croot%2F54%2F100%2Croot%2F174%2Croot%2F111%2F123%2Croot%2F111%2F120%2Croot%2F28%2F29%2Croot%2F57%2F58%2Croot%2F57%2F58%2F59%2Croot%2F57%2F58%2F59%2F60%2Croot%2F8%2F16%2Croot%2F144%2Croot%2F157%2Croot%2F155%2Croot%2F54%2Croot%2F25%2F26%2Croot%2F139%2Croot%2F55%2F56%2F57%2F58%2Croot%2F55%2F62%2Croot%2F55%2F56%2F57%2Croot%2F143%2Croot%2F111%2F126%2Croot%2F169%2Croot%2F1%2F5%2Croot%2F1%2F2%2Croot%2F57%2F58%2F59%2F64'
META

Variable	Value


Könnt Ihr mir hier helfen?

Beste Grüße
l2h
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Normalerweise wäre ein Bug Report nützlich, Warden wird aber in 11.1 mit iocage ersetzt.
 

l2h

Cadet
Joined
Oct 18, 2016
Messages
9
Moin, und das heißt was? Ein echter Fehler der mit 11.1 irgendwas gelöst wird oder gar nicht mehr zur Verfügung steht?
 

zoomzoom

Guru
Joined
Sep 6, 2015
Messages
677
@l2h iocage has replaced warden as the jail manager. iocage offers up to date plugins as well, versus the plethora of plugins that haven't been updated in years with warden.
  • I'm not sure if you utilize CrashPlan or not, but the last I tried the CrashPlan iocage plugin a month or so ago, it was still having some critical issues... haven't been able to take the time yet to try working with it again.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Moin, und das heißt was? Ein echter Fehler der mit 11.1 irgendwas gelöst wird oder gar nicht mehr zur Verfügung steht?
Plugins waren nie besonders gut, deswegen wird ein neues System für 11.1 implementiert. Was da genau geschehen ist weiß ich nicht, es sieht aber so aus, dass der Plugin vom Maintainer falsch konfiguriert wurde.
 
Status
Not open for further replies.
Top