Can't install Subsonic Plugin on 11.0-U2

Status
Not open for further replies.

Seani

Dabbler
Joined
Oct 18, 2016
Messages
41
Peace.
I tried to install the SubSonic Plugin several times.
Here are the Error Messages (I don't have the foggiest idea what they mean):
Code:
Request Method:	  POST	
	
	 Request URL:	  https://192.168.1.3/plugins/plugin/install/c9c8ca31443b90985bbb926b9e66c3af66df60e50cf703e05271dbec31231127/	
	
	 Software Version:	  FreeNAS-11.0-U2 (e417d8aa5)	
	
	 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:	  Mon, 21 Aug 2017 01:29:10 +0200

and under Traceback:
Code:
Environment:

Software Version: FreeNAS-11.0-U2 (e417d8aa5)
Request Method: POST
Request URL: https://192.168.1.3/plugins/plugin/install/c9c8ca31443b90985bbb926b9e66c3af66df60e50cf703e05271dbec31231127/


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/c9c8ca31443b90985bbb926b9e66c3af66df60e50cf703e05271dbec31231127/
Exception Value: [MiddlewareError: b"'warden_exception' object has no attribute 'encode'"]

and under that:
Code:
Request information
GET
	
No GET data

POST
				
		 Variable		  Value		
						
			__form_id			 'form_str'		
				
FILES
	
No FILES data

COOKIES
				
		 Variable		  Value		
						
			csrftoken			 '3vsf78kBseOrq3FeGVpPYmZEwmP3ZoOlRUmnSJvKOou47fThnGGfmAPPzuf8oaFu'		
				
			sessionid			 'xxz1wwtziyen0mt6tbdu8ts6rcan29cc'		
				
			fntreeSaveStateCookie			 'root'		
				
META
				
Variable		 Value


I never installed a plugin before (have 5 Jails running though) and would be glad for any helpful input/solution.
The only other way to install Subsonic I found was this (4 year old) topic concerning an outdated version of Subsonic:

https://forums.freenas.org/index.php?threads/how-to-install-subsonic-4-8-on-freenas-9-1-1.15016/

Update:
As it turns out, the problem is not related to Subsonic but to plugins in general. I tried to install the MadSonic Plugin out of curiosity and got the same error messages
https://forums.freenas.org/index.php?threads/how-to-install-subsonic-4-8-on-freenas-9-1-1.15016/
 
Last edited:
Status
Not open for further replies.
Top