Reading package lists... Done
Building dependency tree
Reading state information... Done
memcached is already the newest version.
python-memcache is already the newest version.
apache2 is already the newest version.
libapache2-mod-wsgi is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded
Traceback (most recent call last):
File "manage.py", line 23, in
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 261, in fetch_command
commands = get_commands()
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 107, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/dist-packages/django/conf/init.py", line 54, in getattr
self._setup(name)
File "/usr/lib/python2.7/dist-packages/django/conf/init.py", line 49, in _setup
self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/dist-packages/django/conf/init.py", line 132, in init
% (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named xstatic.main
Ubuntu Server 14.04.3
sudo apt-get install apache2 libapache2-mod-wsgi memcached python-memcache
Reading package lists... Done Building dependency tree Reading state information... Done memcached is already the newest version. python-memcache is already the newest version. apache2 is already the newest version. libapache2-mod-wsgi is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded
pwd
/opt/avos/openstack_dashboard/local
ls -al
total 52 drwxr-xr-x 3 root root 4096 Sep 14 15:23 . drwxr-xr-x 18 root root 4096 Sep 14 15:17 .. drwxr-xr-x 2 root root 4096 Sep 14 15:13 enabled -rw-r--r-- 1 root root 0 Sep 14 15:13 init.py -rw-r--r-- 1 root root 18053 Sep 14 15:15 local_settings.py -rw-r--r-- 1 root root 18050 Sep 14 15:13 local_settings.py.example
ERROR WHILE TRYING TO INSTALL:
pwd
/opt/avos
python manage.py runserver 172.30.8.128:70
Traceback (most recent call last): File "manage.py", line 23, in
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 261, in fetch_command
commands = get_commands()
File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 107, in get_commands
apps = settings.INSTALLED_APPS
File "/usr/lib/python2.7/dist-packages/django/conf/init.py", line 54, in getattr
self._setup(name)
File "/usr/lib/python2.7/dist-packages/django/conf/init.py", line 49, in _setup
self._wrapped = Settings(settings_module)
File "/usr/lib/python2.7/dist-packages/django/conf/init.py", line 132, in init
% (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named xstatic.main