Installing FreeNAS 9.1.1 - 8.3 works OK, don't get this error.
Have replaced USB drive, etc. Hardware is all on approved list - Supermicro X9, intel xeon 1230v2, 32GB memory, 6x4TB Seagate NAS drives
I am creating a new ZFS volume with encryption and "Safe initialization" and this error after that process has been initiated and is still in progress. I wonder if this is because I can log into the WebGUI again (different browser session) and FreeNas is still dealing with the initialization request.
The original "creating volume" progress bar doesn't close on its own and if I close the progress bar dialog, the initialization isn't cancelled based on 'dd' instances still running in the background.
Any further interaction with GUI that WRITES to configuration causes this error (e.g. changing settings in "System" dialog to "display console messages in footer):
As an aside, this seems to be a (rare) intermittent error in sqlite based on other forum posts (not freeNAS) and the general feeling is "Oh it must be a hardware error because I can't reproduce it locally" but it seems to happen in a lot of different contexts.
Request Method: POST
Request URL: https://192.168.7.7/admin/system/advanced/edit/1/?inline=true
Software Version: FreeNAS-9.1.1-RELEASE-x64 (a752d35)
Exception Type: DatabaseError
Exception Value:
database is locked
Exception Location: /usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 362
Server time: Sun, 13 Oct 2013 11:50:24 -0400
Traceback
Environment: Software Version: FreeNAS-9.1.1-RELEASE-x64 (a752d35) Request Method: POST Request URL: https://192.168.7.7/admin/system/advanced/edit/1/?inline=true 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/freeadmin/options.py" in wrapper 158. return self._admin.admin_view(view)(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view 91. response = view_func(request, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func 89. response = view_func(request, *args, **kwargs) File "/usr/local/www/freenasUI/../freenasUI/freeadmin/site.py" in inner 140. return view(request, *args, **kwargs) File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in edit 446. mf.save() File "/usr/local/www/freenasUI/../freenasUI/system/forms.py" in save 316. super(AdvancedForm, self).save() File "/usr/local/lib/python2.7/site-packages/django/forms/models.py" in save 370. fail_message, commit, construct=False) File "/usr/local/lib/python2.7/site-packages/django/forms/models.py" in save_instance 87. instance.save() File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py" in save 546. force_update=force_update, update_fields=update_fields) File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py" in save_base 626. rows = manager.using(using).filter(pk=pk_val)._update(values) File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in _update 591. return query.get_compiler(self.db).execute_sql(None) File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql 1014. cursor = super(SQLUpdateCompiler, self).execute_sql(result_type) 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 /admin/system/advanced/edit/1/ Exception Value: database is locked
Request information
GET
VariableValue
inline u'true'
POST
VariableValue
__form_id u'dijit_form_Form_1'
__all__ u''
adv_consolescreensaver u'on'
adv_consolemsg u'on'
adv_serialspeed u'9600'
adv_autotune u'on'
adv_powerdaemon u'on'
adv_swapondrive u'2'
adv_motd u'Welcome to FreeNAS'
adv_consolemenu u'on'
adv_traceback u'on'
FILES
No FILES data
COOKIES
VariableValue
csrftoken 'hv1FBip5uHVOF1U9Zo3vF3nM4JIgSrPl'
sessionid 'zayf2ju7wh13h7jhvwpuhqrqejbibzgw'
fntreeSaveStateCookie 'root%2Croot%2F1%2Croot%2F1%2F2%2Croot%2F81'
META
VariableValue
wsgi.multiprocess False
HTTP_REFERER 'https://192.168.7.7/'
REDIRECT_STATUS '200'
SERVER_SOFTWARE 'nginx/1.4.1'
SCRIPT_NAME u''
HTTP_X_CSRFTOKEN 'hv1FBip5uHVOF1U9Zo3vF3nM4JIgSrPl'
REQUEST_METHOD 'POST'
PATH_INFO u'/admin/system/advanced/edit/1/'
SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING 'inline=true'
CONTENT_LENGTH '222'
HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Firefox/23.0'
HTTP_CONNECTION 'keep-alive'
HTTP_COOKIE 'csrftoken=hv1FBip5uHVOF1U9Zo3vF3nM4JIgSrPl; sessionid=zayf2ju7wh13h7jhvwpuhqrqejbibzgw; fntreeSaveStateCookie=root%2Croot%2F1%2Croot%2F1%2F2%2Croot%2F81'
SERVER_NAME 'localhost'
REMOTE_PORT '62936'
wsgi.url_scheme 'https'
SERVER_PORT '443'
SERVER_ADDR '192.168.7.7'
DOCUMENT_ROOT '/usr/local/etc/nginx/html'
HTTP_PRAGMA 'no-cache'
HTTP_CONTENT_LENGTH '222'
HTTP_X_REQUESTED_WITH 'XMLHttpRequest'
DOCUMENT_URI '/admin/system/advanced/edit/1/'
wsgi.input <flup.server.fcgi_base.InputStream object at 0x812438610>
HTTP_DNT '1'
HTTP_HOST '192.168.7.7'
HTTPS 'on'
wsgi.multithread True
HTTP_CACHE_CONTROL 'no-cache'
HTTP_CONTENT_TYPE 'application/x-www-form-urlencoded; charset=UTF-8'
REQUEST_URI '/admin/system/advanced/edit/1/?inline=true'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
wsgi.version (1, 0)
GATEWAY_INTERFACE 'CGI/1.1'
wsgi.run_once False
wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0x812438090>
REMOTE_ADDR '192.168.7.2'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.5'
CONTENT_TYPE 'application/x-www-form-urlencoded; charset=UTF-8'
CSRF_COOKIE u'hv1FBip5uHVOF1U9Zo3vF3nM4JIgSrPl'
HTTP_ACCEPT_ENCODING 'gzip, deflate'
Have replaced USB drive, etc. Hardware is all on approved list - Supermicro X9, intel xeon 1230v2, 32GB memory, 6x4TB Seagate NAS drives
I am creating a new ZFS volume with encryption and "Safe initialization" and this error after that process has been initiated and is still in progress. I wonder if this is because I can log into the WebGUI again (different browser session) and FreeNas is still dealing with the initialization request.
The original "creating volume" progress bar doesn't close on its own and if I close the progress bar dialog, the initialization isn't cancelled based on 'dd' instances still running in the background.
Any further interaction with GUI that WRITES to configuration causes this error (e.g. changing settings in "System" dialog to "display console messages in footer):
As an aside, this seems to be a (rare) intermittent error in sqlite based on other forum posts (not freeNAS) and the general feeling is "Oh it must be a hardware error because I can't reproduce it locally" but it seems to happen in a lot of different contexts.
Request Method: POST
Request URL: https://192.168.7.7/admin/system/advanced/edit/1/?inline=true
Software Version: FreeNAS-9.1.1-RELEASE-x64 (a752d35)
Exception Type: DatabaseError
Exception Value:
database is locked
Exception Location: /usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 362
Server time: Sun, 13 Oct 2013 11:50:24 -0400
Traceback
Environment: Software Version: FreeNAS-9.1.1-RELEASE-x64 (a752d35) Request Method: POST Request URL: https://192.168.7.7/admin/system/advanced/edit/1/?inline=true 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/freeadmin/options.py" in wrapper 158. return self._admin.admin_view(view)(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view 91. response = view_func(request, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func 89. response = view_func(request, *args, **kwargs) File "/usr/local/www/freenasUI/../freenasUI/freeadmin/site.py" in inner 140. return view(request, *args, **kwargs) File "/usr/local/www/freenasUI/../freenasUI/freeadmin/options.py" in edit 446. mf.save() File "/usr/local/www/freenasUI/../freenasUI/system/forms.py" in save 316. super(AdvancedForm, self).save() File "/usr/local/lib/python2.7/site-packages/django/forms/models.py" in save 370. fail_message, commit, construct=False) File "/usr/local/lib/python2.7/site-packages/django/forms/models.py" in save_instance 87. instance.save() File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py" in save 546. force_update=force_update, update_fields=update_fields) File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py" in save_base 626. rows = manager.using(using).filter(pk=pk_val)._update(values) File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py" in _update 591. return query.get_compiler(self.db).execute_sql(None) File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql 1014. cursor = super(SQLUpdateCompiler, self).execute_sql(result_type) 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 /admin/system/advanced/edit/1/ Exception Value: database is locked
Request information
GET
VariableValue
inline u'true'
POST
VariableValue
__form_id u'dijit_form_Form_1'
__all__ u''
adv_consolescreensaver u'on'
adv_consolemsg u'on'
adv_serialspeed u'9600'
adv_autotune u'on'
adv_powerdaemon u'on'
adv_swapondrive u'2'
adv_motd u'Welcome to FreeNAS'
adv_consolemenu u'on'
adv_traceback u'on'
FILES
No FILES data
COOKIES
VariableValue
csrftoken 'hv1FBip5uHVOF1U9Zo3vF3nM4JIgSrPl'
sessionid 'zayf2ju7wh13h7jhvwpuhqrqejbibzgw'
fntreeSaveStateCookie 'root%2Croot%2F1%2Croot%2F1%2F2%2Croot%2F81'
META
VariableValue
wsgi.multiprocess False
HTTP_REFERER 'https://192.168.7.7/'
REDIRECT_STATUS '200'
SERVER_SOFTWARE 'nginx/1.4.1'
SCRIPT_NAME u''
HTTP_X_CSRFTOKEN 'hv1FBip5uHVOF1U9Zo3vF3nM4JIgSrPl'
REQUEST_METHOD 'POST'
PATH_INFO u'/admin/system/advanced/edit/1/'
SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING 'inline=true'
CONTENT_LENGTH '222'
HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Firefox/23.0'
HTTP_CONNECTION 'keep-alive'
HTTP_COOKIE 'csrftoken=hv1FBip5uHVOF1U9Zo3vF3nM4JIgSrPl; sessionid=zayf2ju7wh13h7jhvwpuhqrqejbibzgw; fntreeSaveStateCookie=root%2Croot%2F1%2Croot%2F1%2F2%2Croot%2F81'
SERVER_NAME 'localhost'
REMOTE_PORT '62936'
wsgi.url_scheme 'https'
SERVER_PORT '443'
SERVER_ADDR '192.168.7.7'
DOCUMENT_ROOT '/usr/local/etc/nginx/html'
HTTP_PRAGMA 'no-cache'
HTTP_CONTENT_LENGTH '222'
HTTP_X_REQUESTED_WITH 'XMLHttpRequest'
DOCUMENT_URI '/admin/system/advanced/edit/1/'
wsgi.input <flup.server.fcgi_base.InputStream object at 0x812438610>
HTTP_DNT '1'
HTTP_HOST '192.168.7.7'
HTTPS 'on'
wsgi.multithread True
HTTP_CACHE_CONTROL 'no-cache'
HTTP_CONTENT_TYPE 'application/x-www-form-urlencoded; charset=UTF-8'
REQUEST_URI '/admin/system/advanced/edit/1/?inline=true'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
wsgi.version (1, 0)
GATEWAY_INTERFACE 'CGI/1.1'
wsgi.run_once False
wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0x812438090>
REMOTE_ADDR '192.168.7.2'
HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.5'
CONTENT_TYPE 'application/x-www-form-urlencoded; charset=UTF-8'
CSRF_COOKIE u'hv1FBip5uHVOF1U9Zo3vF3nM4JIgSrPl'
HTTP_ACCEPT_ENCODING 'gzip, deflate'