<div dir="ltr"><div>Dear Toni Schonbuchner,</div><div><br></div><div>Thank you very much for your time and for trying to help me always and all the time.</div><div><br></div><div>I have great news: setting "srid": resource.projection, python manage.py updatelayers is working perfectly fine.</div><div><br></div><div>Now I have a good news and a bad one.</div><div><br></div><div><b>Good News</b></div><div><br></div><div>If I load the data from geoserver interface, can be either geonode or another workspace, for the first time I run python manage.py updatelayers, the thumbnails will be created as shown bellow:</div><div><br></div><div>geonode:aeroporto thumbnail link (works perfectly fine)<br></div><div><br></div><div><a href="http://localhost:8080/geoserver/ows?layers=geonode:aeroporto&crs=EPSG:4326&service=WMS&format=image/png8&request=GetMap&height=150&width=200&version=1.1.1&bbox=-175.135635000000000,-53.781474605831600,179.195442023020000,78.246717000000000">http://localhost:8080/geoserver/ows?layers=geonode:aeroporto&crs=EPSG:4326&service=WMS&format=image/png8&request=GetMap&height=150&width=200&version=1.1.1&bbox=-175.135635000000000,-53.781474605831600,179.195442023020000,78.246717000000000</a></div><div><br></div><div>location:rbmc thumbnail link (works perfectly fine)<br></div><div><br></div><div><a href="http://localhost:8080/geoserver/ows?layers=location:rbmc&crs=EPSG:4326&service=WMS&format=image/png8&request=GetMap&height=150&width=200&version=1.1.1&bbox=-69.935496180600000,-29.789445458300000,-35.777101013900000,0.047035064700000">http://localhost:8080/geoserver/ows?layers=location:rbmc&crs=EPSG:4326&service=WMS&format=image/png8&request=GetMap&height=150&width=200&version=1.1.1&bbox=-69.935496180600000,-29.789445458300000,-35.777101013900000,0.047035064700000</a></div><div><br></div><div>location:200Miles thumbnail link (works perfectly fine)</div><div><br></div><div><a href="http://localhost:8080/geoserver/ows?layers=location:200Miles&crs=EPSG:4326&service=WMS&format=image/png8&request=GetMap&height=150&width=200&version=1.1.1&bbox=-50.140337451805300,-35.825188956244400,-25.290947335193900,7.053767046153300">http://localhost:8080/geoserver/ows?layers=location:200Miles&crs=EPSG:4326&service=WMS&format=image/png8&request=GetMap&height=150&width=200&version=1.1.1&bbox=-50.140337451805300,-35.825188956244400,-25.290947335193900,7.053767046153300</a></div><div><br></div><div><b>Bad News</b></div><div><b><br></b></div><div><b>Action 1</b><br></div><div><br></div><div>If I load the data from geonode interface, the thumbnails will be created as shown bellow:<br></div><div><br></div><div>location:rbmc thumbnail link (Not working: port 8000 came back)</div><div><br></div><div><a href="http://localhost:8000/uploaded/thumbs/layer-91c7cab9-e395-4941-a6b0-acc48c81f67c-thumb.png">http://localhost:8000/uploaded/thumbs/layer-91c7cab9-e395-4941-a6b0-acc48c81f67c-thumb.png</a></div><div><br></div><div><br></div><div>geonode:aeroporto thumbnail link (Not working: port 8000 came back)<br></div><div><br></div><div><a href="http://localhost:8000/uploaded/thumbs/layer-06fea76a-302a-4f41-a72f-72802ab89a4f-thumb.png">http://localhost:8000/uploaded/thumbs/layer-06fea76a-302a-4f41-a72f-72802ab89a4f-thumb.png</a></div><div><br></div><div><b>Action 2 <br></b></div><div><b><br></b></div><div>If I try to edit (e. g. give a zoom in the layer) the layer created according to <b>Good News </b>and set Thumbnails from geonode interface, those links in <b>Good News</b> get all messed up, I mean, they all returned to the links in <b>Action1</b> containing port 8000.</div><div><br></div><div><b>Action 3</b></div><div><b><br></b></div><div>Running python manage.py updatelayers after <b>Action 2, </b>the thumbnails area created again, but still messed up, containing port 8000, the same links as in <b>Action 2.</b></div><div><b><br></b></div><div>I wonder why this is happening. And I can not understand the differences between links created by geonode and by python manage.py updatelayers when the command is run for the first time. And why it can not correct the links when it is run for the second time.</div><div><br></div><div>Any help will be very appreciated. Indeed I am running <b>geonode 2.8.0</b> and <b>geooserver 2.12-SNAPSHOT</b></div><div><b><br></b></div><div>I appreciated your time</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-23 17:49 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">to be 100% clear: line 614 in helpers.py should say:<div><span class="m_-8904198685014543203pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-variant-ligatures:normal;white-space:pre-wrap;background-color:rgb(255,255,255)"><span class="m_-8904198685014543203pl-pds" style="box-sizing:border-box"><br></span></span></div><div><span class="m_-8904198685014543203pl-s" style="box-sizing:border-box;color:rgb(3,47,98);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-variant-ligatures:normal;white-space:pre-wrap;background-color:rgb(255,255,255)"><span class="m_-8904198685014543203pl-pds" style="box-sizing:border-box">"</span>srid<span class="m_-8904198685014543203pl-pds" style="box-sizing:border-box">"</span></span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-variant-ligatures:normal;white-space:pre-wrap;background-color:rgb(255,255,255)">: resource.projection,</span></div><div><div><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" color="#24292e"><span style="white-space:pre-wrap;background-color:rgb(255,255,255)"><br></span></font></div><div><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" color="#24292e"><span style="white-space:pre-wrap;background-color:rgb(255,255,255)">;)</span></font></div><div><font face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace" color="#24292e"><span style="white-space:pre-wrap;background-color:rgb(255,255,255)"><br></span></font></div><div>After that updatelayer will work.</div><div><br></div><div>cheers,</div><div><br></div><div>toni</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_-8904198685014543203Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_-8904198685014543203Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_-8904198685014543203Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_-8904198685014543203Apple-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>
</span><div><div class="h5"><div><br><blockquote type="cite"><div>Am 23.05.2018 um 20:25 schrieb Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@<wbr>gmail.com</a>>:</div><br class="m_-8904198685014543203Apple-interchange-newline"><div><div dir="ltr"><div>Hi Toni Schonbuchner,</div><div><br></div><div>Sorry for disturbing you during your trip. So please, take your time and we discuss this issue later. There is no rush.</div><div><br></div><div>Regarding the response to <div>for tn in layer:</div><div><span class="m_-8904198685014543203gmail-m_-3678042024396294437Apple-tab-span" style="white-space:pre-wrap"> </span>print tn.get_thumbnail_url()</div><br></div><div>You are right. Find the links in the DB bellow:</div><div><br></div><div><a href="http://localhost:8000/uploaded/thumbs/layer-bf0b4ae6-5ad3-11e8-b402-0800277e2fd3-thumb.png" target="_blank">http://localhost:8000/<wbr>uploaded/thumbs/layer-<wbr>bf0b4ae6-5ad3-11e8-b402-<wbr>0800277e2fd3-thumb.png</a> <br><a href="http://localhost:8000/uploaded/thumbs/layer-54f14a4c-5dd6-11e8-840e-0800277e2fd3-thumb.png" target="_blank">http://localhost:8000/<wbr>uploaded/thumbs/layer-<wbr>54f14a4c-5dd6-11e8-840e-<wbr>0800277e2fd3-thumb.png</a><br><br></div><div> Now, I did not want to open topic discussion now, but by the way as you mentioned above about python manage.py updatelayers, I am unable to use updatelayers function. Please see bellow the response to python manage.py updatelayers</div><div><br></div><div>python manage.py updatelayers<br>Inspecting the available layers in GeoServer ...<br>Found 3 layers, starting processing<br>Stopping process because --ignore-errors was not set and an error was found.<br>Traceback (most recent call last):<br> File "manage.py", line 31, in <module><br> execute_from_command_line(sys.<wbr>argv)<br> File "/home/geo/Envs/geonode/local/<wbr>lib/python2.7/site-packages/<wbr>django/core/management/__init_<wbr>_.py", line 354, in execute_from_command_line<br> utility.execute()<br> File "/home/geo/Envs/geonode/local/<wbr>lib/python2.7/site-packages/<wbr>django/core/management/__init_<wbr>_.py", line 346, in execute<br> self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)<br> File "/home/geo/Envs/geonode/local/<wbr>lib/python2.7/site-packages/<wbr>django/core/management/base.<wbr>py", line 394, in run_from_argv<br> self.execute(*args, **cmd_options)<br> File "/home/geo/Envs/geonode/local/<wbr>lib/python2.7/site-packages/<wbr>django/core/management/base.<wbr>py", line 445, in execute<br> output = self.handle(*args, **options)<br> File "/home/geo/Envs/geonode/local/<wbr>lib/python2.7/site-packages/<wbr>geonode/geoserver/management/<wbr>commands/updatelayers.py", line 122, in handle<br> execute_signals=True)<br> File "/home/geo/Envs/geonode/local/<wbr>lib/python2.7/site-packages/<wbr>geonode/geoserver/helpers.py", line 614, in gs_slurp<br> "srid": resource.srid<br>Exception: ('Failed to process 200Milhas', AttributeError("'FeatureType' object has no attribute 'srid'",))<br></div><div><br></div><div>Again, Take your time.</div><div><br></div><div>We come back to this discussion when you can.</div><div><br></div><div>I appreciated your time.</div><div><br></div><div>Have a great trip</div><div><br></div><div>Julierme<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-23 14:44 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">Hey Julierme,<div><br></div><div>Sorry for late reply. I´m currently on travel. I can try to test it tomorrow and give you more information.</div><div>The Path is saved in your database. So I think it´s like this:</div><div>> Upload layer > Thumbails created from proxy setting from geoserver as I said > Path saved to db.</div><div><br></div><div>You can easily check thoes URLs with djangos build in orm.</div><div>To do so go to you geonode directory and use manage.py like: </div><div><br></div><div>$ python manage.py shell</div><div><div><br></div><div>from geonode.layers.models import Layer</div><div><br></div><div>layer = Layer.objects.all()</div><div><br></div><div>for tn in layer:</div><div><span class="m_-8904198685014543203m_-3678042024396294437Apple-tab-span" style="white-space:pre-wrap"> </span>print tn.get_thumbnail_url()</div><div><br></div></div><div>You should see that the path is written to your db. </div><div>Unsure but maybe python manage.py updatelayers </div><div>corrects the path for you. If not you could easily extend the</div><div>snippet to replace the port for you.</div><div><br></div><div>Cheers,</div><div><br></div><div>Toni</div><div><br></div><div><br></div><div><br></div><div><span><div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="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" target="_blank">Kolonnadenstraße 1</a></div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">04109 Leipzig</a></div></div><div>------------------------------<wbr>-----------------</div><div>Mobil<span class="m_-8904198685014543203m_-3678042024396294437Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_-8904198685014543203m_-3678042024396294437Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_-8904198685014543203m_-3678042024396294437Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_-8904198685014543203m_-3678042024396294437Apple-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>
</span><div><div class="m_-8904198685014543203h5"><div><br><blockquote type="cite"><div>Am 23.05.2018 um 19:22 schrieb Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>>:</div><br class="m_-8904198685014543203m_-3678042024396294437Apple-interchange-newline"><div><div dir="ltr"><div>Hi Toni Schonbuchner,</div><div><br></div><div>I got some more information in here. I used <grep -R '\b:8000\b' *> to search every file that is using port 8000. I have two layers in geoserver/geonode: geonode:rbmc and geonode:airports</div><div><br></div><div>This is the response to my grep -R '\b:8000\b' *:</div><div><br></div><div>geoserver-data/workspaces/geon<wbr>ode/rbmc/rbmc/featuretype.xml:<wbr> <content><a href="http://localhost:8000//showmetadata/xsl/4" target="_blank">http://localhost:8000<wbr>//showmetadata/xsl/4</a></content><br>geoserver-data/workspaces/geon<wbr>ode/rbmc/rbmc/featuretype.xml:<wbr> <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fwww.w3.org%2F2005%2FAtom&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=54f14a4c-5dd6-11e8-840e-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fwww.w3.org%<wbr>2F2005%2FAtom&service=CSW&<wbr>amp;request=GetRecordById&<wbr>version=2.0.2&<wbr>elementsetname=full&id=<wbr>54f14a4c-5dd6-11e8-840e-080027<wbr>7e2fd3</a></content><br>geoserver-data/workspaces/geon<wbr>ode/rbmc/rbmc/featuretype.xml:<wbr> <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fgcmd.gsfc.nasa.gov%2FAboutus%2Fxml%2Fdif%2F&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=54f14a4c-5dd6-11e8-840e-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fgcmd.gsfc.nasa.<wbr>gov%2FAboutus%2Fxml%2Fdif%2F&<wbr>amp;service=CSW&request=Ge<wbr>tRecordById&version=2.0.2&<wbr>amp;elementsetname=full&id<wbr>=54f14a4c-5dd6-11e8-840e-08002<wbr>77e2fd3</a></content><br>geoserver-data/workspaces/geon<wbr>ode/rbmc/rbmc/featuretype.xml:<wbr> <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=54f14a4c-5dd6-11e8-840e-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fwww.opengis.net%<wbr>2Fcat%2Fcsw%2F2.0.2&<wbr>service=CSW&request=GetRec<wbr>ordById&version=2.0.2&<wbr>elementsetname=full&id=<wbr>54f14a4c-5dd6-11e8-840e-080027<wbr>7e2fd3</a></content><br>geoserver-data/workspaces/geon<wbr>ode/rbmc/rbmc/featuretype.xml:<wbr> <content><a href="http://localhost:8000/catalogue/csw?outputschema=urn%3Aoasis%3Anames%3Atc%3Aebxml-regrep%3Axsd%3Arim%3A3.0&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=54f14a4c-5dd6-11e8-840e-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>urn%3Aoasis%3Anames%3Atc%<wbr>3Aebxml-regrep%3Axsd%3Arim%<wbr>3A3.0&service=CSW&<wbr>request=GetRecordById&<wbr>version=2.0.2&elementsetna<wbr>me=full&id=54f14a4c-5dd6-<wbr>11e8-840e-0800277e2fd3</a></<wbr>content><br>geoserver-data/workspaces/geon<wbr>ode/rbmc/rbmc/featuretype.xml:<wbr> <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2Fcsdgm&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=54f14a4c-5dd6-11e8-840e-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fwww.opengis.net%<wbr>2Fcat%2Fcsw%2Fcsdgm&<wbr>service=CSW&request=<wbr>GetRecordById&version=2.0.<wbr>2&elementsetname=full&<wbr>id=54f14a4c-5dd6-11e8-840e-080<wbr>0277e2fd3</a></content><br>geoserver-data/workspaces/geon<wbr>ode/rbmc/rbmc/featuretype.xml:<wbr> <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=54f14a4c-5dd6-11e8-840e-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fwww.isotc211.org%<wbr>2F2005%2Fgmd&service=CSW&<wbr>amp;request=GetRecordById&<wbr>version=2.0.2&<wbr>elementsetname=full&id=<wbr>54f14a4c-5dd6-11e8-840e-080027<wbr>7e2fd3</a></content><br>geoserver-data/workspaces/geon<wbr>ode/airports/airports/featuret<wbr>ype.xml: <content><a href="http://localhost:8000//showmetadata/xsl/2" target="_blank">http://localhost:8000<wbr>//showmetadata/xsl/2</a></content><br>geoserver-data/workspaces/geon<wbr>ode/airports/airports/featuret<wbr>ype.xml: <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fwww.w3.org%2F2005%2FAtom&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=bf0b4ae6-5ad3-11e8-b402-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fwww.w3.org%<wbr>2F2005%2FAtom&service=CSW&<wbr>amp;request=GetRecordById&<wbr>version=2.0.2&<wbr>elementsetname=full&id=<wbr>bf0b4ae6-5ad3-11e8-b402-080027<wbr>7e2fd3</a></content><br>geoserver-data/workspaces/geon<wbr>ode/airports/airports/featuret<wbr>ype.xml: <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fgcmd.gsfc.nasa.gov%2FAboutus%2Fxml%2Fdif%2F&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=bf0b4ae6-5ad3-11e8-b402-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fgcmd.gsfc.nasa.<wbr>gov%2FAboutus%2Fxml%2Fdif%2F&<wbr>amp;service=CSW&request=Ge<wbr>tRecordById&version=2.0.2&<wbr>amp;elementsetname=full&id<wbr>=bf0b4ae6-5ad3-11e8-b402-08002<wbr>77e2fd3</a></content><br>geoserver-data/workspaces/geon<wbr>ode/airports/airports/featuret<wbr>ype.xml: <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=bf0b4ae6-5ad3-11e8-b402-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fwww.opengis.net%<wbr>2Fcat%2Fcsw%2F2.0.2&<wbr>service=CSW&request=GetRec<wbr>ordById&version=2.0.2&<wbr>elementsetname=full&id=<wbr>bf0b4ae6-5ad3-11e8-b402-080027<wbr>7e2fd3</a></content><br>geoserver-data/workspaces/geon<wbr>ode/airports/airports/featuret<wbr>ype.xml: <content><a href="http://localhost:8000/catalogue/csw?outputschema=urn%3Aoasis%3Anames%3Atc%3Aebxml-regrep%3Axsd%3Arim%3A3.0&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=bf0b4ae6-5ad3-11e8-b402-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>urn%3Aoasis%3Anames%3Atc%<wbr>3Aebxml-regrep%3Axsd%3Arim%<wbr>3A3.0&service=CSW&<wbr>request=GetRecordById&<wbr>version=2.0.2&elementsetna<wbr>me=full&id=bf0b4ae6-5ad3-<wbr>11e8-b402-0800277e2fd3</a></<wbr>content><br>geoserver-data/workspaces/geon<wbr>ode/airports/airports/featuret<wbr>ype.xml: <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2Fcsdgm&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=bf0b4ae6-5ad3-11e8-b402-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fwww.opengis.net%<wbr>2Fcat%2Fcsw%2Fcsdgm&<wbr>service=CSW&request=<wbr>GetRecordById&version=2.0.<wbr>2&elementsetname=full&<wbr>id=bf0b4ae6-5ad3-11e8-b402-080<wbr>0277e2fd3</a></content><br>geoserver-data/workspaces/geon<wbr>ode/airports/airports/featuret<wbr>ype.xml: <content><a href="http://localhost:8000/catalogue/csw?outputschema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&service=CSW&request=GetRecordById&version=2.0.2&elementsetname=full&id=bf0b4ae6-5ad3-11e8-b402-0800277e2fd3" target="_blank">http://localhost:8000<wbr>/catalogue/csw?outputschema=<wbr>http%3A%2F%2Fwww.isotc211.org%<wbr>2F2005%2Fgmd&service=CSW&<wbr>amp;request=GetRecordById&<wbr>version=2.0.2&<wbr>elementsetname=full&id=<wbr>bf0b4ae6-5ad3-11e8-b402-080027<wbr>7e2fd3</a></content><br></div><div><br></div><div>There is a featuretype.xml using <a href="http://localhost:8000/" target="_blank">http://localhost:8000</a>, I will chnage this featuretype.xml to <a href="http://localhost/" target="_blank">http://localhost</a> and see the response.</div><div><br></div><div>Now, where this configuration to featuretype.xml coming from?</div><div><br></div><div>Thank you very much for your time</div><div><br></div><div>Kind regards</div><div><br></div><div><br></div><div>Julierme<br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-23 12:14 GMT-03:00 Julierme Pinheiro <span dir="ltr"><<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Toni Schonbuchner,</div><div><br></div><div>I removed tomcat8 and www-data users from group geo. And I still having the same issue with the Thumbnails. Port 8000 still showing in the thumbnails links.</div><div><br></div><div>Thank you for your time and attention<br></div><div><br></div><div>I appreciated it <br></div><span class="m_-8904198685014543203m_-3678042024396294437HOEnZb"><font color="#888888"><div><br></div><div>Julierme<br></div></font></span></div><div class="m_-8904198685014543203m_-3678042024396294437HOEnZb"><div class="m_-8904198685014543203m_-3678042024396294437h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-05-23 10:54 GMT-03:00 Julierme Pinheiro <span dir="ltr"><<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear Toni,</div><div><br></div><div>Sorry for that. I got your point now. Yeah, Thumbnails do not work at all. Basically, because all the *.png (thumbnails) are linked to port 8000 <a href="http://localhost:8000/uploaded/thumbs/thumbnail.png" target="_blank">http://localhost:8000/uploaded<wbr>/thumbs/thumbnail.png</a></div><div><br></div><div>Now , where this port 8000 config is coming from, I do not know. I checked settings and local_settings.py < vim /8000 /Thumbnails /localhost>. Also, going a little bit further then global.xml, I checked:</div><div><br></div><div> <pre>/data/geoserver-data/security/<wbr>filter/geonode-oauth2/config.x<wbr>ml</pre><pre>/data/geoserver-data/security/<wbr>role/geonode<span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430gmail-se">\ </span>REST<span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430gmail-se">\ </span>role<span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430gmail-se">\ </span>service/config.xml</pre>However, I have to make a note here: <pre>/data/geoserver-data/security/<wbr>auth/geonodeAuthProvider/confi<wbr>g.xml</pre>I did not find the directory geonodeAuthProvider. I have /data/geoserver-data/security/<wbr>auth/geofence/config.xml and /data/geoserver-data/security/<wbr>auth/default/config.xml, but both config.xml do not have <baseURL> tag.</div><div><br></div><div>Let me give you some more information:</div><div><br></div><div>At one stage, we made a copy of files and folders <b>sudo cp -Rf /home/geonode/my_geonode/geose<wbr>rver/data/* /data/geoserver-data/ </b>; after that we granted tomcat8 access to the following folders: <br></div><div><br></div><div><pre>sudo chown -Rf tomcat8: /data/geoserver-data/<br><br></pre><pre>sudo chown -Rf tomcat8: /data/geoserver-logs/<br><br><pre>sudo chown -Rf tomcat8: /data/geoserver-logs/</pre><br></pre><pre><font face="arial,helvetica,sans-serif">But here I have news, I have a group named geo and tomcat8 and www-data users belong to this group. If we go back to <b>/home/geonode/my_geonode/geose<wbr>rver/data/<br><br></b> (geonode) geo@gis:/home/geonode/my_geono<wbr>de/geoserver/data$ ls -l global.xml <br> -rw-rw-r-- 1 geonode geo 1705 Mai 11 17:40 global.xml<br><br></font></pre><pre><font face="arial,helvetica,sans-serif">And the same in here:<br><br>(geonode) geo@gis:/home/geonode/my_geono<wbr>de/geoserver/data/security/fil<wbr>ter/geonode-oauth2$ ls -l config.xml <br>-rw-rw-r-- 1 geonode geo 1656 Mai 11 17:40 config.xml<br><br></font></pre><pre><font face="arial,helvetica,sans-serif">Both these files global.xml has port 8080 and config.xml has port 8080 and pot 8000 and because the group geo has the user tomcat8 and apache2, these settings could not be causing the server (tomcat8) to get confused, I mean gathering information either in<br></font></pre><pre><font face="arial,helvetica,sans-serif"> /data/geoserver-data/ and /home/geonode/my_geonode/geose<wbr>rver/data/* <br><br><br></font></pre><pre><font face="arial,helvetica,sans-serif">What do you think about it? I will try removing tomcat8 and apache2 from the group geo.<br><br></font></pre><pre><font face="arial,helvetica,sans-serif">Thank you for your time and patience<br><br></font></pre><span><pre><font face="arial,helvetica,sans-serif">I appreciated it<br><br></font></pre><pre><font face="arial,helvetica,sans-serif">Kind regards<br><br></font></pre><pre><font face="arial,helvetica,sans-serif">Julierme<br></font></pre><pre><font face="arial,helvetica,sans-serif"><br></font></pre><pre><font face="arial,helvetica,sans-serif"><br></font><br></pre><pre><br></pre><br></span></div><div><br></div></div><div class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234HOEnZb"><div class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-05-22 18:57 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">Dear Julierme,<div><br></div><div>sorry for being unclear.</div><div><br></div><div>Do no thumbnails work at all or for example:</div><div>Thumbnails created before your update do not</div><div>work but thumbails for newly created layers do?</div><div><br></div><div>Cheers,</div><div>Toni</div><div><span><br><div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="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" target="_blank">Kolonnadenstraße 1</a></div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">04109 Leipzig</a></div></div><div>------------------------------<wbr>-----------------</div><div>Mobil<span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602Apple-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>
</span><div><div class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430h5"><div><br><blockquote type="cite"><div>Am 22.05.2018 um 23:52 schrieb Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>>:</div><br class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602Apple-interchange-newline"><div><div dir="ltr"><div>Hi Ton Schonbuchner,</div><div><br></div><div>I am not sure if I understand your question, but this was the only change I made in global.xml</div><div><br></div><div><pre><span style="font-family:arial,helvetica,sans-serif"><proxyBaseUrl><a href="http://localhost/geoserver" target="_blank">http://localhost<wbr>/geoserver</a></proxyBaseUrl> and I still having problems with the thumbnails (http//:localhost:8000<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Thank you for your time <br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Best regards<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Julierme<br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif"><br><br></span></pre><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-22 18:31 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">Hi Julierme,<div><br></div><div>okay do no thumbnails resolve or only the one you saved before</div><div>change global settings? (You can ignore the id. )</div><div><br></div><div>Cheers,</div><div>Toni</div><div><br></div><div><span><br><div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="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" target="_blank">Kolonnadenstraße 1</a></div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">04109 Leipzig</a></div></div><div>------------------------------<wbr>-----------------</div><div>Mobil<span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897Apple-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>
</span><div><div class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602h5"><div><br><blockquote type="cite"><div>Am 22.05.2018 um 23:23 schrieb Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>>:</div><br class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897Apple-interchange-newline"><div><div dir="ltr"><div>Hi Ton Schonbuchner,</div><div><br></div><div>Thank you very much for your reply. I checked /data/geoserver-data/global.xm<wbr>l<br><pre><span style="font-family:arial,helvetica,sans-serif"> <proxyBaseUrl><a href="http://localhost/geoserver" target="_blank">http://localhost<wbr>/geoserver</a></proxyBaseUrl><br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">I had changed the port before. Now, I do not know if the id can cause any problem, it is the only one that has 8000. And I am not sure if it is related to port configuration. <br><br><id>SettingsInfoImpl-2edad420:<wbr>155c534d13f:-8000</id><br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Thank you for your time.<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">I appreciated it<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Kind regards<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Julierme<br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif"><br></span></pre><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-22 17:38 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">Hi Julierme,<div><br></div><div>I think this is taken from geoserver. Check global settings -> proxy base URL. </div><div>It has the port 8000, right?</div><div><br></div><div>Cheers,</div><div><br></div><div>Toni</div><div><br><div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="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" target="_blank">Kolonnadenstraße 1</a></div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">04109 Leipzig</a></div></div><div>------------------------------<wbr>-----------------</div><div>Mobil<span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897m_-9123538395932557861Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897m_-9123538395932557861Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897m_-9123538395932557861Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897m_-9123538395932557861Apple-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><blockquote type="cite"><div><div><br>Message: 1<br>Date: Tue, 22 May 2018 15:51:13 -0300<br>From: Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>><br>To: geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><wbr>>, geonode-devel<br><span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897m_-9123538395932557861Apple-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: [GeoNode-devel] Geonode Thumbnails Error<br>Message-ID:<br><span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897m_-9123538395932557861Apple-tab-span" style="white-space:pre-wrap"> </span><<a href="mailto:CAKTKyJJkCsmLZQQ-jLgSJaaMv+T0kOTFC0Z11--Nvj2WwKHHpQ@mail.gmail.com" target="_blank">CAKTKyJJkCsmLZQQ-jLgSJaaMv+T0<wbr>kOTFC0Z11--Nvj2WwKHHpQ@mail.gm<wbr>ail.com</a>><br>Content-Type: text/plain; charset="utf-8"<div><div class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897h5"><br><br>Hi Geonode Developers,<br><br>I have installed Geonode 2.8 following this tutorial<br><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" target="_blank">http://docs.geonode.org/en/mas<wbr>ter/tutorials/install_and_admi<wbr>n/geonode_install/index.html</a>.<br><br><br>After installing, I checked many times the <a href="http://local_settings.py/settings.py" target="_blank">local_settings.py/settings.py</a><br>and apache2 directories permissions and I could not find any<br>misconfiguration based on the tutorial, but I am facing a problem:<br><br>Geonode is running in <a href="http://localhost/" target="_blank">http://localhost</a> and geoserver in<br><a href="http://localhost/geoserver" target="_blank">http://localhost/geoserver</a> and <a href="http://localhost:8080/geoserver" target="_blank">http://localhost:8080/geoserve<wbr>r</a>, but the<br>thumbnails are created using port 8000 as in here:<br><br><a href="http://localhost:8000/uploaded/thumbs/layer-54f14a4c-5dd6-11e8-840e-0800277e2fd3-thumb.png" target="_blank">http://localhost:8000/uploaded<wbr>/thumbs/layer-54f14a4c-5dd6-11<wbr>e8-840e-0800277e2fd3-thumb.png</a><br><br>This way, I am unable to see the layers thumbnails, but if I change the URL<br>to<br><br><a href="http://localhost/uploaded/thumbs/layer-54f14a4c-5dd6-11e8-840e-0800277e2fd3-thumb.png" target="_blank">http://localhost/uploaded/thum<wbr>bs/layer-54f14a4c-5dd6-11e8-84<wbr>0e-0800277e2fd3-thumb.png</a><br><br>everything works fine.<br><br>This is my thumbnails config in settings.py:<br><br># Choose thumbnail generator -- this is the default generator<br>THUMBNAIL_GENERATOR = "geonode.layers.utils.create_g<wbr>s_thumbnail_geonode"<br><br>I checked the settings.py and local_settings.py looking for port 8000 in<br>any line, and I could not find it.<br><br>Could anyone help me to figure out why this is happening?<br><br>Thank you for your time and support in advance.<br><br>Kind regards<br><br>Julierme<br></div></div>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180522/5a0a8ae9/attachment-0001.html" target="_blank">http://lists.osgeo.org/piperm<wbr>ail/geonode-devel/attachments/<wbr>20180522/5a0a8ae9/attachment-0<wbr>001.html</a>><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 22 May 2018 20:58:56 +0200<br>From: Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>><br>To: Dimitris Kar <<a href="mailto:dkarakostis@gmail.com" target="_blank">dkarakostis@gmail.com</a>><br>Cc: <a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>Subject: Re: [GeoNode-devel] Unable to install correctly geonode2.8 in<br><span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897m_-9123538395932557861Apple-tab-span" style="white-space:pre-wrap"> </span>remote VM (Toni Schönbuchner)<br>Message-ID:<br><span class="m_-8904198685014543203m_-3678042024396294437m_2770530017002565234m_-5302398274145498430m_-3752049256006998602m_1881193136941264897m_-9123538395932557861Apple-tab-span" style="white-space:pre-wrap"> </span><<a href="mailto:CAAHAC%2BcaQfJ8UpFUruEgHvzfAKzXhsCNV4sbweuCiK35WPa%2BgQ@mail.gmail.com" target="_blank">CAAHAC+caQfJ8UpFUruEgHvzfAKzX<wbr>hsCNV4sbweuCiK35WPa+gQ@mail.gm<wbr>ail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Hm do you have debug set to true? This could be one reason but also looks<br>like the Apache rules for the static folders aren’t correctly set as well.<br>Check also that one. Django is trying to deal with your css rather than<br>Apache but in production it shouldn’t be.<br><br>Il giorno mar 22 mag 2018 alle 18:17 Dimitris Kar <<a href="mailto:dkarakostis@gmail.com" target="_blank">dkarakostis@gmail.com</a>><br>ha scritto:<br></div></div></blockquote></div><br></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>