<div dir="ltr"><div><div><div>We installed and updated using apt-get. God ol "apt-get upgrade geonode"<br><br></div>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?<br><br></div>Thanks<br></div>Daniel <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 29, 2016 at 10:30 AM, Jeffrey Johnson <span dir="ltr"><<a href="mailto:ortelius@gmail.com" target="_blank">ortelius@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How do you have GeoNode installed and how did you upgrade? I suspect<br>
the upgrade process re-ran the import of the default fixtures which<br>
probably reused some of the IDs from your changed regions.<br>
<br>
My recommendation is just to empty this table and reimport or readd<br>
your data and then dump the fixtures to a json file for future use.<br>
<br>
Let us know if that works.<br>
<br>
Jeff<br>
<div><div class="h5"><br>
On Fri, Jan 29, 2016 at 2:24 PM, Daniel Victoria<br>
<<a href="mailto:daniel.victoria@gmail.com">daniel.victoria@gmail.com</a>> wrote:<br>
> Hi list,<br>
><br>
> A couple of months ago I changed the region list in our geonode, removing<br>
> most of the countries in the world and adding the Brazilian states. This was<br>
> done through the Geonode admin interface (Metadata region) and I put, for<br>
> each Brazilian state, Brazil as the parent. Back then we were using GeoNode<br>
> 2.4beta (can't recall the correct version).<br>
><br>
> Recently I went to check on the region list and all the countries I removed<br>
> came back. The Brazilian states are still there but they are all messed up<br>
> in the region list, with some brazilian states being under Chile, for<br>
> example. But in the admin interface, the parent is set correctly.<br>
><br>
> The only change we did in Geonode was to update to the 2.4 final version.<br>
> Does this update bring back the old countries, changing our base_region<br>
> table?<br>
> Or is there some type of block that will not let me remove some of the<br>
> countries?<br>
><br>
> Cheers<br>
> Daniel<br>
><br>
</div></div>> _______________________________________________<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/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
><br>
</blockquote></div><br></div>