Can't add storage or do anything else.

Status
Not open for further replies.

Jannes

Cadet
Joined
Feb 23, 2014
Messages
2
Hi guys,

I've got a problem here. I just got my FreeNAS working on an old pc I got from school.
But when I try to edit something in the webGUI (add storage, access jails tab, and some more stuff), instead of the page/application that I should get, I always get something like this:

Code:
Request Method:    GET
Request URL:    http://192.168.0.123/storage/volumemanager/
Software Version:    FreeNAS-9.2.1.1-RELEASE-x86 (0da7233)
Exception Type:    OperationalError
Exception Value:   
no such column: storage_volume.vol_encrypt
Exception Location:    /usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 450
Server time:    Fri, 28 Feb 2014 11:04:18 -0800
 
Traceback
Environment:
 
Software Version: FreeNAS-9.2.1.1-RELEASE-x86 (0da7233)
Request Method: GET
Request URL: http://192.168.0.123/storage/volumemanager/
 
 
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/storage/views.py" in volumemanager
  160.    for v in models.Volume.objects.all():
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in __iter__
  96.        self._fetch_all()
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in _fetch_all
  854.            self._result_cache = list(self.iterator())
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in iterator
  220.        for row in compiler.results_iter():
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in results_iter
  710.        for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
  781.        cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py" in execute
  53.                return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/utils.py" in __exit__
  99.                six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/util.py" in execute
  53.                return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py" in execute
  450.        return Database.Cursor.execute(self, query, params)
 
Exception Type: OperationalError at /storage/volumemanager/
Exception Value: no such column: storage_volume.vol_encrypt
 
Request information
 
GET
 
No GET data
POST
 
No POST data
FILES
 
No FILES data
COOKIES
 
Variable    Value
csrftoken    'i789MyffRSVN6Rz34R1fgK4jPNRxdbDG'
sessionid    'tj6m2os0bk5pchs7gzuc663o8o6dr1bk'
fntreeSaveStateCookie    'root%2Croot%2F36%2Croot%2F52%2Croot%2F52%2F53'
META
 
Variable    Value
wsgi.multiprocess    False
HTTP_REFERER    'http://192.168.0.123/'
REDIRECT_STATUS    '200'
SERVER_SOFTWARE    'nginx/1.4.4'
SCRIPT_NAME    u''
REQUEST_METHOD    'GET'
PATH_INFO    u'/storage/volumemanager/'
SERVER_PROTOCOL    'HTTP/1.1'
QUERY_STRING    ''
CONTENT_LENGTH    ''
HTTP_USER_AGENT    'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36'
HTTP_CONNECTION    'keep-alive'
HTTP_COOKIE    'sessionid=tj6m2os0bk5pchs7gzuc663o8o6dr1bk; fntreeSaveStateCookie=root%2Croot%2F36%2Croot%2F52%2Croot%2F52%2F53; csrftoken=i789MyffRSVN6Rz34R1fgK4jPNRxdbDG'
SERVER_NAME    'localhost'
REMOTE_PORT    '65510'
wsgi.url_scheme    'http'
SERVER_PORT    '80'
SERVER_ADDR    '192.168.0.123'
DOCUMENT_ROOT    '/usr/local/etc/nginx/html'
HTTP_X_REQUESTED_WITH    'XMLHttpRequest'
DOCUMENT_URI    '/storage/volumemanager/'
wsgi.input    <flup.server.fcgi_base.InputStream object at 0x2d29f06c>
HTTP_HOST    '192.168.0.123'
wsgi.multithread    True
HTTP_CONTENT_TYPE    'application/x-www-form-urlencoded'
REQUEST_URI    '/storage/volumemanager/'
HTTP_ACCEPT    '*/*'
wsgi.version    (1, 0)
GATEWAY_INTERFACE    'CGI/1.1'
wsgi.run_once    False
wsgi.errors    <flup.server.fcgi_base.TeeOutputStream object at 0x2d2af7cc>
REMOTE_ADDR    '192.168.0.177'
HTTP_ACCEPT_LANGUAGE    'en-US,en;q=0.8'
CONTENT_TYPE    'application/x-www-form-urlencoded'
CSRF_COOKIE    u'i789MyffRSVN6Rz34R1fgK4jPNRxdbDG'
HTTP_ACCEPT_ENCODING    'gzip,deflate,sdch'


At the same time, I get a message in my console on my NAS that always says something like:

Code:
Feb 28 11:05:01 freenas manage.py: [freeadmin.navtree:235] Failed to generate navtree for app freenasUI.storage: no such column: storage_volume.vol_encrypt


Does anyone have any idea how I could resolve this issue.
I tried the same thing on VMWare, which worked perfectly, so I guess it's something hardware related?

Anyways, all help would be welcome!
Thanks!
Jannes
 

Jannes

Cadet
Joined
Feb 23, 2014
Messages
2
Seems like I fixed it.
I did a factory reset, and everything seems to work fine now...
Weird stuff, but I'm not complaining!
 
Status
Not open for further replies.
Top