Re: [geonode] Relocating an install...
- jude mwenda
- 2012-03-01 @ 03:48
I think editing the local_settings.py file , and updating the SITE_URL
field the with new IP/URL . Then run geonode updatelayers. This updates the
records with the new ip. You may also have to head over to GeoServer and at
the global settings change to the new ip.
On 29 February 2012 22:44, Ragnvald <email@example.com> wrote:
> I am moving a geonode install around. The install was done one place,
> and we area setting it up in a different net with new names/ip-numbers.
> It seems like the data layer referenes are hardcoded with reference to the
> actual ip/dns-name. This is a problem because it breaks the relation
> between the listed object and its object. It also makes it impossible to
> delete data. So I'm stuck with a useless data layer which can not be
> removed. Somewhere this information gets stored directly in the databasse,
> instead of beeing read from the local_settings.py file.
> Can anyone tell which tables in PostGIS should be updated? Or maybe which keeps
> this information for Geonode? Or could this be run as a command to geonode;
> eg: geonode relocate 10.10.10.1?
Skype id: jmwenda
"Was ist mein Leben, wenn ich nicht mehr nützlich für andere."
Johann Wolfgang von Goethe