<div dir="ltr">You have got the ALLOWED_HOSTS section at the end of the same file (local_settings.py).<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-17 10:28 GMT+01:00 Christian Willmes <span dir="ltr"><<a href="mailto:christian.willmes@googlemail.com" target="_blank">christian.willmes@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
thanks! That solved the PostGIS problem.<br>
<br>
I now need to add my server to ALLOWED_HOSTS:<br>
<br>
[Tue Mar 17 04:24:02.116194 2015] [:error] [pid 1224:tid
140153217300224] Invalid HTTP_HOST header: 'localhost'.You may need
to add u'localhost' to ALLOWED_HOSTS.<br>
<br>
I did set the SITEURL in local_settings.py as before the update.<br>
<br>
Where is that to configure?<br>
<br>
Thanks,<br>
Christian<br>
<br>
<div>Am 17.03.2015 um 10:09 schrieb Le Ny
Conseil:<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr"><span style="font-size:12.8000001907349px">Hello
Christian,</span>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">Add this line in your
geonode local_settings</div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px"><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">POSTGIS_VERSION
= (2,1,0) </span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-03-17 10:03 GMT+01:00 Christian
Willmes <span dir="ltr"><<a href="mailto:christian.willmes@googlemail.com" target="_blank">christian.willmes@googlemail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
im running a geonode 2.4beta from the testing Ubuntu ppa.<br>
<br>
After a apt-get update/upgrade this morning, I can't get
geonode to restart.<br>
<br>
I have this (scary) message in my logs:<br>
<br>
[Tue Mar 17 03:59:59.676955 2015] [:error] [pid 1671:tid
139799543056128] [remote <a href="http://127.0.0.1:60324" target="_blank">127.0.0.1:60324</a>]
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?<br>
<br>
<br>
Any hints, how to solve this?<br>
<br>
Interesting though, that on commandline 'geonode
updatelayers' seems to execute without errors. But it dit
not solve the above problem.<br>
<br>
Thanks,<br>
Christian<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<div>Pierre-André Le Ny</div>
<div><b>Le Ny Conseil</b></div>
<div><a href="http://www.lenyconseil.fr" target="_blank">http://www.lenyconseil.fr</a></div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
geonode-users mailing list
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Pierre-André Le Ny</div><div><b>Le Ny Conseil</b></div><div><a href="http://www.lenyconseil.fr" target="_blank">http://www.lenyconseil.fr</a></div><div><br></div></div></div>
</div>