Jail is Broken - Missing Table

Status
Not open for further replies.

kapvu

Dabbler
Joined
Nov 29, 2013
Messages
13
FreeNas 9.1.1

This is a new install and I'm a noob to freenas. I was going to mess around with plugins when I notice my Jail Tab looked like this. This is preventing me from installing any plugins. It says I'm missing a database table? Is there any resolution for this?


Request Method: GET
Request URL: http://192.168.1.99/jails/home/
Software Version: FreeNAS-9.1.1-RELEASE-x64 (a752d35)
Exception Type: DatabaseError
Exception Value:
no such table: jails_jailsconfiguration
Exception Location: /usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 362
Server time: Fri, 7 Mar 2014 22:52:31 -0500


Environment:

Software Version: FreeNAS-9.1.1-RELEASE-x64 (a752d35)
Request Method: GET
Request URL: http://192.168.1.99/jails/home/


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 jails_home
54. jailsconf = models.JailsConfiguration.objects.order_by("-id")[0]
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in __getitem__
215. return list(qs)[0]
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in __len__
92. self._result_cache.extend(self._iter)
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in iterator
301. for row in compiler.results_iter():
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in results_iter
775. for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
840. cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py" in execute
366. six.reraise(utils.DatabaseError, utils.DatabaseError(*tuple(e.args)), sys.exc_info()[2])
File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py" in execute
362. return Database.Cursor.execute(self, query, params)

Exception Type: DatabaseError at /jails/home/
Exception Value: no such table: jails_jailsconfiguration
 
D

dlavigne

Guest
Jails are separate from Plugins i.e. the Jails tab should have nothing to do with the Plugins tab.

That message sounds like you tried to add a jail before setting the jail configuration. If this is not the case, post a screenshot of what you are seeing in the GUI.
 

kapvu

Dabbler
Joined
Nov 29, 2013
Messages
13
I believe they are related. When you install plug-ins you have to create a jail volume or storage areas. Here's are some screenshots.

I get the error when I install any plugin from the plugin tab. Then the same message is on the jail tab.

Capture1.JPG

Capture.JPG
 

kapvu

Dabbler
Joined
Nov 29, 2013
Messages
13
anyone? Should I do a reinstall? If I do a reinstall and a config restore, will I lose any data on the drives?
 
Status
Not open for further replies.
Top