[GeoNode-devel] Unable to install correctly geonode2.8 in remote VM (Toni Schönbuchner)

Alessio Fabiani alessio.fabiani at geo-solutions.it
Thu May 24 01:11:13 PDT 2018


Hello Dimitris,

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?

Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

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.

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.

2018-05-24 8:51 GMT+02:00 Dimitris Kar <dkarakostis at gmail.com>:

> 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/geonode.conf). All the
> directories there point to the www folder (*/var/www/geonode/uploaded/*).
> The owner of the www folder is www-data.
> This is how geonode.conf file looks like (generated by the geonode
> installation):
>
> WSGIDaemonProcess geonode user=www-data threads=15 processes=2
>
> <VirtualHost *:80>
>     Servername localhost
>     ServerAdmin webmaster at 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.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/documents/">
>         Order allow,deny
>         Options Indexes FollowSymLinks
>         Allow from all
>         Require all granted
>         IndexOptions FancyIndexing
>     </Directory>
>
>    <Directory "/var/www/geonode/uploaded/layers/">
>         Order allow,deny
>         Options Indexes FollowSymLinks
>         Allow from all
>         Require all granted
>         IndexOptions FancyIndexing
>     </Directory>
>
>     <Directory "/var/www/geonode/static_root/">
>         Order allow,deny
>         Options Indexes FollowSymLinks
>         Allow from all
>         Require all granted
>         IndexOptions FancyIndexing
>     </Directory>
>
>     <Directory "/var/www/geonode/uploaded/thumbs/">
>         Order allow,deny
>         Options Indexes FollowSymLinks
>         Allow from all
>         Require all granted
>         IndexOptions FancyIndexing
>     </Directory>
>
>     <Directory "/var/www/geonode/uploaded/avatars/">
>         Order allow,deny
>         Options Indexes FollowSymLinks
>         Allow from all
>         Require all granted
>         IndexOptions FancyIndexing
>     </Directory>
>
>     <Directory "/var/www/geonode/uploaded/people_group/">
>         Order allow,deny
>         Options Indexes FollowSymLinks
>         Allow from all
>         Require all granted
>         IndexOptions FancyIndexing
>     </Directory>
>
>     <Directory "/var/www/geonode/uploaded/group/">
>         Order allow,deny
>         Options Indexes FollowSymLinks
>         Allow from all
>         Require all granted
>         IndexOptions FancyIndexing
>     </Directory>
>
>     <Proxy *>
>       Order allow,deny
>       Allow from all
>     </Proxy>
>
>     ProxyPreserveHost On
>     ProxyPass /geoserver http://localhost:8080/geoserver
>     ProxyPassReverse /geoserver http://localhost:8080/geoserver
> </VirtualHost>
>
>
>
>
>
>
> On Tue, May 22, 2018 at 8:58 PM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> 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.
>>
>> Il giorno mar 22 mag 2018 alle 18:17 Dimitris Kar <dkarakostis at gmail.com>
>> ha scritto:
>>
>>> Ciao Simone,
>>> 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.
>>> Regarding the apache.log file these are the errors on page load.
>>>
>>> [Tue May 22 11:05:53.044719 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640] Traceback (most recent call last):
>>> [Tue May 22 11:05:53.044723 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:05:53.044727 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]     response = middleware_method(request)
>>> [Tue May 22 11:05:53.044730 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:05:53.044734 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]     host = request.get_host()
>>> [Tue May 22 11:05:53.044737 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:05:53.044741 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]     if domain and validate_host(domain, allowed_hosts):
>>> [Tue May 22 11:05:53.044744 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 571, in validate_host
>>> [Tue May 22 11:05:53.044759 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]     pattern = pattern.lower()
>>> [Tue May 22 11:05:53.044762 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640] AttributeError: 'NoneType' object has no attribute 'lower'
>>> [Tue May 22 11:06:14.450424 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984] Internal Server Error: /lib/css/assets.min.css
>>> [Tue May 22 11:06:14.450684 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.450747 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.450796 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]     response = middleware_method(request)
>>> [Tue May 22 11:06:14.450847 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.450893 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]     host = request.get_host()
>>> [Tue May 22 11:06:14.450948 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:06:14.450998 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]     if domain and validate_host(domain, allowed_hosts):
>>> [Tue May 22 11:06:14.451044 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 571, in validate_host
>>> [Tue May 22 11:06:14.451104 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.451150 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984] AttributeError: 'NoneType' object has no attribute 'lower'
>>> [Tue May 22 11:06:14.547263 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536] Internal Server Error: /lib/css/lib/css/assets.min.css
>>> [Tue May 22 11:06:14.547468 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.547529 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.547609 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536]     response = middleware_method(request)
>>> [Tue May 22 11:06:14.547661 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.547704 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536]     host = request.get_host()
>>> [Tue May 22 11:06:14.547766 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:06:14.547812 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536]     if domain and validate_host(domain, allowed_hosts):
>>> [Tue May 22 11:06:14.547872 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 571, in validate_host
>>> [Tue May 22 11:06:14.547920 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.547966 2018] [wsgi:error] [pid 22852:tid
>>> 139708149409536] AttributeError: 'NoneType' object has no attribute 'lower'
>>> [Tue May 22 11:06:14.551263 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536] Internal Server Error: /lib/css/geonode/css/ux-all.css
>>> [Tue May 22 11:06:14.551382 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.551450 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.551501 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]     response = middleware_method(request)
>>> [Tue May 22 11:06:14.551552 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.551610 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]     host = request.get_host()
>>> [Tue May 22 11:06:14.551657 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:06:14.551700 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]     if domain and validate_host(domain, allowed_hosts):
>>> [Tue May 22 11:06:14.551745 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 571, in validate_host
>>> [Tue May 22 11:06:14.551800 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.551844 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536] AttributeError: 'NoneType' object has no attribute 'lower'
>>> [Tue May 22 11:06:14.570258 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640] Internal Server Error: /lib/css/geonode/css/ext-compa
>>> tibility.css
>>> [Tue May 22 11:06:14.570448 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.570512 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.570568 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]     response = middleware_method(request)
>>> [Tue May 22 11:06:14.570617 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.570664 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]     host = request.get_host()
>>> [Tue May 22 11:06:14.570707 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:06:14.570752 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]     if domain and validate_host(domain, allowed_hosts):
>>> [Tue May 22 11:06:14.570795 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 571, in validate_host
>>> [Tue May 22 11:06:14.570843 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.570889 2018] [wsgi:error] [pid 22852:tid
>>> 139708141008640] AttributeError: 'NoneType' object has no attribute 'lower'
>>> [Tue May 22 11:06:14.576838 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984] Internal Server Error: /lib/css/geonode/css/base.css
>>> [Tue May 22 11:06:14.576986 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.577039 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.577086 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]     response = middleware_method(request)
>>> [Tue May 22 11:06:14.577153 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.577199 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]     host = request.get_host()
>>> [Tue May 22 11:06:14.577244 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:06:14.577289 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]     if domain and validate_host(domain, allowed_hosts):
>>> [Tue May 22 11:06:14.577332 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 571, in validate_host
>>> [Tue May 22 11:06:14.577390 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.577436 2018] [wsgi:error] [pid 22853:tid
>>> 139708250121984] AttributeError: 'NoneType' object has no attribute 'lower'
>>> [Tue May 22 11:06:14.590169 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944] Internal Server Error: /lib/css/lib/js/assets.min.js
>>> [Tue May 22 11:06:14.590306 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.590358 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.590406 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]     response = middleware_method(request)
>>> [Tue May 22 11:06:14.590454 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.590500 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]     host = request.get_host()
>>> [Tue May 22 11:06:14.590544 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:06:14.590601 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]     if domain and validate_host(domain, allowed_hosts):
>>> [Tue May 22 11:06:14.590648 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 571, in validate_host
>>> [Tue May 22 11:06:14.590697 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.590742 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944] AttributeError: 'NoneType' object has no attribute 'lower'
>>> [Tue May 22 11:06:14.616891 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944] Internal Server Error: /lib/css/geonode/js/utils/util
>>> s.js
>>> [Tue May 22 11:06:14.617036 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.617091 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.617141 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]     response = middleware_method(request)
>>> [Tue May 22 11:06:14.617185 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.617234 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]     host = request.get_host()
>>> [Tue May 22 11:06:14.617285 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:06:14.617344 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]     if domain and validate_host(domain, allowed_hosts):
>>> [Tue May 22 11:06:14.617396 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 571, in validate_host
>>> [Tue May 22 11:06:14.617443 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.617486 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944] AttributeError: 'NoneType' object has no attribute 'lower'
>>> [Tue May 22 11:06:14.774256 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744] Internal Server Error: /lib/css/geonode/js/base/base.js
>>> [Tue May 22 11:06:14.774505 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.774566 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.774615 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744]     response = middleware_method(request)
>>> [Tue May 22 11:06:14.774661 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.774706 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744]     host = request.get_host()
>>> [Tue May 22 11:06:14.774753 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:06:14.774809 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744]     if domain and validate_host(domain, allowed_hosts):
>>> [Tue May 22 11:06:14.774874 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 571, in validate_host
>>> [Tue May 22 11:06:14.774918 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.774969 2018] [wsgi:error] [pid 22852:tid
>>> 139708132607744] AttributeError: 'NoneType' object has no attribute 'lower'
>>> [Tue May 22 11:06:14.779400 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536] Internal Server Error: /jsi18n/
>>> [Tue May 22 11:06:14.779527 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.779585 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.779633 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]     response = middleware_method(request)
>>> [Tue May 22 11:06:14.779677 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packa
>>> ges/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.779728 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]     host = request.get_host()
>>> [Tue May 22 11:06:14.779774 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-packages/django/http/request.py",
>>> line 94, in get_host
>>> [Tue May 22 11:06:14.779817 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]     if domain and validate_host(doma
>>> in, allowed_hosts):
>>> [Tue May 22 11:06:14.779862 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]   File "/usr/lib/python2.7/dist-pack
>>> ages/django/http/request.py", line 571, in validate_host
>>> [Tue May 22 11:06:14.779911 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.779965 2018] [wsgi:error] [pid 22853:tid
>>> 139708149409536] AttributeError: 'NoneType' object ha
>>> s no attribute 'lower'
>>> [Tue May 22 11:06:14.807392 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944] Internal Server Error: /lang.js
>>> [Tue May 22 11:06:14.807575 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.807629 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-pack
>>> ages/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.807676 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]     response = middleware_method(req
>>> uest)
>>> [Tue May 22 11:06:14.807721 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-pack
>>> ages/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.807765 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]     host = request.get_host()
>>> [Tue May 22 11:06:14.807813 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-pack
>>> ages/django/http/request.py", line 94, in get_host
>>> [Tue May 22 11:06:14.807858 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]     if domain and validate_host(doma
>>> in, allowed_hosts):
>>> [Tue May 22 11:06:14.807904 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-pack
>>> ages/django/http/request.py", line 571, in validate_host
>>> [Tue May 22 11:06:14.807948 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.808009 2018] [wsgi:error] [pid 22852:tid
>>> 139708166194944] AttributeError: 'NoneType' object ha
>>> s no attribute 'lower'
>>> [Tue May 22 11:06:14.978068 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944] Internal Server Error: /favicon.ico
>>> [Tue May 22 11:06:14.978270 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944] Traceback (most recent call last):
>>> [Tue May 22 11:06:14.978326 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-pack
>>> ages/django/core/handlers/base.py", line 108, in get_response
>>> [Tue May 22 11:06:14.978374 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]     response = middleware_method(req
>>> uest)
>>> [Tue May 22 11:06:14.978440 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-pack
>>> ages/django/middleware/common.py", line 62, in process_request
>>> [Tue May 22 11:06:14.978492 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]     host = request.get_host()
>>> [Tue May 22 11:06:14.978538 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-pack
>>> ages/django/http/request.py", line 94, in get_host
>>> [Tue May 22 11:06:14.978637 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]     if domain and validate_host(doma
>>> in, allowed_hosts):
>>> [Tue May 22 11:06:14.978690 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]   File "/usr/lib/python2.7/dist-pack
>>> ages/django/http/request.py", line 571, in validate_host
>>> [Tue May 22 11:06:14.978736 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944]     pattern = pattern.lower()
>>> [Tue May 22 11:06:14.978788 2018] [wsgi:error] [pid 22853:tid
>>> 139708166194944] AttributeError: 'NoneType' object ha
>>> s no attribute 'lower'
>>>
>>> On Mon, May 21, 2018 at 6:39 PM, Simone Dalmasso <
>>> simone.dalmasso at gmail.com> wrote:
>>>
>>>> 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.
>>>>
>>>> Il giorno lun 21 mag 2018 alle 15:47 Dimitris Kar <
>>>> dkarakostis at gmail.com> ha scritto:
>>>>
>>>>> Hey Toni
>>>>>
>>>>> 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.
>>>>> _______________________________________________
>>>>> geonode-devel mailing list
>>>>> geonode-devel at lists.osgeo.org
>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>>
>>>> --
>>>> Simone
>>>>
>>> --
>> Simone
>>
>
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180524/4ac13fec/attachment-0001.html>


More information about the geonode-devel mailing list