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

Dimitris Kar dkarakostis at gmail.com
Wed May 23 23:51:07 PDT 2018


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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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-
>> compatibility.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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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/
>> utils.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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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-
>> packages/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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180524/b2f12bbc/attachment-0001.html>


More information about the geonode-devel mailing list