<div dir="ltr">Hi Toni,<div><br></div><div class="gmail_extra"><div class="gmail_quote">2017-07-03 10:07 GMT+02:00 Toni Schönbuchner <span dir="ltr"><<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank">toni.schoenbuchner@csgis.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Annalisa,<div><span class=""><br><blockquote type="cite"><div><span style="float:none;display:inline!important">I setted the ip address in geonode-oauth2 in a couple of lines they still</span><br><span style="float:none;display:inline!important">point to "localhost“.</span><br></div></blockquote><div><br></div></span>You could grep your files to see if somewhere localhost is still mentioned:</div><div><br></div><div>grep -rn --include="*.py“ „192.68.31.80" 2>/dev/null </div></div></blockquote><div><br></div><div>Ok, but now it seems that localhost should remain in some settings, maybe?</div><div> </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"><div><span class=""><br><br><blockquote type="cite"><div><span style="float:none;display:inline!important">Here it is an example of a wrong preview link:</span><br><a href="http://192.168.31.80/geoserver/geonode/wms?access_token=SFtO1m1uwzKVWzOmJmsQi72nMQyEfi?service=WMS&version=1.1.0&request=GetMap&layers=geonode:v_staz_aria_attive&styles=&bbox=1647277.811,4991070.397,1798213.0,5117620.0&width=768&height=643&srs=EPSG:3003&format=application/openlayers" target="_blank">http://192.168.31.80/<wbr>geoserver/geonode/wms?access_<wbr>token=<wbr>SFtO1m1uwzKVWzOmJmsQi72nMQyEfi<wbr>?service=WMS&version=1.1.0&<wbr>request=GetMap&layers=geonode:<wbr>v_staz_aria_attive&styles=&<wbr>bbox=1647277.811,4991070.397,<wbr>1798213.0,5117620.0&width=768&<wbr>height=643&srs=EPSG:3003&<wbr>format=application/openlayers</a><br></div></blockquote><div><br></div></span><div>You want the local IP to be a public, right?</div><div>Stupid question. Have you restarted your web servers?</div></div></div></blockquote><div><br></div><div>After checking all, I'll have to change it to a domain ... Yes, I've restarted apache and tomcat</div><div> </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"><div><span class=""><br><blockquote type="cite"><div><span style="float:none;display:inline!important">Then, I've some old layers in geonode that doesn't more exists in</span><br><span style="float:none;display:inline!important">geoserver. If I try to remove from geonode ui It fails. Also the "geonode</span><br><span style="float:none;display:inline!important">updatelayers --remove-deleted" fails on those layers</span><br></div></blockquote><div><br></div></span><div>updatelayers has a verbose option. </div><div><a href="http://docs.geonode.org/en/master/tutorials/admin/admin_mgmt_commands/#updatelayers" target="_blank">http://docs.geonode.org/en/<wbr>master/tutorials/admin/admin_<wbr>mgmt_commands/#updatelayers</a></div><div>can you provide a detailed error output?</div><span class=""><br><blockquote type="cite"><div><span style="float:none;display:inline!important">There are geonode commands for clean or syncronize databases? Some docs?</span><br><span style="float:none;display:inline!important">syncdb is now deprecated, right?</span><br></div></blockquote><div><br></div></span><div>I think to remember that from Django 1.9 synchdb is depreceated. Instead migrate</div><div>should work. F.e.:</div><div><br></div><div><pre class="m_-5072765445453828413lang-py m_-5072765445453828413prettyprinted m_-5072765445453828413prettyprint" style="margin-top:0px;padding:5px;border:0px;font-variant-ligatures:normal;font-variant-numeric:inherit;font-stretch:inherit;font-size:13px;line-height:inherit;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;vertical-align:baseline;width:auto;max-height:600px;overflow:auto;background-color:rgb(239,240,241);color:rgb(57,51,24);word-wrap:normal"><code style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;vertical-align:baseline;white-space:inherit"><span class="m_-5072765445453828413pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">python manage</span><span class="m_-5072765445453828413pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">.</span><span class="m_-5072765445453828413pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">py migrate auth
</span><span class="m_-5072765445453828413com" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(133,140,147)"># performs migrations for auth and contenttypes contrib apps</span><span class="m_-5072765445453828413pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">
python manage</span><span class="m_-5072765445453828413pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">.</span><span class="m_-5072765445453828413pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">py migrate </span><span class="m_-5072765445453828413pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">--</span><span class="m_-5072765445453828413pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">run</span><span class="m_-5072765445453828413pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">-</span><span class="m_-5072765445453828413pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(48,51,54)">syncdb
</span><span class="m_-5072765445453828413com" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline;color:rgb(133,140,147)"># creates the rest of the database</span></code></pre><div>I couldn´t find any updated documentation either.</div><div>When searching for things like that I often have a look in pavement.py ;)</div></div><div><a href="https://github.com/GeoNode/geonode/blob/master/pavement.py#L213" target="_blank">https://github.com/GeoNode/<wbr>geonode/blob/master/pavement.<wbr>py#L213</a></div><div><br></div><div><br></div></div></div></blockquote><div>Thanks</div><div><br></div><div>Annalisa</div><div> </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"><div><div></div><br><div><div><span style="float:none;display:inline!important"><br></span></div></div><div><span style="float:none;display:inline!important">Cheers,</span></div><div><span style="float:none;display:inline!important"><br></span></div><div><span style="float:none;display:inline!important">Toni</span></div><div><span style="float:none;display:inline!important"><br></span></div><div><span style="float:none;display:inline!important"><br></span></div><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>------------------------------<wbr>-----------------</div><div>CSGIS</div><div><br></div><div>------------------------------<wbr>-----------------</div><div><div>Kolonnadenstraße 1</div><div>04109 Leipzig</div></div><div>------------------------------<wbr>-----------------</div><div>Mobil<span class="m_-5072765445453828413Apple-tab-span" style="white-space:pre-wrap"> </span><a href="tel:+49%20176%2066803198" value="+4917666803198" target="_blank">+49/ (0) 176 6680 3198</a></div><div>Tel <span class="m_-5072765445453828413Apple-tab-span" style="white-space:pre-wrap"> </span><a href="tel:+49%20341%202404738" value="+493412404738" target="_blank">+49/ (0) 341 24 04 738</a></div><div>Fax <span class="m_-5072765445453828413Apple-tab-span" style="white-space:pre-wrap"> </span><a href="tel:+49%20341%20240473" value="+49341240473" target="_blank">+49/ (0) 341 24 04 73</a></div><div>Web<span class="m_-5072765445453828413Apple-tab-span" style="white-space:pre-wrap"> </span><a href="http://csgis.de" target="_blank">http://csgis.de</a></div><div>------------------------------<wbr>-----------------</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>
<br><br></div></div></blockquote></div><br></div></div>