[GeoNode-users] Issue on updateip in migration to 2.6

Annalisa Schiavon annalisa.schiavon at gmail.com
Mon Jul 3 02:21:25 PDT 2017


Hi Toni,

2017-07-03 10:07 GMT+02:00 Toni Schönbuchner <toni.schoenbuchner at csgis.de>:

> Hi Annalisa,
>
> I setted the ip address in geonode-oauth2 in a couple of lines they still
> point to "localhost“.
>
>
> You could grep your files to see if somewhere localhost is still mentioned:
>
> grep -rn --include="*.py“ „192.68.31.80" 2>/dev/null
>

Ok, but now it seems that localhost should remain in some settings, maybe?


>
>
> Here it is an example of a wrong preview link:
> http://192.168.31.80/geoserver/geonode/wms?access_token=
> SFtO1m1uwzKVWzOmJmsQi72nMQyEfi?service=WMS&version=1.1.0&
> request=GetMap&layers=geonode:v_staz_aria_attive&styles=&
> bbox=1647277.811,4991070.397,1798213.0,5117620.0&width=768&
> height=643&srs=EPSG:3003&format=application/openlayers
>
>
> You want the local IP to be a public, right?
> Stupid question. Have you restarted your web servers?
>

After checking all, I'll have to change it to a domain ... Yes, I've
restarted apache and tomcat


>
> Then, I've some old layers in geonode that doesn't more exists in
> geoserver. If I try to remove from geonode ui It fails. Also the "geonode
> updatelayers --remove-deleted" fails on those layers
>
>
> updatelayers has a verbose option.
> http://docs.geonode.org/en/master/tutorials/admin/admin_
> mgmt_commands/#updatelayers
> can you provide a detailed error output?
>
> There are geonode commands for clean or syncronize databases? Some docs?
> syncdb is now deprecated, right?
>
>
> I think to remember that from Django 1.9 synchdb is depreceated. Instead
> migrate
> should work. F.e.:
>
> python manage.py migrate auth# performs migrations for auth and contenttypes contrib apps
>
> python manage.py migrate --run-syncdb# creates the rest of the database
>
> I couldn´t find any updated documentation either.
> When searching for things like that I often have a look in pavement.py  ;)
> https://github.com/GeoNode/geonode/blob/master/pavement.py#L213
>
>
> Thanks

Annalisa


>
>
> Cheers,
>
> Toni
>
>
> -----------------------------------------------
> CSGIS
>
> -----------------------------------------------
> Kolonnadenstraße 1
> 04109 Leipzig
> -----------------------------------------------
> Mobil +49/ (0) 176 6680 3198 <+49%20176%2066803198>
> Tel  +49/ (0) 341 24 04 738 <+49%20341%202404738>
> Fax  +49/ (0) 341 24 04 73 <+49%20341%20240473>
> Web http://csgis.de
> -----------------------------------------------
>
> Hinweis gemäß § 33 BDSG
> Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist
> ausschließlich für den
> Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie
> diese E-Mail versehentlich
> erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und
> löschen Sie diese Nachricht
> von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung,
> Vervielfältigung, Veränderung,
> Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170703/79dc9890/attachment.html>


More information about the geonode-users mailing list