<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="">Perfect start in the day!<div class="">Thanks for your feedback Dimitris!</div><div class=""><br class=""></div><div class="">Cheers!</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div 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;">Kolonnadenstraße 1</div><div class="" style="orphans: 2; widows: 2;">04109 Leipzig</div></div><div class="">-----------------------------------------------</div><div class="">Mobil<span class="Apple-tab-span" style="white-space: pre;"> </span>+49/ (0) 176 6680 3198</div><div class="">Tel <span class="Apple-tab-span" style="white-space: pre;"> </span>+49/ (0) 341 24 04 738</div><div class="">Fax <span class="Apple-tab-span" style="white-space: pre;"> </span>+49/ (0) 341 24 04 73</div><div class="">Web<span class="Apple-tab-span" style="white-space: pre;"> </span><a href="http://csgis.de" class="">http://csgis.de</a></div><div class="">-----------------------------------------------</div><div class=""><br class=""></div><div class="">Hinweis gemäß § 33 BDSG</div><div class="">Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div><div class="">Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div><div class="">erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div><div class="">von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div><div class="">Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div></div></div></div></div></div></div></div>
</div>
<div style=""><br class=""><blockquote type="cite" class=""><div class="">Am 08.01.2019 um 10:22 schrieb Dimitris Kar <<a href="mailto:dkarakostis@gmail.com" class="">dkarakostis@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Thanks Toni, <div class=""><br class=""></div><div class="">The video was really helpful. I was doing a really silly mistake confusing the paths of the different projects. So the synchronization between my host machine and the vagrant VM was not working properly. Everything is working as expected now. </div><div class=""><br class=""></div><div class="">Thanks again for your time.</div><div class=""><br class=""></div><div class="">Cheers</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Mon, Jan 7, 2019 at 7:49 PM Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" class="">toni.schoenbuchner@csgis.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Dear Dimitris,<div class=""><br class=""></div><div class="">I think this is based on some missunderstanding. I´ve just screenrecorded</div><div class="">a short video for you <a href="https://vimeo.com/309933580" target="_blank" class="">https://vimeo.com/309933580</a></div><div class=""><br class=""></div><div class="">What you see is geonode project running by use of django dev server on port 8000.</div><div class="">First I´m changing the layers_details.html in "geonode" core. Which is as a dependency</div><div class="">installed in the virtualenv directory in src folder. Later the video shows the same</div><div class="">but by use of geonode project. Please excuse my typos, it´s been a bit of a long day :)</div><div class=""><br class=""></div><div class="">Let me know if this works for you.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 07.01.2019 um 09:25 schrieb Dimitris Kar <<a href="mailto:dkarakostis@gmail.com" target="_blank" class="">dkarakostis@gmail.com</a>>:</div><br class="gmail-m_4229355412653970036Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Hey Toni, <div class=""><br class=""></div><div class="">Unfortunately I can not confirm it. I still don't see the changes. Perhaps I edit the wrong files? The source code for the core project is under: /Envs/wfp_geonode/src/geonode</div><div class="">I tried to restart the local server after the changes but there was no effect. Just in case, I also changed the permissions of the files.</div><div class=""><br class=""></div><div class="">Cheers</div><div class="">Dimitris</div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Fri, Jan 4, 2019 at 11:17 AM Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank" class="">toni.schoenbuchner@csgis.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">Hi Dimitris,<div class=""><br class=""></div><div class="">great to hear! For understanding</div><div class="">If there is no file within your project structure which overwrites the core your core </div><div class="">changes should apply. Can you confirm this?</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 class="">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><div class=""><div class=""><div class=""><div class="">-----------------------------------------------</div><div class="">CSGIS</div><div class=""><br class=""></div><div class="">-----------------------------------------------</div><div class=""><div class="">Kolonnadenstraße 1</div><div class="">04109 Leipzig</div></div><div class="">-----------------------------------------------</div><div class="">Mobil<span class="gmail-m_4229355412653970036gmail-m_-416515969349546386gmail-m_-6811870370378316427Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div class="">Tel <span class="gmail-m_4229355412653970036gmail-m_-416515969349546386gmail-m_-6811870370378316427Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div class="">Fax <span class="gmail-m_4229355412653970036gmail-m_-416515969349546386gmail-m_-6811870370378316427Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div class="">Web<span class="gmail-m_4229355412653970036gmail-m_-416515969349546386gmail-m_-6811870370378316427Apple-tab-span" style="white-space:pre-wrap"> </span><a href="http://csgis.de/" target="_blank" class="">http://csgis.de</a></div><div class="">-----------------------------------------------</div><div class=""><br class=""></div><div class="">Hinweis gemäß § 33 BDSG</div><div class="">Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div><div class="">Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div><div class="">erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div><div class="">von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div><div class="">Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div></div></div></div></div></div></div></div>
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 04.01.2019 um 09:29 schrieb Dimitris Kar <<a href="mailto:dkarakostis@gmail.com" target="_blank" class="">dkarakostis@gmail.com</a>>:</div><br class="gmail-m_4229355412653970036gmail-m_-416515969349546386gmail-m_-6811870370378316427Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">Hello Toni, <br class=""></div><div class=""><br class=""></div><div class="">Thanks for the answer. After reinstalling everything in a fresh VM, everything runs fine. I also made some tests editing the templates and creating a contrib app and everything seems to be working. I am aware that when using the geonode-project, its not recommended to edit/change the geonode core but I was curious to try that. For some reason though when I do minor changes on templates (/Envs/geonode/src/geonode), they are not applied. Are you aware if this is the expected behavior?</div><div class=""><br class=""></div><div class="">Also I have checked your video on vimeo (<a href="https://vimeo.com/278003647#t=37m37s" target="_blank" class="">https://vimeo.com/278003647#t=37m37s</a>). Great documentation! <br class=""></div></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Wed, Jan 2, 2019 at 6:43 PM Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank" class="">toni.schoenbuchner@csgis.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">Hi Dimitris,<div class=""><br class=""></div><div class="">let me recap:</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">IOError: [Errno 13] Permission denied: '/usr/local/share/GeoIP'<br class=""></div></div></div></div></div></div></div></blockquote><div class=""><br class=""></div><div class="">This was solved by settings permissions of /usr/local/share</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">And then when I run the paver sync or the paver start (as in the instructions), I get:</div><div class="">"...</div><div class="">django.db.utils.OperationalError: could not connect to server: Connection refused<br class=""> Is the server running on host "localhost" (127.0.0.1) and accepting<br class=""> TCP/IP connections on port 5432?<br class=""></div></div></div></div></div></div></div></blockquote><div class=""><br class=""></div>Note, with dev setup there is neither tomcat nor postgresql involved.</div><div class="">GeoServer is run by use of Jetty. Instead of Postgresql Setup we´re using</div><div class="">Sqlite.</div><div class=""><br class=""></div><div class="">So the error is here:</div><div class=""><span style="font-family:ArialMT" class=""><span class="gmail-m_4229355412653970036gmail-m_-416515969349546386gmail-m_-6811870370378316427gmail-m_3709636100140821228Apple-tab-span" style="white-space:pre-wrap"> </span>DJANGO_SETTINGS_MODULE=wfp_geonode.local_settings</span></div><div class=""><font face="ArialMT" class="">You´re using local_settings which expects a running postgresql server.</font></div><div class=""><font face="ArialMT" class=""><a href="https://github.com/GeoNode/geonode-project/blob/master/project_name/local_settings.py.sample#L88" target="_blank" class="">https://github.com/GeoNode/geonode-project/blob/master/project_name/local_settings.py.sample#L88</a></font></div><div class=""><font face="ArialMT" class=""><br class=""></font></div><div class=""><font face="ArialMT" class="">Try: </font></div><div class=""><span style="font-family:ArialMT" class=""><span class="gmail-m_4229355412653970036gmail-m_-416515969349546386gmail-m_-6811870370378316427gmail-m_3709636100140821228Apple-tab-span" style="white-space:pre-wrap"> </span>DJANGO_SETTINGS_MODULE=wfp_geonode.settings</span><font face="ArialMT" class=""><br class=""></font><div class="">(settings instead of local_settings) instead.</div><div class=""><br class=""></div><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">I am running the installation in a virtual environment inside a vagrant VM (ubuntu/xenial64). I thought it could be related with the port forwarding but that seems to be configured ok in the vagrantfile:</div><div class=""><br class=""></div><div class=""> config.vm.network :forwarded_port, guest: 5432, host: 5432</div></div></div></div></div></div></blockquote><div class=""><br class=""></div>This is totally fine. It would only matter when running in production.</div><div class="">(Sqlite should not care about the port, in production I would further close 5432 and</div><div class="">only connect by local_tunnel to postgres)<br class=""><div class=""><br class=""></div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">I also tried to check the configuration in the pg_config file but I can not find out where my postgres is installed. I run: which psql but there is no output. </div></div></div></div></div></div></blockquote><div class=""><br class=""></div><div class="">Also only relevant with production setup. ;)</div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">On a different note, the installation comes with jetty server right?</div></div></div></div></div></div></blockquote><div class=""><br class=""></div><div class="">See above.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">As summary. You can use the dev setup with with django-dev-server, jetty and sqlite to quickly</div><div class="">setup a environment for development. Going to production is much more complex as the different</div><div class="">parts have to be configured. ( The docs explain how (a bit outdated but working.) I´ve created a little</div><div class="">ansible playbook which automates those steps: <a href="https://github.com/csgis/geonode_ansible" target="_blank" class="">https://github.com/csgis/geonode_ansible</a> )</div><div class=""><br class=""></div><div class="">Hope this helps,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""></div><div class=""><br class=""></div></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>