<div dir="ltr"><div>I would like to add my geonode.conf file bellow and make a note that my virtualenv directory Envs is the root's home.<br><br>WSGIDaemonProcess geonode python-path=/home/geonode/my_geonode:/root/Envs/geonode/lib/python2.7/site-packages user=www-data threads=15 processes=2<br><br><VirtualHost *:80><br>    ServerName <a href="http://localhost">http://localhost</a><br>    ServerAdmin webmaster@localhost<br>    DocumentRoot /home/geonode/my_geonode/my_geonode<br><br>    LimitRequestFieldSize 32760<br>    LimitRequestLine 32760<br><br>    ErrorLog /var/log/apache2/error.log<br>    LogLevel warn<br>    CustomLog /var/log/apache2/access.log combined<br><br>    WSGIProcessGroup geonode<br>    WSGIPassAuthorization On<br>    WSGIScriptAlias / /home/geonode/my_geonode/my_geonode/wsgi.py<br><br>    Alias /static/ /home/geonode/my_geonode/my_geonode/static_root/<br>    Alias /uploaded/ /home/geonode/my_geonode/my_geonode/uploaded/<br><br>    <Directory "/home/geonode/my_geonode/my_geonode/"><br>         <Files wsgi.py><br>             Order deny,allow<br>             Allow from all<br>             Require all granted<br>         </Files><br><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Directory "/home/geonode/my_geonode/my_geonode/static_root/"><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        Require all granted<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Directory "/home/geonode/my_geonode/my_geonode/uploaded/thumbs/"><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        Require all granted<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Directory "/home/geonode/my_geonode/my_geonode/uploaded/avatars/"><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        Require all granted<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Directory "/home/geonode/my_geonode/my_geonode/uploaded/people_group/"><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        Require all granted<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Directory "/home/geonode/my_geonode/my_geonode/uploaded/group/"><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        Require all granted<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Directory "/home/geonode/my_geonode/my_geonode/uploaded/documents/"><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        Require all granted<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Directory "/home/geonode/my_geonode/my_geonode/uploaded/layers/"><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        Require all granted<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Proxy *><br>        Order allow,deny<br>        Allow from all<br>    </Proxy><br><br>    ProxyPreserveHost On<br>    ProxyPass /geoserver <a href="http://127.0.0.1:8080/geoserver">http://127.0.0.1:8080/geoserver</a><br>    ProxyPassReverse /geoserver <a href="http://127.0.0.1:8080/geoserver">http://127.0.0.1:8080/geoserver</a><br><br></VirtualHost><br><br></div><div>Thank you very much for your time<br><br></div><div>Julierme<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-09 14:03 GMT-03:00 Julierme Pinheiro <span dir="ltr"><<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>HI Geonode developers !!!<br><br></div>After following geonode installation <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/" target="_blank">guide</a> on an Ubuntu 16.04 VM, I got the following error message in the browser as a response for <a href="http://localhost" target="_blank">http://localhost</a><br><br><h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
 webmaster@localhost to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at localhost Port 80</address><br></div>Geoserver <b>2.12-SNAPSHOT</b> is running like a charm, but my Geonode does not start up. Find bellow apache2 error,log:<br><br><br>[Wed May 09 12:36:14.268403 2018] [wsgi:warn] [pid 1391:tid 140437432260480] mod_wsgi: Compiled for Python/<a href="http://2.7.11." target="_blank">2.7.11.</a><br>[Wed May 09 12:36:14.268425 2018] [wsgi:warn] [pid 1391:tid 140437432260480] mod_wsgi: Runtime using Python/<a href="http://2.7.12." target="_blank">2.7.12.</a><br>[Wed May 09 12:36:14.271376 2018] [mpm_event:notice] [pid 1391:tid 140437432260480] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations<br>[Wed May 09 12:36:14.271409 2018] [core:notice] [pid 1391:tid 140437432260480] AH00094: Command line: '/usr/sbin/apache2'<br>[Wed May 09 13:34:03.434306 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>] mod_wsgi (pid=2091): Target WSGI script '/home/geonode/my_geonode/my_<wbr>geonode/wsgi.py' cannot be loaded as Python module.<br>[Wed May 09 13:34:03.434374 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>] mod_wsgi (pid=2091): Exception occurred processing WSGI script '/home/geonode/my_geonode/my_<wbr>geonode/wsgi.py'.<br>[Wed May 09 13:34:03.434427 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>] Traceback (most recent call last):<br>[Wed May 09 13:34:03.434461 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/home/geonode/my_geonode/my_<wbr>geonode/wsgi.py", line 44, in <module><br>[Wed May 09 13:34:03.434593 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     application = get_wsgi_application()<br>[Wed May 09 13:34:03.434616 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/core/<wbr>wsgi.py", line 14, in get_wsgi_application<br>[Wed May 09 13:34:03.435240 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     django.setup()<br>[Wed May 09 13:34:03.435269 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/__init__.<wbr>py", line 17, in setup<br>[Wed May 09 13:34:03.441804 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     configure_logging(settings.<wbr>LOGGING_CONFIG, settings.LOGGING)<br>[Wed May 09 13:34:03.441843 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 48, in __getattr__<br>[Wed May 09 13:34:03.442576 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     self._setup(name)<br>[Wed May 09 13:34:03.442599 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 44, in _setup<br>[Wed May 09 13:34:03.442635 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     self._wrapped = Settings(settings_module)<br>[Wed May 09 13:34:03.442653 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 92, in __init__<br>[Wed May 09 13:34:03.442682 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)<br>[Wed May 09 13:34:03.442707 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module<br>[Wed May 09 13:34:03.443265 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     __import__(name)<br>[Wed May 09 13:34:03.443311 2018] [wsgi:error] [pid 2091:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>] ImportError: No module named my_geonode.settings<br>[Wed May 09 13:34:05.395421 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>] mod_wsgi (pid=2092): Target WSGI script '/home/geonode/my_geonode/my_<wbr>geonode/wsgi.py' cannot be loaded as Python module.<br>[Wed May 09 13:34:05.395485 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>] mod_wsgi (pid=2092): Exception occurred processing WSGI script '/home/geonode/my_geonode/my_<wbr>geonode/wsgi.py'.<br>[Wed May 09 13:34:05.395536 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>] Traceback (most recent call last):<br>[Wed May 09 13:34:05.395587 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/home/geonode/my_geonode/my_<wbr>geonode/wsgi.py", line 44, in <module><br>[Wed May 09 13:34:05.395720 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     application = get_wsgi_application()<br>[Wed May 09 13:34:05.395742 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/core/<wbr>wsgi.py", line 14, in get_wsgi_application<br>[Wed May 09 13:34:05.395814 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     django.setup()<br>[Wed May 09 13:34:05.395839 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/__init__.<wbr>py", line 17, in setup<br>[Wed May 09 13:34:05.395909 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     configure_logging(settings.<wbr>LOGGING_CONFIG, settings.LOGGING)<br>[Wed May 09 13:34:05.395935 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 48, in __getattr__<br>[Wed May 09 13:34:05.396047 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     self._setup(name)<br>[Wed May 09 13:34:05.396068 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 44, in _setup<br>[Wed May 09 13:34:05.396099 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     self._wrapped = Settings(settings_module)<br>[Wed May 09 13:34:05.396117 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/local/lib/python2.7/<wbr>dist-packages/django/conf/__<wbr>init__.py", line 92, in __init__<br>[Wed May 09 13:34:05.396144 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     mod = importlib.import_module(self.<wbr>SETTINGS_MODULE)<br>[Wed May 09 13:34:05.396168 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]   File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module<br>[Wed May 09 13:34:05.396243 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>]     __import__(name)<br>[Wed May 09 13:34:05.396281 2018] [wsgi:error] [pid 2092:tid 140437323732736] [remote <a href="http://127.0.0.1:18709" target="_blank">127.0.0.1:18709</a>] ImportError: No module named my_geonode.settings<br><br></div>This issue was discussed <a href="https://lists.osgeo.org/pipermail/geonode-devel/2015-September/000361.html" target="_blank">here</a> but the solutions did not help me. Does anyone has faced the same problem? And could help me to figure out how to fix it?<br><br><br></div>Thank you for your time in advance<br><br></div>Kind regards<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Julierme<br></font></span></div>
</blockquote></div><br></div>