Cannot install plugins on FreeNAS 11.0-U3
I did a clean install of FreeNAS on a thumbdrive to test it, but I cannot install any plugins.
The same error occurs every time:
Environment:
Software Version: FreeNAS-11.0-U3 (c5dcf4416)
Request Method: POST
Request URL: http://192.168.178.110/plugins/plugin/install/76254ffe64cb998aa668ea315822af1f5163d33b9e71900167ca9318e695b81d/
Traceback:
File "./freenasUI/jails/utils.py" in new_default_plugin_jail
675. w.template(**template_create_args)
File "./freenasUI/common/warden.py" in template
1159. return self.__call(warden_template(flags, **kwargs))
File "./freenasUI/common/warden.py" in __call
1070. tmp = obj.run()
File "./freenasUI/common/warden.py" in run
465. 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/76254ffe64cb998aa668ea315822af1f5163d33b9e71900167ca9318e695b81d/
Exception Value: [MiddlewareError: b"'warden_exception' object has no attribute 'encode'"]
If anybody knows what the problem is, please help.
Thanks!
Posted Sep 21, 2017, 2:17 PM UTC
17
Did you have FN already installed on this box at one time?
Nope, fresh install.
Every post I've found was resolved by re-installing...
Have you already configured your Jail dataset?
Can you elaborate? Do you intend to install to an internal storage device? It is recommended to install and run from USB.
I know, its frustrating.
It does that automatically
Yes, I installed it on a USB flash drive.