<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=""><div class="">Dear Julierme,</div><div class=""><br class=""></div><div class="">sorry for late reply. I´ve received your video. Unfortunately I´m on travel until the end of June.</div><div class="">Having an internet connection just enough for answering emails. Be sure that I will have a look</div><div class="">at it when back in civilisation ;)</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""></div>
<div><br class=""><blockquote type="cite" class=""><div class="">Am 13.06.2018 um 01:19 schrieb Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" class="">juliermeopensourcedeveloper@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Dear Toni Schonbuchner, Jesus de Diego and GeoNode Developers,</div><div class=""><br class=""></div><div class="">First of all, thank you very much for your reply.</div><div class=""><br class=""></div><div class="">I wonder if you received the videos about the issues I am having geonode-devmode. I received a message saying they were too big, though they are smaller than 15 MB.</div><div class=""><br class=""></div><div class="">Indeed Jesus, I am showing in the videos attached to this message, that GeoServer runs either on port 80 and port 8080 following the directions in <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" class="">http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html</a>. After installing GeoNode production I had some issues in respect to thumbnails as shown in the videos. <br class=""></div><div class=""><br class=""></div><div class="">I got some issues regarding GeoNode DevMode thumbnails creation too, but they are different and I showed them in the previous e-mail attached videos. If you have not received them, let me know and I will send them again. <br class=""></div><div class=""><br class=""></div><div class=""></div><div class=""><br class=""></div><div class="">Thank you very much for your help. <br class=""></div><div class=""><br class=""></div><div class="">I appreciated your time.</div><div class=""><br class=""></div><div class="">Kind regards</div><div class=""><br class=""></div><div class="">Julierme<br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Jun 12, 2018 at 2:07 PM, Jesús de Diego Alarcón <span dir="ltr" class=""><<a href="mailto:jesdial@gmail.com" target="_blank" class="">jesdial@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Hi Toni<div class=""><br class=""></div><div class="">I supposed (in fact Julierme has mentioned it in different emails) that he has followed this tutorial:</div><div class=""><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" target="_blank" class="">http://docs.geonode.org/en/<wbr class="">master/tutorials/install_and_<wbr class="">admin/geonode_install/index.<wbr class="">html</a><br class=""></div><div class="">including the the last points:</div><div class=""><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html" target="_blank" class="">http://docs.geonode.org/en/<wbr class="">master/tutorials/install_and_<wbr class="">admin/geonode_install/setup_<wbr class="">configure_httpd.html</a><br class=""></div><div class=""><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/install_geoserver_application.html" target="_blank" class="">http://docs.geonode.org/en/<wbr class="">master/tutorials/install_and_<wbr class="">admin/geonode_install/install_<wbr class="">geoserver_application.html</a><br class=""></div><div class=""><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/all_together.html" target="_blank" class="">http://docs.geonode.org/en/<wbr class="">master/tutorials/install_and_<wbr class="">admin/geonode_install/all_<wbr class="">together.html</a><br class=""></div><div class=""><br class=""></div><div class="">As you can see, this includes configure Apache to be listening in port nº 80 ...</div><div class=""><br class=""></div><div class="">Regards</div><div class=""><br class=""></div><div class="">Jesús de Diego</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="h5">2018-06-10 11:07 GMT+02:00 Toni Schönbuchner <span dir="ltr" class=""><<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank" class="">toni.schoenbuchner@csgis.de</a>></span>:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class="h5"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class="">Dear Julierme,</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class=""><div class="">I have <a href="mailto:GeoNode@2.8.0." target="_blank" class="">GeoNode@2.8.0.</a> installed in a virtualenv according to<br class=""><a href="http://docs.geonode.org/en/master/tutorials/install_and_" target="_blank" class="">http://docs.geonode.org/en/mas<wbr class="">ter/tutorials/install_and_</a><br class="">admin/geonode_install/<a href="http://index.ht/" class="">index.ht</a><wbr class="">ml. The thumbnails created by loading data<br class="">from GeoNode interface do not work at all.</div></div></blockquote><blockquote type="cite" class=""><div class=""><div class="">They are displayed if and only if I upload the layers from GeoServer<br class="">interface and in a next step, run python manage.py updatelayers. It is very<br class="">interesting what happens here: after running updatelayers, if I go to<br class="">GeoNode interface, I see the thumbnail perfectly fine, but doing a right<br class="">click over it and copy image location, the response is an OWS url as I am<br class="">showing bellow. However If a make a request to the database,<br class="">get_thumbnail_url, the response is a <a href="http://localhost:8000/" target="_blank" class="">http://localhost:8000/</a>. Why port 8000?<br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">I just did a test with a dev installation from master. ( Should not make any difference</div><div class="">to 2.8. ) Unfortunately I cannot reproduce your behavior. See my test here:</div><div class=""><a href="https://vimeo.com/274319749" target="_blank" class="">https://vimeo.com/274319749</a></div><div class=""><u class="">It´s of importance that I did not change anything in settings.py nor pavement.py</u></div><div class=""><br class=""></div><div class=""><b class="">This means: </b></div><div class=""><br class=""></div><div class=""><b class="">Django</b> is started on port 8000 as pavement.py defines:</div><div class=""><a href="https://github.com/GeoNode/geonode/blob/master/pavement.py#L576" target="_blank" class="">https://github.com/GeoNode/geo<wbr class="">node/blob/master/pavement.py#<wbr class="">L576</a></div><div class=""><br class=""></div><div class=""><b class="">Geoserver</b> is made available by Jetty which runs on port 8080:</div><div class=""><a href="https://github.com/GeoNode/geonode/blob/master/pavement.py#L659" target="_blank" class="">https://github.com/GeoNode/geo<wbr class="">node/blob/master/pavement.py#<wbr class="">L659</a></div><div class=""><br class=""></div><div class="">And introduced to <b class="">geonode in django</b> settings here:</div><div class=""><a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L721" target="_blank" class="">https://github.com/GeoNode/geo<wbr class="">node/blob/master/geonode/setti<wbr class="">ngs.py#L721</a></div><div class=""><br class=""></div><div class="">This should give you an overview for used ports in dev mode.</div><div class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">If I remove port 8000, the thumbnails work like a charm in port 80.<br class=""></div></div></blockquote><div class=""><br class=""></div><div class="">This does not make sense as with above there is no service listening on port 80!</div><div class="">Do you run several instances at the same time? </div><div class="">check:</div><div class="">$ lsof -i :80 | grep LISTEN</div><div class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">A brilliant idea came out. Let's compare GeoNode@2.8.0 stable installed via<br class="">apt-get with GeoNode@2.8.0 installed from source in a python virtualenv. </div></div></blockquote><div class=""><br class=""></div><div class="">In production geonode installs apache which listens on port 80!</div><div class="">Then apache vhost forwards requests from port 80 to the wsgiDaemon</div><div class="">( <a href="https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/" target="_blank" class="">https://docs.djangoproject.com<wbr class="">/en/2.0/howto/deployment/wsgi/</a> )</div><div class="">In other words it´s not that easy to compare both setups.</div><div class=""><br class=""></div><div class="">If it helps for you: If you´re testing on a local VM run over virtualbox</div><div class="">I could offer that I´m having a look at it? In this case it would be needed</div><div class="">that you send me the box somehow.</div><div class=""><br class=""></div><div class="">Besides this, last week Olivier Dalang drew my attention at his work running</div><div class="">geonode by use of docker. See: <a href="https://github.com/olivierdalang/SPCgeonode" target="_blank" class="">https://github.com/olivierdala<wbr class="">ng/SPCgeonode</a></div><div class="">This is an alternative to the official geonode docker stack.</div><div class="">As with geonode 'dev setup‘ this installation is meant to be used for customisations.</div><div class="">It´s worth to have a look at it - all you have to do is install docker on your current</div><div class="">platform, clone the repository and run docker-compose up --build -d</div><div class="">After a while you´ll have a solid running geonode on 127.0.0.1 at port 80 ;)</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div><br class=""></div><br class=""></div></div>______________________________<wbr class="">_________________<br class="">
geonode-users mailing list<br class="">
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank" class="">geonode-users@lists.osgeo.org</a><br class="">
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank" class="">https://lists.osgeo.org/mailma<wbr class="">n/listinfo/geonode-users</a><br class="">
<br class=""></blockquote></div><span class="HOEnZb"><font color="#888888" class=""><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="m_-488324366760902800gmail_signature" data-smartmail="gmail_signature">Jesús de Diego Alarcón<br class=""><a href="mailto:jesdial@gmail.com" target="_blank" class="">jesdial@gmail.com</a><br class=""><br class="">"La vida es linda, lo malo es que muchos confunden lindo con fácil."<br class="">Mafalda</div>
</font></span></div>
</blockquote></div><br class=""></div>
<span id="cid:59B90AED-8421-4828-A317-EEC727764AEB"><geonode_production1.mp4></span><span id="cid:BD1812C7-EF51-4245-B92D-D3CE4814CA85"><geonode_production2.mp4></span></div></blockquote></div><br class=""></body></html>