[GeoNode-users] Region list problem

Daniel Victoria daniel.victoria at gmail.com
Fri Jan 29 05:39:08 PST 2016


We installed and updated using apt-get. God ol "apt-get upgrade geonode"

The apt-get runs the import process for the fixtures again? So, in the
furure, every time I upgrade geonode, I'll have to import the region table
again?

Thanks
Daniel

On Fri, Jan 29, 2016 at 10:30 AM, Jeffrey Johnson <ortelius at gmail.com>
wrote:

> How do you have GeoNode installed and how did you upgrade? I suspect
> the upgrade process re-ran the import of the default fixtures which
> probably reused some of the IDs from your changed regions.
>
> My recommendation is just to empty this table and reimport or readd
> your data and then dump the fixtures to a json file for future use.
>
> Let us know if that works.
>
> Jeff
>
> On Fri, Jan 29, 2016 at 2:24 PM, Daniel Victoria
> <daniel.victoria at gmail.com> wrote:
> > Hi list,
> >
> > A couple of months ago I changed the region list in our geonode, removing
> > most of the countries in the world and adding the Brazilian states. This
> was
> > done through the Geonode admin interface (Metadata region) and I put, for
> > each Brazilian state, Brazil as the parent. Back then we were using
> GeoNode
> > 2.4beta (can't recall the correct version).
> >
> > Recently I went to check on the region list and all the countries I
> removed
> > came back. The Brazilian states are still there but they are all messed
> up
> > in the region list, with some brazilian states being under Chile, for
> > example. But in the admin interface, the parent is set correctly.
> >
> > The only change we did in Geonode was to update to the 2.4 final version.
> > Does this update bring back the old countries, changing our base_region
> > table?
> > Or is there some type of block that will not let me remove some of the
> > countries?
> >
> > Cheers
> > Daniel
> >
> > _______________________________________________
> > geonode-users mailing list
> > geonode-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/geonode-users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160129/abdd4a1d/attachment.html>


More information about the geonode-users mailing list