<div dir="ltr">Hi Francesco,<div>good catch. Those commands are not documented on the official GeoNode documentation (as far as I can see).</div><div><br></div><div>It would be good to have them documented.</div><div><br></div><div>I'll try to find some time to test them and improve the documentation. I have no much time in these days though, so if someone would like to do that in the meantime it will be very welcomed.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><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><div style="font-size:12.8px">Best Regards,</div><div style="font-size:12.8px">Alessio Fabiani.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>==</div><div>GeoServer Professional Services from the experts!</div><div>Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: +39 0584 962313</div><div>fax: +39 0584 1660272</div><div>mob: +39 331 6233686</div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">-------------------------------------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p><p><font size="1">---------------------------------------------------------------------</font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Nov 2, 2016 at 1:02 PM, Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alessio,<div><div><br></div><div>I think the geonode updatemaplayerip [1] might be of help</div><div><br></div><div>Ciao,</div><div>Francesco</div><div><br></div><div>[1] <a href="https://github.com/GeoNode/geonode/blob/master/geonode/maps/management/commands/updatemaplayerip.py" target="_blank">https://github.com/<wbr>GeoNode/geonode/blob/master/<wbr>geonode/maps/management/<wbr>commands/updatemaplayerip.py</a></div><br><u></u>Sent from <a href="https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-56e8c7e4-998d/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=" target="_blank">Nylas N1</a>, the extensible, open source mail client.<u></u></div><img class="m_-9159198380305249950n1-open" width="0" height="0" style="border:0;width:0;height:0" src="https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-56e8c7e4-998d?r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc="><div class="HOEnZb"><div class="h5">
<div class="gmail_quote m_-9159198380305249950nylas-quote m_-9159198380305249950nylas-quote-id-10td7u0l9a79oamxzf3u5nap2">
<br>
On nov 2 2016, at 11:49 am, Alessio Fabiani <<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-<wbr>solutions.it</a>> wrote:
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello Nicolai,<div>I'm going to maintain the discussion on the mailing list so that it can be useful for other users too in the future.</div><div><br></div><div>The problem should be related only to the maps. I'm currently not aware of a quick command to do this. At this point you have two options:</div><div><br></div><div>1. Delete only the old maps and rebuild them from scratch.</div><div><br></div><div>2. Manually update the GeoServer ip address on the database -> main geonode database, table "maps_maplayer"</div><div><br></div><div><br></div></div><div><br><div><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><div style="font-size:12.8px">Best Regards,</div><div style="font-size:12.8px">Alessio Fabiani.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>==</div><div>GeoServer Professional Services from the experts!</div><div>Visit <a href="http://goo.gl/it488V&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=" target="_blank">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: <a href="tel:%2B39%20331%206233686" value="+393316233686" target="_blank">+39 331 6233686</a></div><div><br></div><div><a href="http://www.geo-solutions.it&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=" target="_blank">http://twitter.com/<wbr>geosolutions_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></span></p><p><span lang="IT">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p><p><span lang="IT"> </span></p><p>The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</p><p>------------------------------<wbr>------------------------------<wbr>---------</p></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div>On Wed, Nov 2, 2016 at 10:15 AM, Nicolai Cryer <span dir="ltr"><<a href="mailto:nkcryer@gmail.com" target="_blank">nkcryer@gmail.com</a>></span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Alessio, <div><br></div><div>Thank you so much for your reply, this is really driving me nuts :) </div><div><br></div><div>I just tested it out, and you were spot on - it's only the old maps that have this issue. New maps created after changing the URL work perfectly. THANK YOU!!! This is such a relief. </div><div><br></div><div>Do you know if there's any way to update the configuration in the database? Or should I re-upload all the data? </div></div><div><br><div>2016-11-02 9:41 GMT+01:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions<wbr>.it</a>></span>:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Nicolai,<div>is the problem related to the new layers also or just the old ones? Can you please describe exactly your test-case?</div><div><br></div><div>The thing is... if you are trying to expose your saved maps, consider that the configuration is stored on the database. Therefore if you created those maps with the old ip most probably the configuration still has the latter recored on the DB.</div></div><div><br><div><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><div style="font-size:12.8px">Best Regards,</div><div style="font-size:12.8px">Alessio Fabiani.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>==</div><div>GeoServer Professional Services from the experts!</div><div>Visit <a href="http://goo.gl/it488V&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=" target="_blank">http://goo.gl/it488V</a> for more information.</div><div>==</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Ing. Alessio Fabiani</div><div style="font-size:12.8px">@alfa7691</div><div style="font-size:12.8px">Founder/Technical Lead</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>GeoSolutions S.A.S.</div><div>Via di Montramito 3/A</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a value="+390584962313">+39 0584 962313</a></div><div>fax: <a value="+3905841660272">+39 0584 1660272</a></div><div>mob: <a value="+393316233686">+39 331 6233686</a></div><div><br></div><div><a href="http://www.geo-solutions.it&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=" target="_blank">http://twitter.com/geosolution<wbr>s_it</a></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">------------------------------<wbr>-------------------------</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><p><span lang="IT"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></span></p><p><span lang="IT">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p><p><span lang="IT"> </span></p><p>The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</p><p>------------------------------<wbr>------------------------------<wbr>---------</p></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div><div><div>On Tue, Nov 1, 2016 at 3:29 PM, Nicolai Cryer <span dir="ltr"><<a href="mailto:nkcryer@gmail.com" target="_blank">nkcryer@gmail.com</a>></span> wrote:<br></div></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi, <div><br></div><div>We're trying to open our Geonode installation to the public, and have done the necessary DNS stuff. As such, our Geonode is able to serve static files (html etc.) to outside the internal network, but the url for WMS services etc. still seems to be configured to the localhost. </div><div><br></div><div>As such, users can view the Geonode front-end but cannot be served WMS/WFS content from our geoserver (these show up as bad tiles in geoexplorer). </div><div><br></div><div>I tried to solve this by editing local_settings.py in C:\GeoNode-2.4.x\geonode-2.4.x<wbr>\geonode, specifically the "PUBLIC_LOCATION" key in the OGC dictionary.</div><div><br></div><div>The big problem is that no matter what I change in settings.py or local_settings.py, how many times I restart Apache/Tomcat/the whole server, delete .pyc files to be regenerated etc., the changes are never reflected in the actual OGC configuration. I don't understand where the problem lies! </div><div><br></div><div>I've even attempted to delete settings.py without incident, so it's like the files are cached somewhere (perhaps in the bowels of Apache?) </div><div><br></div><div>I would be most grateful for any ideas, because I've almost exhausted the list of buttons to push :/ </div><div><br></div><div>Best, </div><span><div><br></div><div>Nicolai</div></span></div>
<br></div></div>______________________________<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="http://lists.osgeo.org/mailman/listinfo/geonode-users&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote></div><br></div>
</blockquote>
</div></div></div><br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>