<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Benard,<div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size: large; color: rgb(32, 18, 77);"><div class="gmail_default"><div class="gmail_default">The issue is that when i try to download the layer from geonode, the download link is reading from localhost:8000 domain instead of my custom domain. </div></div></div></div></blockquote><div class=""><br class=""></div><div class="">you could try to use this management command to update the download links:</div><div class=""><a href="http://docs.geonode.org/en/2.10.x/admin/mgmt_commands/#management-command-set-all-layers-metadata" class="">http://docs.geonode.org/en/2.10.x/admin/mgmt_commands/#management-command-set-all-layers-metadata</a><br class=""><div class=""><br class="webkit-block-placeholder"></div><div class=""><div>Also make sure to check your geoserver urls for example Proxy Base URL settings.</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div>Cheers,</div><div><br class=""></div><div>Toni</div></div><div class=""><br class="webkit-block-placeholder"></div><div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><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; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><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; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><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; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><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; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><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; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">-----------------------------------------------</div><div class="">CSGIS</div><div class=""><br class=""></div><div class="">-----------------------------------------------</div><div class=""><div class="" style="orphans: 2; widows: 2;">Gottschedstraße 12</div><div class="" style="orphans: 2; widows: 2;">04109 Leipzig</div></div><div class="" style="orphans: 2; widows: 2;"><font face="Arial" class="">Telefon 0341.</font> 39 37 3397</div><div class="">-----------------------------------------------</div><div class="">Web<span class="Apple-tab-span" style="white-space: pre;">         </span><a href="https://csgis.de" class="">https://csgis.de</a></div><div class="">-----------------------------------------------</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></div></div></div></div></div></div><div><br class=""><blockquote type="cite" class=""><div class=""><br class="">   1. GEONODE UPDATELAYERS COMMAND (Benard Rodgers Onyango)<br class=""><br class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Von: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Benard Rodgers Onyango <<a href="mailto:benardonyango16@gmail.com" class="">benardonyango16@gmail.com</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Betreff: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[GeoNode-users] GEONODE UPDATELAYERS COMMAND</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Datum: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">5. Januar 2020 um 20:02:50 MEZ<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">An: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a><br class=""></span></div><br class=""><br class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:large;color:#20124d"><div class="gmail_default" style="font-size:large;color:rgb(32,18,77)"><div class="gmail_default" style="font-size:large;color:rgb(32,18,77)">I kindly need help concerning an issue i am facing in geonode. <br class=""></div><div class="gmail_default" style="font-size:large;color:rgb(32,18,77)"><br class=""></div><div class="gmail_default" style="font-size:large;color:rgb(32,18,77)">I
 have published a layer in geoserver and now i want to run the command "<i class="">python manage.py updatelayers -w geonode</i>" to bring the layer into geonode. I have done that and
 it is successful. The issue is that when i try to download the layer 
from geonode, the download link is reading from localhost:8000 domain instead of my custom
 domain. <br class=""></div><div class="gmail_default" style="font-size:large;color:rgb(32,18,77)"><br class=""></div><div class="gmail_default" style="font-size:large;color:rgb(32,18,77)">But when i upload the same layer through geonode GUI, the download url reads from the custom domain and not localhost. <br class=""></div><div class="gmail_default" style="font-size:large;color:rgb(32,18,77)"><br class=""></div><div class="gmail_default" style="font-size:large;color:rgb(32,18,77)">How
 can i solve this problem? I edited local_settings.py and changed 
localhost to my custom domain. The GeoServer proxy base url is also 
pointing to my i.p<br class=""></div></div></div><br class="">-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div class=""><div style="margin: 0in 0in 0.0001pt;" class=""><font face="Calibri, sans-serif" color="#4382be" class=""><span style="font-size:12.6667px" class=""><b class="">Regards,</b></span></font></div><div style="margin: 0in 0in 0.0001pt;" class=""><font face="Calibri, sans-serif" color="#4382be" class=""><span style="font-size:12.6667px" class=""><b class=""><br class=""></b></span></font></div><div style="margin: 0in 0in 0.0001pt;" class=""><font face="Calibri, sans-serif" color="#4382be" class=""><span style="font-size:12.6667px" class=""><b class="">Benard Onyango - GIS/RS Assistant</b></span></font></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br class=""></div></div></body></html>