webgui crashes

Status
Not open for further replies.

nobody

Cadet
Joined
Oct 8, 2011
Messages
5
Hello.

For some reason web gui after a while from boot crashed. No matter if I reboot the lighthttpd service and though syntax check returns ok

still I get 500 internal server error.

The log from lighthttpd error log are pasted below.
I should mentioned that I never altered anything inside the configuration files. So it is definately not something I messed up.

Version of my freenas is 8.0.1 stable.

Thanks !


2011-10-08 07:36:03: (log.c.166) server started
2011-10-08 20:36:34: (mod_fastcgi.c.1732) connect failed: Connection refused on unix:/tmp/django.sock
2011-10-08 20:36:34: (mod_fastcgi.c.3025) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
2011-10-08 20:36:36: (mod_fastcgi.c.3595) all handlers for /mysite.fcgi/? on /mysite.fcgi are down.
2011-10-08 20:36:36: (mod_fastcgi.c.2852) fcgi-server re-enabled: unix:/tmp/django.sock
2011-10-08 20:36:39: (mod_fastcgi.c.1732) connect failed: Connection refused on unix:/tmp/django.sock
2011-10-08 20:36:39: (mod_fastcgi.c.3025) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
2011-10-08 20:36:41: (mod_fastcgi.c.3595) all handlers for /mysite.fcgi/? on /mysite.fcgi are down.
2011-10-08 20:36:41: (mod_fastcgi.c.2852) fcgi-server re-enabled: unix:/tmp/django.sock
 

lb5je

Cadet
Joined
Oct 21, 2011
Messages
1
My GUI stopped working after upgrading to 8.0.2-RELEASE from 8.0.1-RELEASE. I'm getting this in my browser:
Unhandled Exception

An unhandled exception was thrown by the application.


And this in the lighttpd.error.log:
2011-10-21 17:37:52: (mod_fastcgi.c.2699) FastCGI-stderr: Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/flup-1.0.2-py2.7.egg/flup/server/fcgi_base.py", line 558, in run
protocolStatus, appStatus = self.server.handler(self)
File "/usr/local/lib/python2.7/site-packages/flup-1.0.2-py2.7.egg/flup/server/fcgi_base.py", line 1118, in handler
result = self.application(environ, start_response)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 272, in __call__
response = self.get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 169, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 214, in handle_uncaught_exception
if resolver.urlconf_module is None:
File "/usr/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 274, in _get_urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/local/www/freenasUI/urls.py", line 38, in <module>
navtree.auto_generate()
File "/usr/local/www/freenasUI/freeadmin/navtree.py", line 315, in auto_generate
subopt.name = _(u'Add %s') % model._meta.verbose_name
File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py", line 227, in __mod__
return unicode(self) % rhs
ValueError: incomplete format
 
G

gcooper

Guest
It's a d[o]jango bug that's not caught by the Javascript bits (and/or a bug in django itself) that's causing the issue. William can help triage the problem, maybe.. but it would be nice to get more details via freenas-debug output posted somewhere via a pastebin.
 

jakal

Cadet
Joined
Jan 14, 2012
Messages
8
I recently upgraded from an 8.2-r8722-amd64 trunk build to 8.0.3-release-p1-x64
no errors seen while upgrade was applied

after the reboot the webgui shows an
Unhandled Exception
An unhandled exception was thrown by the application.

the lighttpd.error.log shows
2012-02-24 22:09:17: (mod_fastcgi.c.2699) FastCGI-stderr: Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/flup-1.0.2-py2.7.egg/flup/server/fcgi_base.py", line 558, in run
protocolStatus, appStatus = self.server.handler(self)
File "/usr/local/lib/python2.7/site-packages/flup-1.0.2-py2.7.egg/flup/server/fcgi_base.py", line 1118, in handler
result = self.application(environ, start_response)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 272, in __call__
response = self.get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 169, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 214, in handle_uncaught_exception
if resolver.urlconf_module is None:
File "/usr/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 274, in _get_urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/local/www/freenasUI/urls.py", line 38, in <module>
navtree.auto_generate()
File "/usr/local/www/freenasUI/freeadmin/navtree.py", line 233, in auto_generate
obj = navc()
File "/usr/local/www/freenasUI/storage/nav.py", line 124, in __init__
for i in mp:
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 107, in _result_iter
self._fill_cache()
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 772, in _fill_cache
self._result_cache.append(self._iter.next())
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 234, in execute
return Database.Cursor.execute(self, query, params)
DatabaseError: no such column: storage_mountpoint.mp_ischild

Any suggestions how to get rid of this situation?

Edit:

while showing the process several times an error occured:
Error: no such column: cifs_srv_zeroconf
maybe it helps to isolate the problem
 
G

gcooper

Guest
I recently upgraded from an 8.2-r8722-amd64 trunk build to 8.0.3-release-p1-x64

Unfortunately the only way to fix this is to reset your configuration, reimport your volumes, and reconfigure everything from scratch. Downgrading versions is not permitted; the code that needs to be present to enforce that requirement is missing, so for now it's just release noted in the errata section.
 
Status
Not open for further replies.
Top