<div dir="ltr">Adding to Toni response, do not forget to change the GeoServer Proxy Base URL from the admin gui and also to change all the default passwords whenever you will deploy this on a production instance.<div><br></div><div>Also, on production, you should put "DEBUG = False" on Python settings, otherwise you are going to expose an open http-proxy to the world.</div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno mar 14 ago 2018 alle ore 07:48 Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de">toni.schoenbuchner@csgis.de</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div>Dear Lydia,</div><div><br></div><div>in case you installed geonode 2.8 via apt-get you can just run </div><div><br></div><div>$ geonode-updateip <a href="http://geoportal-test.memphis.edu" target="_blank">http://geoportal-test.memphis.edu</a></div><div><br></div><div>In case you installed with form github source (with pip and paver)</div><div>Either dump database geonode as sql, search after localhost and replace</div><div>it with you url, and restore the database.</div><div><br></div><div>As alternative you can try these sql command (meant to be run from cli)</div><div><a href="https://hastebin.com/ekodomixuc.sql" target="_blank">https://hastebin.com/ipapejinex.sql</a></div><div>After using the first two pink tiles should be gone. The rest should</div><div>correct several other fields which have the old url.</div><div><br></div><div>best regards,</div><div><br></div><div>Toni</div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><div style="word-wrap:break-word"><div><div>-----------------------------------------------</div><div>CSGIS</div><div><br></div><div>-----------------------------------------------</div><div><div>Kolonnadenstraße 1</div><div>04109 Leipzig</div></div><div>-----------------------------------------------</div><div>Mobil<span class="m_7530341052254924423Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_7530341052254924423Apple-tab-span" style="white-space:pre-wrap">                </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_7530341052254924423Apple-tab-span" style="white-space:pre-wrap">                </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_7530341052254924423Apple-tab-span" style="white-space:pre-wrap">           </span><a href="http://csgis.de" target="_blank">http://csgis.de</a></div><div>-----------------------------------------------</div><div><br></div><div>Hinweis gemäß § 33 BDSG</div><div>Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div><div>Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div><div>erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div><div>von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div><div>Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div></div></div></div></div></div></div></div></div>
</div>
<div><br><blockquote type="cite"><div>Am 14.08.2018 um 00:18 schrieb <a href="mailto:geonode-devel-request@lists.osgeo.org" target="_blank">geonode-devel-request@lists.osgeo.org</a>:</div><br class="m_7530341052254924423Apple-interchange-newline"><div><div>Send geonode-devel mailing list submissions to<br><span class="m_7530341052254924423Apple-tab-span" style="white-space:pre-wrap">  </span><a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span class="m_7530341052254924423Apple-tab-span" style="white-space:pre-wrap">   </span><a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br>or, via email, send a message with subject or body 'help' to<br><span class="m_7530341052254924423Apple-tab-span" style="white-space:pre-wrap">       </span><a href="mailto:geonode-devel-request@lists.osgeo.org" target="_blank">geonode-devel-request@lists.osgeo.org</a><br><br>You can reach the person managing the list at<br><span class="m_7530341052254924423Apple-tab-span" style="white-space:pre-wrap">       </span><a href="mailto:geonode-devel-owner@lists.osgeo.org" target="_blank">geonode-devel-owner@lists.osgeo.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of geonode-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Layers on Geocode being redirected to localhost after<br>      production server migration (Lian Feng (lfeng))<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 13 Aug 2018 22:11:55 +0000<br>From: "Lian Feng (lfeng)" <<a href="mailto:lfeng@memphis.edu" target="_blank">lfeng@memphis.edu</a>><br>To: "<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a>" <<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a>><br>Subject: [GeoNode-devel] Layers on Geocode being redirected to<br><span class="m_7530341052254924423Apple-tab-span" style="white-space:pre-wrap">   </span>localhost after production server migration<br>Message-ID: <<a href="mailto:C79FD08F-F674-4000-965C-3B7DFB8D310D@memphis.edu" target="_blank">C79FD08F-F674-4000-965C-3B7DFB8D310D@memphis.edu</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Dear all,<br><br>I installed geonode 2.8 on a 16.04 Ubuntu virtualbox and migrated localhost and localhost:8080 to <a href="http://geoportal-test.memphis.edu/" target="_blank">http://geoportal-test.memphis.edu/</a> and <a href="http://geoportal-test.memphis.edu/geoserver/" target="_blank">http://geoportal-test.memphis.edu/geoserver/</a>. I was able to upload three layers in geoserver and layer previews work well for them. However, on geonode UI, GET requests are redirected to localhost (see attached). Also, I noticed I have pink tiles for openstreetmap but not sure if they’re related. geoserver.log file is also attached.<br><br>I followed this installation guide <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" target="_blank">http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html</a>. And I have thoroughly googled pink tiles and url redirect issues but haven’t had any luck yet. I would appreciate any help very much! Thanks.<br><br>Lydia Lian Feng<br>Senior Research Software Developer  | CAESER<br>Center for Applied Earth Science and Engineering Research<br><br>[cid:image001.jpg@01D1B286.94FA79E0]<br><br>The University of Memphis<br>Wilder Tower Suite 900<br>3675 Alumni Drive<br>Memphis, TN 38152<<a href="http://www.memphis.edu/emailsignatures/emailsignaturepc.php" target="_blank">http://www.memphis.edu/emailsignatures/emailsignaturepc.php</a>><br><br>901.678.<<a href="http://www.memphis.edu/emailsignatures/emailsignaturepc.php" target="_blank">http://www.memphis.edu/emailsignatures/emailsignaturepc.php</a>>5110 | <a href="http://strengthencommunities.com/" target="_blank">http://strengthencommunities.com/</a><br><br><br>[cid:image002.jpg@01D1B286.94FA79E0]<<a href="https://www.facebook.com/CAESER.UofM" target="_blank">https://www.facebook.com/CAESER.UofM</a>><br><br>[cid:image003.jpg@01D1B286.94FA79E0]<<a href="https://twitter.com/CAESER_UofM" target="_blank">https://twitter.com/CAESER_UofM</a>><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment.html" target="_blank">http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment.html</a>><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: image001.jpg<br>Type: image/jpeg<br>Size: 34647 bytes<br>Desc: image001.jpg<br>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment.jpg" target="_blank">http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment.jpg</a>><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: image002.jpg<br>Type: image/jpeg<br>Size: 9111 bytes<br>Desc: image002.jpg<br>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment-0001.jpg" target="_blank">http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment-0001.jpg</a>><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: image003.jpg<br>Type: image/jpeg<br>Size: 9962 bytes<br>Desc: image003.jpg<br>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment-0002.jpg" target="_blank">http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment-0002.jpg</a>><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: geonode_re-route.png<br>Type: image/png<br>Size: 578003 bytes<br>Desc: geonode_re-route.png<br>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment.png" target="_blank">http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment.png</a>><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: geoserver.log<br>Type: application/octet-stream<br>Size: 332617 bytes<br>Desc: geoserver.log<br>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment.obj" target="_blank">http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180813/62a58ccf/attachment.obj</a>><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>geonode-devel mailing list<br><a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br><br><br>------------------------------<br><br>End of geonode-devel Digest, Vol 43, Issue 11<br>*********************************************<br></div></div></blockquote></div><br></div>_______________________________________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;font-size:11pt;white-space:pre-wrap">==</span><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Via di Montramito 3/A - </span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">55054  Massarosa (LU) - </span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">fax:     +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">mob:   +39 331 6233686</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#222222;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap">This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.</span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap"><br></span></p></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>