SOLVED [HELP] FreeNAS Web UI Not Working

Status
Not open for further replies.

winda

Cadet
Joined
Feb 23, 2017
Messages
5
I have FreeNAS 9 on FreeBSD 10.3-STABLE (FreeNAS.amd64) #0 r295946+1805185(9.10.2-STABLE)

Recently I added jmbg repository and pcbsd-major repository.
After that, I did an update & upgrade (pkg upgrade).
But the upgrade process didn't go well
So, when I accessed the Web UI, it's appeared something like this :

Code:
TemplateDoesNotExist at /
freeadmin/index.html
Request Method: GET
Request URL: http://192.168.133.2/
Django Version: 1.6.11
Exception Type: TemplateDoesNotExist
Exception Value:
freeadmin/index.html
Exception Location: /usr/local/lib/python2.7/site-packages/django/template/loader.py in find_template, line 131 
Python Executable: /usr/local/bin/python
Python Version: 2.7.12
Python Path:
['/usr/local/www/freenasUI',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-freebsd10',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages',
'/usr/local/www/freenasUI/..',
'/usr/local/lib',
'/usr/local/www',
'/usr/local/www/freenasUI',
'/usr/local/www']



Code:
Django tried loading these templates, in this order:
Using loader django.template.loaders.filesystem.Loader:
/usr/local/www/freenasUI/templates/freeadmin/index.html (File does not exist)
Using loader django.template.loaders.app_directories.Loader:
/usr/local/lib/python2.7/site-packages/django/contrib/auth/templates/freeadmin/index.html (File does not exist)
/usr/local/lib/python2.7/site-packages/dojango/templates/freeadmin/index.html (File does not exist)



2j61lig.jpg
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
So you were messing around with the base system? That's not going to work. Grab the config file via SSH, if it's not already backed up, reinstall FreeNAS and don't mess around with the base system. Use jails or VMs for other things.
 

winda

Cadet
Joined
Feb 23, 2017
Messages
5
So you were messing around with the base system? That's not going to work. Grab the config file via SSH, if it's not already backed up, reinstall FreeNAS and don't mess around with the base system. Use jails or VMs for other things.
Reinstall? I thought so, but I afraid about lossing the data.
By the way, where is the config file? Do you know the path/location? And how to backup?

I'm not familiar with FreeBSD
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977

winda

Cadet
Joined
Feb 23, 2017
Messages
5
Anyone have tutorial how to reinstall Freenas without losing any data by use usb flashdrive?
 
Status
Not open for further replies.
Top