This question for updating map tiles hostname has been answered several times. If you search on the user list [1] the results are quite full of information about that.<div><div><br></div><div>This link below can help a little bit</div><div><br></div><div>http://osgeo-org.1560.x6.nabble.com/Update-ip-dns-into-data-db-after-server-migration-td5270874.html<br></div><div><br></div><div>[1] http://osgeo-org.1560.x6.nabble.com/GeoNode-users-f5185389.html</div><br><signature>Sent from <a href="https://n1.nylas.com/link/eb7527b28e6768be6de7d08aadc06682f767db6acd69ff8829f4f547fb33b7ef/0?redirect=https%3A%2F%2Fnylas.com%3Fref%3Dn1&recipient=geonode-users%40lists.osgeo.org">Nylas Mail</a>, the best free email app for work</signature></div>
          <img class="n1-open" width="0" height="0" style="border:0; width:0; height:0;" src="https://n1.nylas.com/open/eb7527b28e6768be6de7d08aadc06682f767db6acd69ff8829f4f547fb33b7ef?recipient=geonode-users%40lists.osgeo.org"><div class="gmail_quote nylas-quote nylas-quote-id-ef1d2d8580c880cbefd5bb486db8d118f71157e7b5fd194c1a46d12bf09c620a">
            <br>
            On lug 24 2017, at 12:17 am, Michael Peterman <mpetermangis@gmail.com> wrote:
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
              <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><div><br></div><div>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 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><div><br></div><div><div><div>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 style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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?recipient=geonode-users%40lists.osgeo.org" 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>______________________________<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?recipient=geonode-users%40lists.osgeo.org" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></span></blockquote></div><span><div><br></div><br><div><br></div>-- <br><div>Simone </div>
</span></div>
</blockquote></div><br></div>
<pre class="nylas-plaintext">_______________________________________________
geonode-users mailing list
geonode-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geonode-users
</pre>
            </blockquote>
          </div><div id="n1-quoted-text-marker"></div>