Update from 9.0 to 11

Status
Not open for further replies.

MariusBr

Cadet
Joined
May 24, 2017
Messages
5
Hi all,

I need your help:

I've installed some time ago ver.9.0 on the following system:
HP Proliant DL350 (2x Xeon 3.0, 10 Gb ram and 6 Hdd). All worked perfectly until 3 days when, having nothing done, I upgraded to the latest version. It's from here started the problems: it does not start in the sense that the display shows only a page with errors and on Traceback:
Code:
Environment:

Software Version: FreeNAS-11.0-RC (ad90a865b)
Request Method: GET
Request URL: http://192.168.0.199/


Traceback:
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py" in execute
  64.				 return self.cursor.execute(sql, params)
File "./freenasUI/freeadmin/sqlite3_ha/base.py" in execute
  429.		 execute = self.locked_retry(Database.Cursor.execute, query, params)
File "./freenasUI/freeadmin/sqlite3_ha/base.py" in locked_retry
  406.				 rv = method(self, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  39.			 response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
  244.			 response = middleware_method(request)
File "./freenasUI/freeadmin/middleware.py" in process_request
  188.				 language = Settings.objects.order_by('-id')[0].stg_language
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in __getitem__
  295.		 return list(qs)[0]
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in __iter__
  256.		 self._fetch_all()
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in _fetch_all
  1087.			 self._result_cache = list(self.iterator())
File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in __iter__
  54.		 results = compiler.execute_sql()
File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py" in execute_sql
  835.			 cursor.execute(sql, params)
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py" in execute
  64.				 return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.6/site-packages/django/db/utils.py" in __exit__
  94.				 six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python3.6/site-packages/django/utils/six.py" in reraise
  685.			 raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/site-packages/django/db/backends/utils.py" in execute
  64.				 return self.cursor.execute(sql, params)
File "./freenasUI/freeadmin/sqlite3_ha/base.py" in execute
  429.		 execute = self.locked_retry(Database.Cursor.execute, query, params)
File "./freenasUI/freeadmin/sqlite3_ha/base.py" in locked_retry
  406.				 rv = method(self, *args, **kwargs)

Exception Type: OperationalError at /
Exception Value: no such column: system_settings.stg_sysloglevel

Please give me an idea how to recover every from the server. If I'm losing everything (family's pictures and videos) I have to find myself a comfortable couch to sleep on for a long time :)

Thank you very much.


Marius
 
Last edited by a moderator:
D

dlavigne

Guest
When you say 9.0, is that the version you were running before the upgrade? If so, the migration script won't work that far back. You have a few options here:

1. reboot into the previous version and from there try upgrading to 9.3. If that works, then upgrade from 9.3 to 11.

2. try installing 9.3 to see if it takes your config. If it does, then upgrade from 9.3. to 11.

3. install 11 and manually recreate your config.
 

MariusBr

Cadet
Joined
May 24, 2017
Messages
5
Hello,
thank you for the quick respond . I have a few questions :

1. How to reboot to into the previous version ?
2. How to install manually other versions?

Thank you for the help.
 
D

dlavigne

Guest
You'll want to read the version of the Guide for the version you updated from (so it is useful to know the exact version you were on before you tried to upgrade): http://doc.freenas.org/.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
There was no FreeNAS 9.0 version. First 9.x was 9.1.0.

Did you backup your configuration before you tried to upgrade?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
How did you do the upgrade? You can't easily upgrade from 9.1 to 9.10. so you had to do lots of work to even get this far. Your best bet at this point is going to just reinstall 9.10.2 to a new usb and reconfigure everyone or try uploading your config file.

Sent from my Nexus 5X using Tapatalk
 
Status
Not open for further replies.
Top