Deleted jail & plugins but can't re-install

Status
Not open for further replies.

karlywarly

Dabbler
Joined
Oct 16, 2012
Messages
20
Hi Everyone,

I had a problem with Transmission and with permissions, stupidly I gave everything on my current pool full permissions including the jail etc.

The transmission plugin failed to start due to this so I deleted the jail folder and everything with it.

The problem I now have is that I am now unable to create a new jail and I still have 2 plugins listed in the plugins installed section (transmission & minidlna)

When trying to create a new jail I get the following

Code:
Environment:
 
Software Version: FreeNAS-9.2.1-RC-5ccac93-x64
Request Method: GET
Request URL: http://192.168.1.3/admin/jails/jails/add/
 
 
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  107.                    response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
  158.        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
  22.                return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in wrapper
  209.                return self._admin.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  99.                    response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  52.        response = view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/site.py" in inner
  144.            return view(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in add
  367.            mf = mf()
File "/usr/local/www/freenasUI/../freenasUI/jails/forms.py" in __init__
  150.        addrs = guess_addresses()
File "/usr/local/www/freenasUI/../freenasUI/jails/utils.py" in guess_addresses
  536.    ipv4_addr = guess_ipv4_address()
File "/usr/local/www/freenasUI/../freenasUI/jails/utils.py" in guess_ipv4_address
  430.            get_ipv4_exclude_dict()
File "/usr/local/www/freenasUI/../freenasUI/jails/utils.py" in get_ipv4_exclude_dict
  98.    jails = w.list()
File "/usr/local/www/freenasUI/../freenasUI/common/warden.py" in list
  1058.        return self.__call(warden_list(flags, **kwargs))
File "/usr/local/www/freenasUI/../freenasUI/common/warden.py" in __call
  1019.            tmp = obj.run()
File "/usr/local/www/freenasUI/../freenasUI/common/warden.py" in run
  445.            raise warden_exception(msg)
 
Exception Type: warden_exception at /admin/jails/jails/add/
Exception Value: The command /usr/local/bin/warden list  -v failed: "Error: No jails found!
"


When trying to delete a plugin that is still appearing I get the following

Code:
Environment:
 
Software Version: FreeNAS-9.2.1-RC-5ccac93-x64
Request Method: POST
Request URL: http://192.168.1.3/admin/plugins/plugins/delete/2/
 
 
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  107.                    response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
  158.        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
  22.                return view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in wrapper
  209.                return self._admin.admin_view(view)(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  99.                    response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  52.        response = view_func(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/site.py" in inner
  144.            return view(request, *args, **kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in delete
  689.                mf.delete(events=events)
File "/usr/local/www/freenasUI/../freenasUI/plugins/forms.py" in delete
  83.        super(PluginsForm, self).delete(request=request, events=events)
File "/usr/local/www/freenasUI/../freenasUI/common/forms.py" in delete
  109.        self.instance.delete()
File "/usr/local/www/freenasUI/../freenasUI/plugins/models.py" in delete
  148.                self._do_delete()
File "/usr/local/www/freenasUI/../freenasUI/plugins/models.py" in _do_delete
  127.            raise MiddlewareError("The plugins jail is not running, start "
 
Exception Type: NameError at /admin/plugins/plugins/delete/2/
Exception Value: global name 'MiddlewareError' is not defined


I'm not sure how to solve this so if anyone has any ideas I would be greatful

Thanks :)
 
Status
Not open for further replies.
Top