<div dir="ltr"><div>Dear Toni Schonbuchner,</div><div><br></div><div>Thank you very much for your reply. While tweaking through settings.py and local_settings.py [1], trying to find any port 8000 set to geoserver URL, I got some questions:</div><div><br></div><div>1 - regarding local_settings.py</div><div><br></div><div>OGC_SERVER : {</div><div> ' default' : {</div><div> .</div><div> .</div><div> .</div><div> 'LOG_FILE' <span class="gmail-s1"></span><span class="gmail-p">:</span> <span class="gmail-s1">'</span><span class="gmail-si">%s</span><span class="gmail-s1">/geoserver/data/logs/geoserver.log'</span> <span class="gmail-o">%</span> <span class="gmail-n">os</span><span class="gmail-o">.</span><span class="gmail-n">path</span><span class="gmail-o">.</span><span class="gmail-n">abspath</span><span class="gmail-p">(</span><span class="gmail-n">os</span><span class="gmail-o">.</span><span class="gmail-n">path</span><span class="gmail-o">.</span><span class="gmail-n">join</span><span class="gmail-p">(</span><span class="gmail-n">PROJECT_ROOT</span><span class="gmail-p">,</span> <span class="gmail-n">os</span><span class="gmail-o">.</span><span class="gmail-n">pardir</span><span class="gmail-p">)),</span></div><div><span class="gmail-p"><br></span></div><div><span class="gmail-p"> }}</span></div><div><span class="gmail-p"><br></span></div><div><span class="gmail-p"><br></span></div><div><span class="gmail-p"><br></span></div><div><span class="gmail-p"><br></span></div><div><span class="gmail-p">[1] <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html">http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html</a><br></span></div><div><span class="gmail-p"><br></span></div><div><span class="gmail-p"><br></span></div><div><span class="gmail-p"></span><br></div><div> <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-25 17:02 GMT-03: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;line-break:after-white-space"><div>Dear Julierme,</div><div><br></div><div>I think using grep does not really help to get insights.</div><div>Why not look at the code? The geoserver URL is composed</div><div>in settings.py [1]. I think here you will find your 8000.</div><div><br></div><div>Next I think the best way to see what´s going on is to have</div><div>a look at the helpers.py [2]. Here you should find the code which</div><div>is responsible for creating thumbnails and here [3] the signal</div><div>which you see in stdout logging. If there is some time I will</div><div>do a dev installation and will test it as well.</div><div><br></div><div>Further you´ve asked if there is something like geonode-updateip </div><div>for an installation by source? Not that I know of but yes it would be helpful.</div><div>But it should not be to hard to write a little script which does the job.</div><div>Have a look what geonode-updateip actually does [4] it programatically changes</div><div>the parts which the documentation [5] explains regarding auth.</div><div><br></div><div>I hope this helps a bit.</div><div>Best greetings to Brasilia!</div><div><br></div><div>Toni</div><div><br></div><div><br></div><div>[1] <a href="https://github.com/GeoNode/geonode/blob/2.8.0/geonode/settings.py#L650" target="_blank">https://github.com/<wbr>GeoNode/geonode/blob/2.8.0/<wbr>geonode/settings.py#L650</a></div><div>[2] <a href="https://github.com/GeoNode/geonode/blob/master/geonode/geoserver/helpers.py#L1730" target="_blank">https://github.com/<wbr>GeoNode/geonode/blob/master/<wbr>geonode/geoserver/helpers.py#<wbr>L1730</a></div><div>[3] <a href="https://github.com/GeoNode/geonode/blob/df12893ced001973bd748f86d08fa6ae4c10dde9/geonode/geoserver/signals.py#L497" target="_blank">https://github.com/<wbr>GeoNode/geonode/blob/<wbr>df12893ced001973bd748f86d08fa6<wbr>ae4c10dde9/geonode/geoserver/<wbr>signals.py#L497</a></div><div>[4] <a href="https://github.com/GeoNode/geonode/blob/df12893ced001973bd748f86d08fa6ae4c10dde9/package/support/geonode.updateip#L126" target="_blank">https://github.com/<wbr>GeoNode/geonode/blob/<wbr>df12893ced001973bd748f86d08fa6<wbr>ae4c10dde9/package/support/<wbr>geonode.updateip#L126</a></div><div>[5] <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/install_geoserver_application.html#geonode-authentication-integration" target="_blank">http://docs.geonode.org/<wbr>en/master/tutorials/install_<wbr>and_admin/geonode_install/<wbr>install_geoserver_application.<wbr>html#geonode-authentication-<wbr>integration</a></div><span class=""><div><br></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><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g">Kolonnadenstraße 1</a></div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g">04109 Leipzig</a></div></div><div>------------------------------<wbr>-----------------</div><div>Mobil<span class="m_1353449244449409236Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_1353449244449409236Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_1353449244449409236Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_1353449244449409236Apple-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>
<div><br></div></span><blockquote type="cite">From: Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@<wbr>gmail.com</a>><br>To: Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank">toni.schoenbuchner@csgis.de</a>>, geonode-users<br><span class="m_1353449244449409236Apple-tab-span" style="white-space:pre-wrap"> </span><<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><wbr>>, geonode-devel<br><span class="m_1353449244449409236Apple-tab-span" style="white-space:pre-wrap"> </span><<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><wbr>><br>Subject: Re: [GeoNode-devel] Geonode Thumbnails Error<br>Message-ID:<br><span class="m_1353449244449409236Apple-tab-span" style="white-space:pre-wrap"> </span><<a href="mailto:CAKTKyJJmjL0QBMuZvw0DsBzeCu2yW5vKCj5dMjDN=cddheWJ+g@mail.gmail.com" target="_blank">CAKTKyJJmjL0QBMuZvw0DsBzeCu2y<wbr>W5vKCj5dMjDN=cddheWJ+g@mail.<wbr>gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<div><div class="h5"><br><br>Here are some more paths that port 8000 could be coming from:<br><br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/pycsw/wsgi.py:<wbr>#<br><a href="http://localhost:8000/" target="_blank">http://localhost:8000/</a><br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/<wbr>djangorestframework-3.8.2.<wbr>dist-info/DESCRIPTION.rst:You<br>can now open the API in your browser at ``<a href="http://127.0.0.1:8000/" target="_blank">http://127.0.0.1:8000/``</a>,<br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/<wbr>djangorestframework-3.8.2.<wbr>dist-info/DESCRIPTION.rst:<br>$ curl -H 'Accept: application/json; indent=4' -u admin:password<br><a href="http://127.0.0.1:8000/users/" target="_blank">http://127.0.0.1:8000/users/</a><br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/<wbr>djangorestframework-3.8.2.<wbr>dist-info/DESCRIPTION.rst:<br>"url": "<a href="http://127.0.0.1:8000/users/1/" target="_blank">http://127.0.0.1:8000/users/<wbr>1/</a>",<br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/<wbr>djangorestframework-3.8.2.<wbr>dist-info/DESCRIPTION.rst:<br>$ curl -X POST -d username=new -d <a href="mailto:email=new@example.com" target="_blank">email=new@example.com</a> -d is_staff=false<br>-H 'Accept: application/json; indent=4' -u admin:password<br><a href="http://127.0.0.1:8000/users/" target="_blank">http://127.0.0.1:8000/users/</a><br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/<wbr>djangorestframework-3.8.2.<wbr>dist-info/DESCRIPTION.rst:<br>"url": "<a href="http://127.0.0.1:8000/users/2/" target="_blank">http://127.0.0.1:8000/users/<wbr>2/</a>",<br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/<wbr>djangorestframework-3.8.2.<wbr>dist-info/METADATA:You<br>can now open the API in your browser at ``<a href="http://127.0.0.1:8000/" target="_blank">http://127.0.0.1:8000/``</a>,<br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/<wbr>djangorestframework-3.8.2.<wbr>dist-info/METADATA:<br>$ curl -H 'Accept: application/json; indent=4' -u admin:password<br><a href="http://127.0.0.1:8000/users/" target="_blank">http://127.0.0.1:8000/users/</a><br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/<wbr>djangorestframework-3.8.2.<wbr>dist-info/METADATA:<br>"url": "<a href="http://127.0.0.1:8000/users/1/" target="_blank">http://127.0.0.1:8000/users/<wbr>1/</a>",<br>geo/Envs/geonode/lib/python2.<wbr>7/site-packages/<wbr>djangorestframework-3.8.2.<wbr>dist-info/METADATA:<br>$ curl -X POST -d username=new -d <a href="mailto:email=new@example.com" target="_blank">email=new@example.com</a> -d is_staff=false<br>-H 'Accept: application/json; indent=4' -u admin:password<br><a href="http://127.0.0.1:8000/users/" target="_blank">http://127.0.0.1:8000/users/</a><div><br></div></div></div><div>[...]</div></blockquote></div></blockquote></div><br></div>