Hi, I successfully installed Arches 4.1 on an Amazon AWS EC2 instance running the latest Ubuntu 16.04.4. >From a core arches development environment I installed a project called wessex.
My directory structure is: /home/Ubuntu/Projects /arches /ENV /wessex Everything's working fine when running on port 8000. Yet I can not get apache to serve the website. To setup and configure apache I followed the instructions on https://github.com/archesproject/arches/wiki/Basic-Production-Configuration. Static files are collected into /home/ubuntu/Projects/wessex/wessex/static/ My default virtual host file /etc/apache2/sites-available/000-default.conf looks like: <VirtualHost *:80> WSGIDaemonProcess wessex python-path=/home/ubuntu/Projects/wessex/wessex:/home/ubuntu/Projects/ENV/lib/python2.7/site-packages WSGIScriptAlias / /home/ubuntu/Projects/arches/arches/wsgi.py process-group=wessex <Directory /home/ubuntu/Projects/wessex> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> Alias /static/ /home/ubuntu/Projects/wessex/wessex/static/ <Directory /home/ubuntu/Projects/wessex/wessex/static> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> When hitting the server without port 8000 I get a 500. Apache error log: mod_wsgi (pid=2055): Target WSGI script '/home/ubuntu/Projects/wessex/wessex/wsgi.py' cannot be loaded as Python module. mod_wsgi (pid=2055): Exception occurred processing WSGI script '/home/ubuntu/Projects/wessex/wessex/wsgi.py'. Traceback (most recent call last): File "/home/ubuntu/Projects/wessex/wessex/wsgi.py", line 33, in <module> application = get_wsgi_application() File "/home/ubuntu/Projects/ENV/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application django.setup(set_prefix=False) File "/home/ubuntu/Projects/ENV/lib/python2.7/site-packages/django/__init__.py", line 22, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/home/ubuntu/Projects/ENV/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ self._setup(name) File "/home/ubuntu/Projects/ENV/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/home/ubuntu/Projects/ENV/lib/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named wessex.settings Any idea, why the script cannot be loaded as Python module or rather why wessex.settings can not be found? Jens -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
