Installing Freenas

Status
Not open for further replies.
Joined
Jul 1, 2013
Messages
6
I wonder if someone can help me with the following problem. After installing either version 8.3.1 or 8.3.1 p2 via extracting the .img file to a usb pen drive and try to access the web GUI I receive the following result.

Request Method: GET
Request URL: http://192.168.1.127/
Software Version: FreeNAS-8.3.1-RELEASE-x86 (r13452)
Exception Type: SuspiciousOperation
Exception Value:
Invalid characters in session key
Exception Location: /usr/local/lib/python2.7/site-packages/django/contrib/sessions/backends/file.py in _key_to_file, line 43
Server time: Mon, 1 Jul 2013 14:09:40 -0700

TRACEBACK
Environment:
Software Version: FreeNAS-8.3.1-RELEASE-x86 (r13452)
Request Method: GET
Request URL: http://192.168.1.127/
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
105. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view
147. if not request.user.is_authenticated():
File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py" in inner
184. self._setup()
File "/usr/local/lib/python2.7/site-packages/django/utils/functional.py" in _setup
248. self._wrapped = self._setupfunc()
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/middleware.py" in <lambda>
16. request.user = SimpleLazyObject(lambda: get_user(request))
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/middleware.py" in get_user
8. request._cached_user = auth.get_user(request)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/__init__.py" in get_user
98. user_id = request.session[SESSION_KEY]
File "/usr/local/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py" in __getitem__
39. return self._session[key]
File "/usr/local/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py" in _get_session
165. self._session_cache = self.load()
File "/usr/local/lib/python2.7/site-packages/django/contrib/sessions/backends/file.py" in load
50. session_file = open(self._key_to_file(), "rb")
File "/usr/local/lib/python2.7/site-packages/django/contrib/sessions/backends/file.py" in _key_to_file
43. "Invalid characters in session key")
Exception Type: SuspiciousOperation at /
Exception Value: Invalid characters in session key

Request information

GET

No GET data
POST

No POST data
FILES

No FILES data
COOKIES

VariableValue
csrftoken '4txmo4BXrifPkqquPQ7exaXDmieB8jsL'
sessionid 'lb2a03rz91e0hf6tpbvn9b1ck595zpj6'
fntreeSaveSelectedCookie 'root%2F142'
fntreeSaveStateCookie 'root'

META

VariableValue
wsgi.multiprocess False
HTTP_COOKIE 'sessionid=lb2a03rz91e0hf6tpbvn9b1ck595zpj6; fntreeSaveSelectedCookie=root%2F142; csrftoken=4txmo4BXrifPkqquPQ7exaXDmieB8jsL; fntreeSaveStateCookie=root'
REDIRECT_STATUS '200'
SERVER_SOFTWARE 'nginx/1.2.2'
SCRIPT_NAME u''
REQUEST_METHOD 'GET'
PATH_INFO u'/'
SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING ''
CONTENT_LENGTH ''
HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1'
HTTP_CONNECTION 'keep-alive'
SERVER_NAME 'localhost'
REMOTE_PORT '49230'
wsgi.url_scheme 'http'
SERVER_PORT '80'
SERVER_ADDR '192.168.1.127'
DOCUMENT_ROOT '/usr/local/etc/nginx/html'
DOCUMENT_URI '/'
wsgi.input <flup.server.fcgi_base.InputStream object at 0x29872e0c>
HTTP_HOST '192.168.1.127'
wsgi.multithread True
REQUEST_URI '/'
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 0x2987a0ec>
REMOTE_ADDR '192.168.1.141'
HTTP_ACCEPT_LANGUAGE 'en-us'
CONTENT_TYPE ''
CSRF_COOKIE '4txmo4BXrifPkqquPQ7exaXDmieB8jsL'
HTTP_ACCEPT_ENCODING
'gzip, deflate'



Thank's to any help I may receive.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
The problem is that you were using FreeNAS 9.x and downgrade to 8.x.

You need to clear your browser cache.
 
Joined
Jul 1, 2013
Messages
6
Hi William,

Thank you very much for your concern.
I thought that the caches on the browser could be the problem so I reseted Safari on 2 computers from my lan. After you mentioned it I did it again, also uninstalled safari and reinstalled (crazy) but still have the same problem. When I try on ie10 I´m able to view the GUI but I know there is a bug that doesn´t allow you to make changes or see expanded the left column with choices, and that is what´s happening. I need to be able to enter the GUI with Safari. Any thoughts?
Once again thank you for your help.
Regards

Adrian.
 
Joined
Jul 1, 2013
Messages
6
William,

I installed Firefox and now able to work on the web gui, but if you have any ideas on a workaround for Safari I´ll appreciate it very much.
Regards,

Adrian
 

strawdog74

Dabbler
Joined
May 23, 2012
Messages
42
Hi Adrian,

I had this exact problem after reverting back to 8.3.1 from 9.1.1 - even clearing the cache in Firefox didn't sort the problem.

To fix it, you need to run CCleaner and then restart Firefox - it should load up now without any problems.

Hope this helps
 
Status
Not open for further replies.
Top