<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body 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 class="moz-cite-prefix">Am 17.03.2015 um 10:09 schrieb Le Ny
      Conseil:<br>
    </div>
    <blockquote
cite="mid:CAL6GqD3xjDZ8RytE5oqpOfkVq-XLG=WWEeOk_Eicwn0e0C1=PA@mail.gmail.com"
      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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              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 moz-do-not-send="true"
              href="mailto:geonode-users@lists.osgeo.org"
              target="_blank">geonode-users@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              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 class="gmail_signature">
          <div dir="ltr">
            <div>Pierre-André Le Ny</div>
            <div><b>Le Ny Conseil</b></div>
            <div><a moz-do-not-send="true"
                href="http://www.lenyconseil.fr" target="_blank">http://www.lenyconseil.fr</a></div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
geonode-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>