<div dir="ltr"><div><div><div>Hi Simone, <br><br></div>Thanks for the help. After importing my databases from the geonode 2.4 host to the new 2.6 host, I ran python manage.py migrate --fake-initial and it seemed to work. However, the 2.6 host is now loading data from Geoserver on the 2.4 host (the source for map tiles is pointing to the 2.4 host, not the new one), and there are no layers in the local instance of Geoserver on the 2.6 host. <br><br></div>How can I make Geoserver on the 2.6 host recognize the data that is loaded in postgres?<br><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 17, 2017 at 1:35 AM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, it is ok to restore a 2.4db into a 2.6 one because the data model hasn't breaking changes. the geonode command is just a wrapper around "python manage.py" so you can use it instead.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-07-16 3:34 GMT+02:00 Michael Peterman <span dir="ltr"><<a href="mailto:mpetermangis@gmail.com" target="_blank">mpetermangis@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I have a production site running Geonode 2.4 that I would like to migrate to 2.6 with all users, layers, and maps.  I found this thread: <a href="http://osgeo-org.1560.x6.nabble.com/Help-for-migrate-data-from-2-4-to-2-6-td5323208.html" target="_blank">http://osgeo-org.1560.<wbr>x6.nabble.com/Help-for-migrate<wbr>-data-from-2-4-to-2-6-td532320<wbr>8.html</a><div>but it is a bit vague--do I simply dump the 2.4 databases from PostgreSQL and restore on the 2.6 server? </div><div><br></div><div>On the 2.6 server, I did a manual installation because I want to have a custom frontend. This means that the command "geonode migrate --fake-initial" is not available, but is there a django equivalent?  Or, would it be better to install from a package using apt-get install geonode?</div><div><br></div><div>Thanks.</div></div>
<br></div></div><span class="">______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_3585034454534017083gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></div>
</blockquote></div><br></div>