Freenas 8 wont boot on django error

Status
Not open for further replies.

dkou

Cadet
Joined
Mar 3, 2012
Messages
4
Hi,

just tryed to boot my freenas rig but I keep getting the following message in a 30'' interval loop and it wont get pass that...

.....
from django.utils.version import get_svn_revision
ImportError: No module named utils.version
...

out of the blue. How do I get pass that ?
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
It would help if you would provide MORE details, such as your hardware and EXACT version of FreeNAS, such as 8.03 x64, or 8.04 x86.
 
G

gcooper

Guest
Hi,

just tryed to boot my freenas rig but I keep getting the following message in a 30'' interval loop and it wont get pass that...

.....
from django.utils.version import get_svn_revision
ImportError: No module named utils.version
...

out of the blue. How do I get pass that ?

Seems like a corrupted install. I would reinstall it and see if things work, but in general, more details like architecture, version/revision of FreeNAS, details about how you got to the failure point noted, etc will help out a lot.
 

dkou

Cadet
Joined
Mar 3, 2012
Messages
4
It would help if you would provide MORE details, such as your hardware and EXACT version of FreeNAS, such as 8.03 x64, or 8.04 x86.

right, sorry. Its a freenas x86 8.xx... NOT the latest .04 stable (I was going to update actually), running on a usb stick, on an intel 486 with 4 gb ram.

It was running OK a couple of days ago. Today i switched it on and I couldnt find my windows shares so I pluged a monitor in and watched the boot procedure. It boots ok until it reaches that point and goes on a loop with the following....

---

FreeBSD/amd64 (taurus.local) (ttyv0)

Traceback (most recent call last):
File "/etc/netcli", line 47, in <module>
from django.db import models
File "/usr/local/lib/python2.7/site-packages/django/db/__init__.py", line 1, in <module>
from django.conf import settings
File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 13, in <module>
from django.conf import global_settings
File "/usr/local/lib/python2.7/site-packages/django/conf/global_settings.py", line 387, in <module>
URL_VALIDATOR_USER_AGENT = "Django/%s (http://www.djangoproject.com)" % get_version()
File "/usr/local/lib/python2.7/site-packages/django/__init__.py", line 12, in get_version
from django.utils.version import get_svn_revision
ImportError: No module named utils.version

---

I would very much appreciate if you would help me...
 

dkou

Cadet
Joined
Mar 3, 2012
Messages
4
What if i cant fix that and have to reinstall 8.04 on the usb stick ? Will I loose my data on the 4 drives in raid 5 on the previous configuration ?

What is the procedure and steps to install freenas 8.04 on the usb and recover the raid in order to get my data back ?
 

zyo

Dabbler
Joined
Oct 8, 2011
Messages
30
you shouldnt lose any data as long as the harddrive is not physically damaged

Just do a clean install on the usb stick and auto import the volumes.
 

survive

Behold the Wumpus
Moderator
Joined
May 28, 2011
Messages
875
Hi dkou,

If you haven't updated and are feeling particularly plucky, when the filer boots you should see a quick "F1, F2" menu right after the bios loads. You could try selecting F2 to boot the "other" partition and see if it comes up.

On a side note: I think it would be handy to have an option to "sync" the partitions in the GUI....that way after a successful upgrade you could bring the "other" partition up to date so you don't run into a problem with a newer config file format if you find youself with a corrupt install.

-Will
 

dkou

Cadet
Joined
Mar 3, 2012
Messages
4
SOLVED... kinda

Booted the latest 8.04 .iso in vmware and did a usb flash update. Fortunately all worked smoothly and when booted my nas rig from the flash did a db update and complete boot sequence succesfully. 8.04 now, with configuration and data intact. All 4 drives where on a zfs pool actually so I would have been lucky with the auto import feature as well I guess.

Thanks for replying to this thread.

Cheers,

DK
 
G

gcooper

Guest
Hi dkou,

...

On a side note: I think it would be handy to have an option to "sync" the partitions in the GUI....that way after a successful upgrade you could bring the "other" partition up to date so you don't run into a problem with a newer config file format if you find youself with a corrupt install.

southdb downgrading needs to be implemented properly. That's what really should be done.
 

survive

Behold the Wumpus
Moderator
Joined
May 28, 2011
Messages
875
Hi gcooper,

Yes, sort of "last known good" config would be a great to have as well. My suggestion is borrowed straight out of the pfsense nanobsd menu which has an option to do as I described.

-Will
 
G

gcooper

Guest
Yes, sort of "last known good" config would be a great to have as well. My suggestion is borrowed straight out of the pfsense nanobsd menu which has an option to do as I described.

Sounds good -- I've added the info to the ticket I mentioned before.
 
Status
Not open for further replies.
Top