<div dir="ltr">Hello Dimitris,<div><br></div><div>sorry to jump so late into the discussion. I am a bit lost, could I ask you to briefly summarize the steps you followed to install GeoNode? Did you use the custom project or something?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">55054 Massarosa (LU)</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">mob: +39 331 6233686</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"> </span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</span></p></span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2018-05-24 8:51 GMT+02:00 Dimitris Kar <span dir="ltr"><<a href="mailto:dkarakostis@gmail.com" target="_blank">dkarakostis@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>Yes. debug parameter was set to true. I changed that to False (both in local_settings.py and settings.py). I have also checked my apache2 conf file for geonode (/etc/apache2/sites-available/<wbr>geonode.conf). All the directories there point to the www folder (<b>/var/www/geonode/uploaded/</b>). The owner of the www folder is www-data.</div><div>This is how geonode.conf file looks like (generated by the geonode installation):</div><div><br></div><div><pre id="m_-454552732773800154gmail-hterm:copy-to-clipboard-source" style="color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">WSGIDaemonProcess geonode user=www-data threads=15 processes=2
<VirtualHost *:80>
Servername localhost
ServerAdmin webmaster@localhost
DocumentRoot /var/www/geonode
LimitRequestFieldSize 32760
LimitRequestLine 32760
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
WSGIProcessGroup geonode
WSGIPassAuthorization On
WSGIScriptAlias / /var/www/geonode/wsgi/geonode.<wbr>wsgi
<Directory "/var/www/geonode/">
<Files wsgi.py>
Order deny,allow
Allow from all
Require all granted
</Files>
Order allow,deny
Options Indexes FollowSymLinks
Allow from all
IndexOptions FancyIndexing
</Directory>
Alias /static/ /var/www/geonode/static/
Alias /uploaded/ /var/www/geonode/uploaded/
Alias /robots.txt /var/www/geonode/robots.txt
<Directory "/var/www/geonode/uploaded/<wbr>documents/">
Order allow,deny
Options Indexes FollowSymLinks
Allow from all
Require all granted
IndexOptions FancyIndexing
</Directory><br><br><pre id="m_-454552732773800154gmail-hterm:copy-to-clipboard-source" style="color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"> <Directory "/var/www/geonode/uploaded/<wbr>layers/">
Order allow,deny
Options Indexes FollowSymLinks
Allow from all
Require all granted
IndexOptions FancyIndexing
</Directory>
<Directory "/var/www/geonode/static_root/<wbr>">
Order allow,deny
Options Indexes FollowSymLinks
Allow from all
Require all granted
IndexOptions FancyIndexing
</Directory>
<Directory "/var/www/geonode/uploaded/<wbr>thumbs/">
Order allow,deny
Options Indexes FollowSymLinks
Allow from all
Require all granted
IndexOptions FancyIndexing
</Directory>
<Directory "/var/www/geonode/uploaded/<wbr>avatars/">
Order allow,deny
Options Indexes FollowSymLinks
Allow from all
Require all granted
IndexOptions FancyIndexing
</Directory>
<Directory "/var/www/geonode/uploaded/<wbr>people_group/">
Order allow,deny
Options Indexes FollowSymLinks
Allow from all
Require all granted
IndexOptions FancyIndexing
</Directory>
<Directory "/var/www/geonode/uploaded/<wbr>group/">
Order allow,deny
Options Indexes FollowSymLinks
Allow from all
Require all granted
IndexOptions FancyIndexing
</Directory><br><pre id="m_-454552732773800154gmail-hterm:copy-to-clipboard-source" style="color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"> <Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyPass /geoserver <a href="http://localhost:8080/geoserver" target="_blank">http://localhost:8080/<wbr>geoserver</a>
ProxyPassReverse /geoserver <a href="http://localhost:8080/geoserver" target="_blank">http://localhost:8080/<wbr>geoserver</a>
</VirtualHost></pre><br></pre><br></pre><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 22, 2018 at 8:58 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hm do you have debug set to true? This could be one reason but also looks like the Apache rules for the static folders aren’t correctly set as well. Check also that one. Django is trying to deal with your css rather than Apache but in production it shouldn’t be. </div></div><div class="m_-454552732773800154HOEnZb"><div class="m_-454552732773800154h5"><div><br><div class="gmail_quote"><div>Il giorno mar 22 mag 2018 alle 18:17 Dimitris Kar <<a href="mailto:dkarakostis@gmail.com" target="_blank">dkarakostis@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Ciao Simone, <div>When I try to access one of these links it actually reloads the home page. I would expect to show some css code but instead in redirects to the homepage.</div><div>Regarding the apache.log file these are the errors on page load. </div><div><br></div><div><div>[Tue May 22 11:05:53.044719 2018] [wsgi:error] [pid 22852:tid 139708141008640] Traceback (most recent call last):</div><div>[Tue May 22 11:05:53.044723 2018] [wsgi:error] [pid 22852:tid 139708141008640] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:05:53.044727 2018] [wsgi:error] [pid 22852:tid 139708141008640] response = middleware_method(request)</div><div>[Tue May 22 11:05:53.044730 2018] [wsgi:error] [pid 22852:tid 139708141008640] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:05:53.044734 2018] [wsgi:error] [pid 22852:tid 139708141008640] host = request.get_host()</div><div>[Tue May 22 11:05:53.044737 2018] [wsgi:error] [pid 22852:tid 139708141008640] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:05:53.044741 2018] [wsgi:error] [pid 22852:tid 139708141008640] if domain and validate_host(domain, allowed_hosts):</div><div>[Tue May 22 11:05:53.044744 2018] [wsgi:error] [pid 22852:tid 139708141008640] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:05:53.044759 2018] [wsgi:error] [pid 22852:tid 139708141008640] pattern = pattern.lower()</div><div>[Tue May 22 11:05:53.044762 2018] [wsgi:error] [pid 22852:tid 139708141008640] AttributeError: 'NoneType' object has no attribute 'lower'</div><div>[Tue May 22 11:06:14.450424 2018] [wsgi:error] [pid 22853:tid 139708250121984] Internal Server Error: /lib/css/assets.min.css</div><div>[Tue May 22 11:06:14.450684 2018] [wsgi:error] [pid 22853:tid 139708250121984] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.450747 2018] [wsgi:error] [pid 22853:tid 139708250121984] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:06:14.450796 2018] [wsgi:error] [pid 22853:tid 139708250121984] response = middleware_method(request)</div><div>[Tue May 22 11:06:14.450847 2018] [wsgi:error] [pid 22853:tid 139708250121984] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.450893 2018] [wsgi:error] [pid 22853:tid 139708250121984] host = request.get_host()</div><div>[Tue May 22 11:06:14.450948 2018] [wsgi:error] [pid 22853:tid 139708250121984] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.450998 2018] [wsgi:error] [pid 22853:tid 139708250121984] if domain and validate_host(domain, allowed_hosts):</div><div>[Tue May 22 11:06:14.451044 2018] [wsgi:error] [pid 22853:tid 139708250121984] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.451104 2018] [wsgi:error] [pid 22853:tid 139708250121984] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.451150 2018] [wsgi:error] [pid 22853:tid 139708250121984] AttributeError: 'NoneType' object has no attribute 'lower'</div><div>[Tue May 22 11:06:14.547263 2018] [wsgi:error] [pid 22852:tid 139708149409536] Internal Server Error: /lib/css/lib/css/assets.min.cs<wbr>s</div><div>[Tue May 22 11:06:14.547468 2018] [wsgi:error] [pid 22852:tid 139708149409536] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.547529 2018] [wsgi:error] [pid 22852:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:06:14.547609 2018] [wsgi:error] [pid 22852:tid 139708149409536] response = middleware_method(request)</div><div>[Tue May 22 11:06:14.547661 2018] [wsgi:error] [pid 22852:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.547704 2018] [wsgi:error] [pid 22852:tid 139708149409536] host = request.get_host()</div><div>[Tue May 22 11:06:14.547766 2018] [wsgi:error] [pid 22852:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.547812 2018] [wsgi:error] [pid 22852:tid 139708149409536] if domain and validate_host(domain, allowed_hosts):</div><div>[Tue May 22 11:06:14.547872 2018] [wsgi:error] [pid 22852:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.547920 2018] [wsgi:error] [pid 22852:tid 139708149409536] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.547966 2018] [wsgi:error] [pid 22852:tid 139708149409536] AttributeError: 'NoneType' object has no attribute 'lower'</div><div>[Tue May 22 11:06:14.551263 2018] [wsgi:error] [pid 22853:tid 139708149409536] Internal Server Error: /lib/css/geonode/css/ux-all.cs<wbr>s</div><div>[Tue May 22 11:06:14.551382 2018] [wsgi:error] [pid 22853:tid 139708149409536] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.551450 2018] [wsgi:error] [pid 22853:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:06:14.551501 2018] [wsgi:error] [pid 22853:tid 139708149409536] response = middleware_method(request)</div><div>[Tue May 22 11:06:14.551552 2018] [wsgi:error] [pid 22853:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.551610 2018] [wsgi:error] [pid 22853:tid 139708149409536] host = request.get_host()</div><div>[Tue May 22 11:06:14.551657 2018] [wsgi:error] [pid 22853:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.551700 2018] [wsgi:error] [pid 22853:tid 139708149409536] if domain and validate_host(domain, allowed_hosts):</div><div>[Tue May 22 11:06:14.551745 2018] [wsgi:error] [pid 22853:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.551800 2018] [wsgi:error] [pid 22853:tid 139708149409536] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.551844 2018] [wsgi:error] [pid 22853:tid 139708149409536] AttributeError: 'NoneType' object has no attribute 'lower'</div><div>[Tue May 22 11:06:14.570258 2018] [wsgi:error] [pid 22852:tid 139708141008640] Internal Server Error: /lib/css/geonode/css/ext-compa<wbr>tibility.css</div><div>[Tue May 22 11:06:14.570448 2018] [wsgi:error] [pid 22852:tid 139708141008640] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.570512 2018] [wsgi:error] [pid 22852:tid 139708141008640] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:06:14.570568 2018] [wsgi:error] [pid 22852:tid 139708141008640] response = middleware_method(request)</div><div>[Tue May 22 11:06:14.570617 2018] [wsgi:error] [pid 22852:tid 139708141008640] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.570664 2018] [wsgi:error] [pid 22852:tid 139708141008640] host = request.get_host()</div><div>[Tue May 22 11:06:14.570707 2018] [wsgi:error] [pid 22852:tid 139708141008640] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.570752 2018] [wsgi:error] [pid 22852:tid 139708141008640] if domain and validate_host(domain, allowed_hosts):</div><div>[Tue May 22 11:06:14.570795 2018] [wsgi:error] [pid 22852:tid 139708141008640] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.570843 2018] [wsgi:error] [pid 22852:tid 139708141008640] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.570889 2018] [wsgi:error] [pid 22852:tid 139708141008640] AttributeError: 'NoneType' object has no attribute 'lower'</div><div>[Tue May 22 11:06:14.576838 2018] [wsgi:error] [pid 22853:tid 139708250121984] Internal Server Error: /lib/css/geonode/css/base.css</div><div>[Tue May 22 11:06:14.576986 2018] [wsgi:error] [pid 22853:tid 139708250121984] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.577039 2018] [wsgi:error] [pid 22853:tid 139708250121984] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:06:14.577086 2018] [wsgi:error] [pid 22853:tid 139708250121984] response = middleware_method(request)</div><div>[Tue May 22 11:06:14.577153 2018] [wsgi:error] [pid 22853:tid 139708250121984] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.577199 2018] [wsgi:error] [pid 22853:tid 139708250121984] host = request.get_host()</div><div>[Tue May 22 11:06:14.577244 2018] [wsgi:error] [pid 22853:tid 139708250121984] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.577289 2018] [wsgi:error] [pid 22853:tid 139708250121984] if domain and validate_host(domain, allowed_hosts):</div><div>[Tue May 22 11:06:14.577332 2018] [wsgi:error] [pid 22853:tid 139708250121984] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.577390 2018] [wsgi:error] [pid 22853:tid 139708250121984] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.577436 2018] [wsgi:error] [pid 22853:tid 139708250121984] AttributeError: 'NoneType' object has no attribute 'lower'</div><div>[Tue May 22 11:06:14.590169 2018] [wsgi:error] [pid 22852:tid 139708166194944] Internal Server Error: /lib/css/lib/js/assets.min.js</div><div>[Tue May 22 11:06:14.590306 2018] [wsgi:error] [pid 22852:tid 139708166194944] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.590358 2018] [wsgi:error] [pid 22852:tid 139708166194944] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:06:14.590406 2018] [wsgi:error] [pid 22852:tid 139708166194944] response = middleware_method(request)</div><div>[Tue May 22 11:06:14.590454 2018] [wsgi:error] [pid 22852:tid 139708166194944] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.590500 2018] [wsgi:error] [pid 22852:tid 139708166194944] host = request.get_host()</div><div>[Tue May 22 11:06:14.590544 2018] [wsgi:error] [pid 22852:tid 139708166194944] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.590601 2018] [wsgi:error] [pid 22852:tid 139708166194944] if domain and validate_host(domain, allowed_hosts):</div><div>[Tue May 22 11:06:14.590648 2018] [wsgi:error] [pid 22852:tid 139708166194944] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.590697 2018] [wsgi:error] [pid 22852:tid 139708166194944] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.590742 2018] [wsgi:error] [pid 22852:tid 139708166194944] AttributeError: 'NoneType' object has no attribute 'lower'</div><div>[Tue May 22 11:06:14.616891 2018] [wsgi:error] [pid 22853:tid 139708166194944] Internal Server Error: /lib/css/geonode/js/utils/util<wbr>s.js</div><div>[Tue May 22 11:06:14.617036 2018] [wsgi:error] [pid 22853:tid 139708166194944] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.617091 2018] [wsgi:error] [pid 22853:tid 139708166194944] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:06:14.617141 2018] [wsgi:error] [pid 22853:tid 139708166194944] response = middleware_method(request)</div><div>[Tue May 22 11:06:14.617185 2018] [wsgi:error] [pid 22853:tid 139708166194944] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.617234 2018] [wsgi:error] [pid 22853:tid 139708166194944] host = request.get_host()</div><div>[Tue May 22 11:06:14.617285 2018] [wsgi:error] [pid 22853:tid 139708166194944] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.617344 2018] [wsgi:error] [pid 22853:tid 139708166194944] if domain and validate_host(domain, allowed_hosts):</div><div>[Tue May 22 11:06:14.617396 2018] [wsgi:error] [pid 22853:tid 139708166194944] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.617443 2018] [wsgi:error] [pid 22853:tid 139708166194944] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.617486 2018] [wsgi:error] [pid 22853:tid 139708166194944] AttributeError: 'NoneType' object has no attribute 'lower'</div><div>[Tue May 22 11:06:14.774256 2018] [wsgi:error] [pid 22852:tid 139708132607744] Internal Server Error: /lib/css/geonode/js/base/base.<wbr>js</div><div>[Tue May 22 11:06:14.774505 2018] [wsgi:error] [pid 22852:tid 139708132607744] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.774566 2018] [wsgi:error] [pid 22852:tid 139708132607744] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:06:14.774615 2018] [wsgi:error] [pid 22852:tid 139708132607744] response = middleware_method(request)</div><div>[Tue May 22 11:06:14.774661 2018] [wsgi:error] [pid 22852:tid 139708132607744] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.774706 2018] [wsgi:error] [pid 22852:tid 139708132607744] host = request.get_host()</div><div>[Tue May 22 11:06:14.774753 2018] [wsgi:error] [pid 22852:tid 139708132607744] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.774809 2018] [wsgi:error] [pid 22852:tid 139708132607744] if domain and validate_host(domain, allowed_hosts):</div><div>[Tue May 22 11:06:14.774874 2018] [wsgi:error] [pid 22852:tid 139708132607744] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.774918 2018] [wsgi:error] [pid 22852:tid 139708132607744] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.774969 2018] [wsgi:error] [pid 22852:tid 139708132607744] AttributeError: 'NoneType' object has no attribute 'lower'</div><div>[Tue May 22 11:06:14.779400 2018] [wsgi:error] [pid 22853:tid 139708149409536] Internal Server Error: /jsi18n/</div><div>[Tue May 22 11:06:14.779527 2018] [wsgi:error] [pid 22853:tid 139708149409536] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.779585 2018] [wsgi:error] [pid 22853:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/core/handlers/base.<wbr>py", line 108, in get_response</div><div>[Tue May 22 11:06:14.779633 2018] [wsgi:error] [pid 22853:tid 139708149409536] response = middleware_method(request)</div><div>[Tue May 22 11:06:14.779677 2018] [wsgi:error] [pid 22853:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.779728 2018] [wsgi:error] [pid 22853:tid 139708149409536] host = request.get_host()</div><div>[Tue May 22 11:06:14.779774 2018] [wsgi:error] [pid 22853:tid 139708149409536] File "/usr/lib/python2.7/dist-packa<wbr>ges/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.779817 2018] [wsgi:error] [pid 22853:tid 139708149409536] if domain and validate_host(doma</div><div>in, allowed_hosts):</div><div>[Tue May 22 11:06:14.779862 2018] [wsgi:error] [pid 22853:tid 139708149409536] File "/usr/lib/python2.7/dist-pack</div><div>ages/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.779911 2018] [wsgi:error] [pid 22853:tid 139708149409536] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.779965 2018] [wsgi:error] [pid 22853:tid 139708149409536] AttributeError: 'NoneType' object ha</div><div>s no attribute 'lower'</div><div>[Tue May 22 11:06:14.807392 2018] [wsgi:error] [pid 22852:tid 139708166194944] Internal Server Error: /lang.js</div><div>[Tue May 22 11:06:14.807575 2018] [wsgi:error] [pid 22852:tid 139708166194944] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.807629 2018] [wsgi:error] [pid 22852:tid 139708166194944] File "/usr/lib/python2.7/dist-pack</div><div>ages/django/core/handlers/base<wbr>.py", line 108, in get_response</div><div>[Tue May 22 11:06:14.807676 2018] [wsgi:error] [pid 22852:tid 139708166194944] response = middleware_method(req</div><div>uest)</div><div>[Tue May 22 11:06:14.807721 2018] [wsgi:error] [pid 22852:tid 139708166194944] File "/usr/lib/python2.7/dist-pack</div><div>ages/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.807765 2018] [wsgi:error] [pid 22852:tid 139708166194944] host = request.get_host()</div><div>[Tue May 22 11:06:14.807813 2018] [wsgi:error] [pid 22852:tid 139708166194944] File "/usr/lib/python2.7/dist-pack</div><div>ages/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.807858 2018] [wsgi:error] [pid 22852:tid 139708166194944] if domain and validate_host(doma</div><div>in, allowed_hosts):</div><div>[Tue May 22 11:06:14.807904 2018] [wsgi:error] [pid 22852:tid 139708166194944] File "/usr/lib/python2.7/dist-pack</div><div>ages/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.807948 2018] [wsgi:error] [pid 22852:tid 139708166194944] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.808009 2018] [wsgi:error] [pid 22852:tid 139708166194944] AttributeError: 'NoneType' object ha</div><div>s no attribute 'lower'</div><div>[Tue May 22 11:06:14.978068 2018] [wsgi:error] [pid 22853:tid 139708166194944] Internal Server Error: /favicon.ico</div><div>[Tue May 22 11:06:14.978270 2018] [wsgi:error] [pid 22853:tid 139708166194944] Traceback (most recent call last):</div><div>[Tue May 22 11:06:14.978326 2018] [wsgi:error] [pid 22853:tid 139708166194944] File "/usr/lib/python2.7/dist-pack</div><div>ages/django/core/handlers/base<wbr>.py", line 108, in get_response</div><div>[Tue May 22 11:06:14.978374 2018] [wsgi:error] [pid 22853:tid 139708166194944] response = middleware_method(req</div><div>uest)</div><div>[Tue May 22 11:06:14.978440 2018] [wsgi:error] [pid 22853:tid 139708166194944] File "/usr/lib/python2.7/dist-pack</div><div>ages/django/middleware/common.<wbr>py", line 62, in process_request</div><div>[Tue May 22 11:06:14.978492 2018] [wsgi:error] [pid 22853:tid 139708166194944] host = request.get_host()</div><div>[Tue May 22 11:06:14.978538 2018] [wsgi:error] [pid 22853:tid 139708166194944] File "/usr/lib/python2.7/dist-pack</div><div>ages/django/http/request.py", line 94, in get_host</div><div>[Tue May 22 11:06:14.978637 2018] [wsgi:error] [pid 22853:tid 139708166194944] if domain and validate_host(doma</div><div>in, allowed_hosts):</div><div>[Tue May 22 11:06:14.978690 2018] [wsgi:error] [pid 22853:tid 139708166194944] File "/usr/lib/python2.7/dist-pack</div><div>ages/django/http/request.py", line 571, in validate_host</div><div>[Tue May 22 11:06:14.978736 2018] [wsgi:error] [pid 22853:tid 139708166194944] pattern = pattern.lower()</div><div>[Tue May 22 11:06:14.978788 2018] [wsgi:error] [pid 22853:tid 139708166194944] AttributeError: 'NoneType' object ha</div><div>s no attribute 'lower'</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 21, 2018 at 6:39 PM, Simone Dalmasso <span><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">Ciao Dimitris. What do you get if you manually request one of those css? For the 500 you should see something in the Apache logs. </div><br><div class="gmail_quote"><span><div>Il giorno lun 21 mag 2018 alle 15:47 Dimitris Kar <<a href="mailto:dkarakostis@gmail.com" target="_blank">dkarakostis@gmail.com</a>> ha scritto:<br></div></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div>Hey Toni<div><br></div><div>Yes. I have installed the geonode using apt and in the end I also executed the collectstatic command. I wonder if its related with firewall properties or forwarding of the internal IP to the external etc.</div></div></span><span>
______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-devel</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></span></blockquote></div></div></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="m_-454552732773800154m_5335712871595586155m_-4815419742475947877m_-2823179996528439551HOEnZb"><font color="#888888">-- <br><div class="m_-454552732773800154m_5335712871595586155m_-4815419742475947877m_-2823179996528439551m_3612396418074949679gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></blockquote></div></div></div></font></span></blockquote></div></div></div></div><span class="HOEnZb"><font color="#888888"><span class="m_-454552732773800154HOEnZb"><font color="#888888">-- <br><div dir="ltr" class="m_-454552732773800154m_5335712871595586155gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></font></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><br></div>