[GeoNode-users] Internal Server Error

Leonardo Jauregui leojauregui.geog at gmail.com
Thu Jul 30 06:05:35 PDT 2015


Hi Simone
I will install it and let every one knows
Leonardo


2015-07-30 3:46 GMT-04:00 Simone Dalmasso <simone.dalmasso at gmail.com>:

> Hi, then you need to add  POSTGIS_VERSION = (2,1,0) to your settings.
>
> ps, please always keep in copy the mailing list as others may benefit from
> this thread.
>
> 2015-07-30 1:13 GMT+02:00 Leonardo Jauregui <leojauregui.geog at gmail.com>:
>
>> Hi Simone
>>
>> Yes I did  This is the error log
>>
>>
>> [Wed Jul 29 18:02:22.566776 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]   File
>> "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 194,
>> in __call__
>> [Wed Jul 29 18:02:22.566836 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]
>> signals.request_started.send(sender=self.__class__)
>> [Wed Jul 29 18:02:22.566855 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]   File
>> "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 185,
>> in send
>> [Wed Jul 29 18:02:22.566881 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]     response = receiver(signal=self,
>> sender=sender, **named)
>> [Wed Jul 29 18:02:22.566897 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]   File
>> "/usr/lib/python2.7/dist-packages/django/db/__init__.py", line 81, in
>> reset_queries
>> [Wed Jul 29 18:02:22.566921 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]     for conn in connections.all():
>> [Wed Jul 29 18:02:22.566936 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]   File
>> "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 213, in all
>> [Wed Jul 29 18:02:22.566957 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]     return [self[alias] for alias in self]
>> [Wed Jul 29 18:02:22.566972 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]   File
>> "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 199, in
>> __getitem__
>> [Wed Jul 29 18:02:22.566992 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]     conn = backend.DatabaseWrapper(db,
>> alias)
>> [Wed Jul 29 18:02:22.567007 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]   File
>> "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/postgis/base.py",
>> line 11, in __init__
>> [Wed Jul 29 18:02:22.567030 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]     self.ops = PostGISOperations(self)
>> [Wed Jul 29 18:02:22.567044 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]   File
>> "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/postgis/operations.py",
>> line 158, in __init__
>> [Wed Jul 29 18:02:22.567065 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]     if self.spatial_version < (1, 3, 4):
>> [Wed Jul 29 18:02:22.567079 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]   File
>> "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 49, in
>> __get__
>> [Wed Jul 29 18:02:22.567160 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]     res =
>> instance.__dict__[self.func.__name__] = self.func(instance)
>> [Wed Jul 29 18:02:22.567184 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]   File
>> "/usr/lib/python2.7/dist-packages/django/contrib/gis/db/backends/postgis/operations.py",
>> line 258, in spatial_version
>> [Wed Jul 29 18:02:22.567212 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151]     'template?' %
>> self.connection.settings_dict['NAME']
>> [Wed Jul 29 18:02:22.567242 2015] [:error] [pid 2642:tid 140418890794752]
>> [remote 192.168.10.10:29151] ImproperlyConfigured: Cannot determine
>> PostGIS version for database "geonode_data". GeoDjango requires at least
>> PostGIS version 1.3. Was the database created from a spatial database
>> template?
>>
>>
>>
>> We really apresiate your hepl, this is our Geonode 2.4 test server,
>> Leonardo from Bolivia
>>
>>
>> 2015-07-29 15:40 GMT-04:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>>
>>> Hi did you run the Geonode createduperuser and the geonode-updateip
>>> commands.
>>> If you take a look at the Apache error log you might get more info.
>>>
>>>
>>> Il mercoledì 29 luglio 2015, Leonardo Jauregui <
>>> leojauregui.geog at gmail.com> ha scritto:
>>>
>>>> 500
>>>> Internal Server Error
>>>>
>>>> that is the mesage after I installed geonode 2.4 un Ubuntu 14.04,
>>>>
>>>>  What is mising ?
>>>>
>>>>
>>>> Leonardo from Bolivia
>>>>
>>>>
>>>>
>>>
>>> --
>>> Simone
>>>
>>
>>
>
>
> --
> Simone
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150730/3865841b/attachment.html>


More information about the geonode-users mailing list