<div dir="ltr">I checked all steps of your tutorial. I have yet the errors I posted in the last mail.</div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-21 12:54 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div name="messageBodySection">Giuseppe,<br>
<br>
Please review all the updated configurations of the workshop. They are fully working now. In case try to restart the vagrant vm from scratch.</div>
<div name="messageSignatureSection"><br>
Thanks,<br>
Francesco</div><div><div class="h5">
<div name="messageReplySection"><br>
21 apr 2017, 12:18 +0200, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>>, ha scritto:<br>
<blockquote type="cite">
<div dir="ltr">Hi francesco.
<div><br></div>
<div>I'm having problem with this configuration.</div>
<div><br></div>
<div>1.from geoserver if i want a preview I get this error:</div>
<div>
<h1 style="color:rgb(51,51,51);font-size:1.6em;font-weight:normal;line-height:1.25em;margin-bottom:16px;margin-top:0px;word-wrap:break-word;font-family:"segoe ui",tahoma,sans-serif;background-color:rgb(247,247,247)">Impossibile trovare la pagina <span>localhost</span></h1>
<p style="display:inline;color:rgb(100,100,100);font-family:"segoe ui",tahoma,sans-serif;font-size:15px;background-color:rgb(247,247,247)">Nessuna pagina web trovata per l'indirizzo web:<strong><a href="http://localhost/geoserver/geonode/wms?service=WMS&version=1.1.0&request=GetMap&layers=geonode:comunidart&styles=&bbox=1553666.125,4677093.5,1772807.875,4926024.5&width=676&height=768&srs=EPSG:3003&format=application/openlayers" target="_blank">http://localhost/<wbr>geoserver/geonode/wms?service=<wbr>WMS&version=1.1.0&request=<wbr>GetMap&layers=geonode:<wbr>comunidart&styles=&bbox=<wbr>1553666.125,4677093.5,1772807.<wbr>875,4926024.5&width=676&<wbr>height=768&srs=EPSG:3003&<wbr>format=application/openlayers</a></strong></p>
<span style="color:rgb(100,100,100);font-family:"segoe ui",tahoma,sans-serif;font-size:15px;background-color:rgb(247,247,247)"></span><span style="color:rgb(100,100,100);font-family:"segoe ui",tahoma,sans-serif;font-size:15px;background-color:rgb(247,247,247)"></span>
<div class="m_7265161948704187685error-code" style="color:rgb(100,100,100);font-size:0.8em;margin-top:15px;opacity:1;text-transform:uppercase;font-family:"segoe ui",tahoma,sans-serif;background-color:rgb(247,247,247)">HTTP ERROR 404</div>
</div>
<div class="m_7265161948704187685error-code" style="color:rgb(100,100,100);font-size:0.8em;margin-top:15px;opacity:1;text-transform:uppercase;font-family:"segoe ui",tahoma,sans-serif;background-color:rgb(247,247,247)"><br></div>
<div class="m_7265161948704187685error-code" style="color:rgb(100,100,100);font-size:0.8em;margin-top:15px;opacity:1;text-transform:uppercase;font-family:"segoe ui",tahoma,sans-serif;background-color:rgb(247,247,247)">2. pOSTGRESQL</div>
<div class="m_7265161948704187685error-code" style="color:rgb(100,100,100);font-size:0.8em;margin-top:15px;opacity:1;text-transform:uppercase;font-family:"segoe ui",tahoma,sans-serif;background-color:rgb(247,247,247)">i'M UNABLE TO CONNECT PGADMIN RUNNING IN WINDOWS TO GEONODE DATABASE RUNNING IN vm</div>
<div class="m_7265161948704187685error-code" style="color:rgb(100,100,100);font-size:0.8em;margin-top:15px;opacity:1;text-transform:uppercase;font-family:"segoe ui",tahoma,sans-serif;background-color:rgb(247,247,247)">i'VE SPENT LAST TWO DAYS</div>
<div class="m_7265161948704187685error-code" style="color:rgb(100,100,100);font-size:0.8em;margin-top:15px;opacity:1;text-transform:uppercase;font-family:"segoe ui",tahoma,sans-serif;background-color:rgb(247,247,247)"><br></div>
<div class="m_7265161948704187685error-code" style="color:rgb(100,100,100);font-size:0.8em;margin-top:15px;opacity:1;text-transform:uppercase;font-family:"segoe ui",tahoma,sans-serif;background-color:rgb(247,247,247)"><br></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-04-21 0:07 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</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 Giuseppe,
<div><br></div>
<div>I have to adjust my previous hints. To recap the required configurations for geoserver are:</div>
<div><br></div>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-bash m_7265161948704187685m_7395898559804379527hljs">/usr/share/geoserver/data/secu<wbr>rity/role/geonode\ REST\ role\ service/config.</code>
</pre>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-xml m_7265161948704187685m_7395898559804379527hljs"><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<span class="m_7265161948704187685m_7395898559804379527hljs-title">baseUrl</span>></span><a href="http://localhost:80/" target="_blank">http://localhost:80/</a><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<wbr>/<span class="m_7265161948704187685m_7395898559804379527hljs-title">baseUrl</span>></span></code>
</pre>
<div><br></div>
</div>
</div>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-bash m_7265161948704187685m_7395898559804379527hljs">/usr/share/geoserver/data/secu<wbr>rity/filter/geonode-oauth2/<wbr>config.xml</code>
</pre>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-xml m_7265161948704187685m_7395898559804379527hljs"><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<span class="m_7265161948704187685m_7395898559804379527hljs-title">accessTokenUri</span>></span><a href="http://localhost/o/token/" target="_blank">http://localho<wbr>st/o/token/</a><span class="m_7265161948704187685m_7395898559804379527hljs-tag"></<span class="m_7265161948704187685m_7395898559804379527hljs-title">accessTokenUri</span>></span></code>
</pre>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-xml m_7265161948704187685m_7395898559804379527hljs"><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<span class="m_7265161948704187685m_7395898559804379527hljs-title">userAuthorizationUri</span>></span><a href="http://localhost:8001/o/authorize/" target="_blank">http://l<wbr>ocalhost:8001/o/authorize/</a><span class="m_7265161948704187685m_7395898559804379527hljs-tag"></<span class="m_7265161948704187685m_7395898559804379527hljs-title">us<wbr>erAuthorizationUri</span>></span></code>
</pre>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-xml m_7265161948704187685m_7395898559804379527hljs"><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<span class="m_7265161948704187685m_7395898559804379527hljs-title">redirectUri</span>></span><a href="http://localhost:8001/geoserver" target="_blank">http://localhost:<wbr>8001/geoserver</a><span class="m_7265161948704187685m_7395898559804379527hljs-tag"></<span class="m_7265161948704187685m_7395898559804379527hljs-title">redirectUri</span>></span></code>
</pre>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-xml m_7265161948704187685m_7395898559804379527hljs"><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<span class="m_7265161948704187685m_7395898559804379527hljs-title">checkTokenEndpointUrl</span>></span><a href="http://localhost/api/o/v4/tokeninfo/" target="_blank">http://<wbr>localhost/api/o/v4/tokeninfo/</a><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<wbr>/<span class="m_7265161948704187685m_7395898559804379527hljs-title">checkTokenEndpointUrl></span></span></code>
</pre>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-xml m_7265161948704187685m_7395898559804379527hljs"><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<span class="m_7265161948704187685m_7395898559804379527hljs-title">logoutUri</span>></span><a href="http://localhost:8001/account/logout/" target="_blank">http://localhost:80<wbr>01/account/logout/</a><span class="m_7265161948704187685m_7395898559804379527hljs-tag"></<span class="m_7265161948704187685m_7395898559804379527hljs-title">logoutUri</span>></span></code>
</pre>
<div><br></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-bash m_7265161948704187685m_7395898559804379527hljs">/usr/share/geoserver/data/secu<wbr>rity/auth/geonodeAuthProvider/<wbr>config.xml</code>
</pre>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-xml m_7265161948704187685m_7395898559804379527hljs"><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<span class="m_7265161948704187685m_7395898559804379527hljs-title">baseUrl</span>></span><a href="http://localhost:8001/" target="_blank">http://localhost:8001<wbr>/</a><span class="m_7265161948704187685m_7395898559804379527hljs-tag"></<span class="m_7265161948704187685m_7395898559804379527hljs-title">baseUrl</span>></span></code>
</pre>
<div><br></div>
</div>
</div>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-bash m_7265161948704187685m_7395898559804379527hljs">/usr/share/geoserver/data/glob<wbr>al.xml</code>
</pre>
<div>
<pre><code class="m_7265161948704187685m_7395898559804379527lang-xml m_7265161948704187685m_7395898559804379527hljs"><span class="m_7265161948704187685m_7395898559804379527hljs-tag"><<span class="m_7265161948704187685m_7395898559804379527hljs-title">proxyBaseUrl</span>></span><a href="http://localhost:80/geoserver" target="_blank">http://localhost<wbr>:80/geoserver</a><span class="m_7265161948704187685m_7395898559804379527hljs-tag"></<span class="m_7265161948704187685m_7395898559804379527hljs-title">proxyBaseUrl</span>></span></code>
</pre></div>
</div>
<div>I have updated the workshop, also figuring out that this configuration is a GeoNode full proxied use case where the internal port 8080 is not forwarded to the host machine.</div>
<div>Thanks for reporting your initial issues.</div>
<div><br></div>
<div>Hope this definitively clarifies,</div>
<div>Francesco</div>
<div>
<div class="m_7265161948704187685h5">
<div><br>
<div>
<div>Il giorno 12/apr/2017, alle ore 21:34, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> ha scritto:</div>
<br class="m_7265161948704187685m_7395898559804379527Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Leaving <span style="font-size:12.8px"><proxyBaseUrl> unaltered. I'm able to load layer but I'm not able to preview it in geoserver:</span>
<div><span style="font-size:12.8px"><br></span></div>
<div><span style="font-size:12.8px">The port changes from 8001 to 8080 and I have the error</span></div>
<div><span style="font-size:12.8px"> "</span><span style="font-family:'times new roman';font-size:inherit">The requested URL /geoserver/geonode/wms was not found on this server."</span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-04-11 12:28 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Simone you are right. I will update the slide, it was my fault.
<div><br></div>
<div> @Giuseppe you have to leave <proxyBaseUrl> unaltered. <span><br>
<br>
<u></u>Sent from <a href="https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-070d2acb-91ee/0?redirect=https%3A%2F%2Fnylas.com%2Fnylas-pro%3Fref%3Dn1&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">Nylas Pro</a>, the most powerful email app for work<u></u></span></div>
<img class="m_7265161948704187685m_7395898559804379527m_-1771724770092120060n1-open" width="0" height="0" style="border:0;width:0;height:0" src="https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-070d2acb-91ee?r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t">
<div class="m_7265161948704187685m_7395898559804379527HOEnZb">
<div class="m_7265161948704187685m_7395898559804379527h5">
<div class="gmail_quote m_7265161948704187685m_7395898559804379527m_-1771724770092120060nylas-quote m_7265161948704187685m_7395898559804379527m_-1771724770092120060nylas-quote-id-66sk4r3ay261y1kohagdu3g4t"><br>
On apr 11 2017, at 7:23 am, Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Dears, just a not.
<div>In the vagrant installation we made at the workshop, there's no need to forward geoserver to the host as the apache proxy will take care of serving under localhost:8001/geoserver.</div>
<div><br></div>
<div>Best</div>
</div>
<div><br>
<div>2017-04-10 23:35 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">See inline
<div><br>
<div><span></span>
<div><span>Il giorno 10/apr/2017, alle ore 21:14, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> ha scritto:</span></div>
<span><br></span>
<blockquote type="cite"><span></span>
<div dir="ltr"><span>I followed your instructions.</span>
<div><span><br></span></div>
<div><span>There are few differences:</span></div>
<div><span><br></span>
<div><span></span>
<div><span><span style="font-family:'ubuntu mono';white-space:pre-wrap">in order the system works</span> I must set </span></div>
<div><i><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap"><<span style="margin:0px;padding:0px;border:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline">proxyBaseUrl</span>></span><span style="font-family:"ubuntu mono";white-space:pre-wrap"><a href="http://localhost:8001/geoserver&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://localhost<wbr>:8001/geoserver</a> /</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap"></<span style="margin:0px;padding:0px;border:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline">proxyBaseUrl</span>></span></i></div>
<div><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap">instead of</span></div>
<div><i><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap"><<span style="margin:0px;padding:0px;border:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline">proxyBaseUrl</span>></span><span style="font-family:"ubuntu mono";white-space:pre-wrap"><a href="http://localhost:8001/&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://localhost<wbr>:8001/</a> /</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap"></<span style="margin:0px;padding:0px;border:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;vertical-align:baseline">proxyBaseUrl</span>></span></i></div>
</div>
</div>
</div>
</blockquote>
<div><br></div>
<div>This is not required if the settings are configured fine. During an installation with apt-get this is done automatically while executing the command geonode-updateip</div>
<br>
<blockquote type="cite">
<div dir="ltr"><span></span>
<div><span></span>
<div><span><br></span></div>
<div><span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap"><br></span></span></div>
<div><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap">I cannot edit vagrant file with</span> <span style="background-color:rgb(255,255,255)"><i><span style="font-family:"ubuntu mono";white-space:pre-wrap">config.vm.network</span> <span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap">"forwarded_port"</span><span style="font-family:"ubuntu mono";white-space:pre-wrap">, guest:</span> <span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap">8080</span><span style="font-family:"ubuntu mono";white-space:pre-wrap">, host:</span></i> <span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap"><i>8080</i></span></span></div>
</div>
<div><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap">infact I get the error</span></span></div>
<div><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap">"</span></span>Vagrant cannot forward the specified ports on this VM, since they would collide with some other application that is already listening on these ports. The forwarded port to 8080 is already in use on the host machine.”</div>
</div>
</blockquote>
<div><br></div>
<div>You have another process which is running on port 8080 in your host machine. Please shutdown that. </div>
<span><br></span>
<blockquote type="cite"><span></span>
<div dir="ltr"><span></span>
<div><span><br></span></div>
<div><span><br></span></div>
<div><span>If I try to upload a layer I get this error <span style="background-color:rgb(252,248,227);color:rgb(138,109,59);font-family:lato,sans-serif;font-size:16px">[Errno 111] Connection refused</span></span></div>
<div><span style="background-color:rgb(252,248,227);color:rgb(138,109,59);font-family:lato,sans-serif;font-size:16px"><br></span></div>
<div><span style="background-color:rgb(252,248,227);font-family:lato,sans-serif;font-size:16px">but if I access geoserver on </span><span style="font-size:16px"><a href="http://localhost:8001/geoserver/web&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://localhost:8001/geose<wbr>rver/web</a></span></div>
</div>
</blockquote>
<div><br></div>
<div>Apparently some geoserver configurations in your settings are still wrong. Are you sure you started a new installation after a vagrant destroy?</div>
<div><br>
<blockquote type="cite">
<div dir="ltr">
<div><span style="font-size:16px"><br></span></div>
<div><span style="font-size:16px">I see that layers have been uploaded into geoserver.</span></div>
<div><span style="font-size:16px;font-family:lato,sans-serif"><br></span></div>
<div><span style="font-size:16px;font-family:lato,sans-serif">Nevethless If I watch in</span><span style="font-size:16px;white-space:pre-wrap">to geonode I see that "</span><span style="font-size:16px;white-space:pre-wrap">No content created yet"</span></div>
<div><span style="white-space:pre-wrap"> </span></div>
<div><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap"><br></span></span></div>
</div>
<div><br>
<div>2017-04-10 16:09 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">If you have run “sudo geonode-updateip localhost:8001” then the next thing to do is to check again the configuration of geoserver in settings file and for the security in the data directory.
<div> <br>
<div>
<div>Il giorno 10/apr/2017, alle ore 16:05, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> ha scritto:</div>
<br>
<blockquote type="cite">
<div dir="auto">I've already done it in this attempt</div>
<div><br>
<div>Il 10/apr/2017 16:02, "Francesco Bartoli" <<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>> ha scritto:<br type="attribution">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Can you please repeat all the commands from scratch? You can do it by running “vagrant destroy”
<div><br>
<div>
<div>Il giorno 10/apr/2017, alle ore 15:46, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> ha scritto:</div>
<br>
<blockquote type="cite">
<div dir="ltr">I installed again geonode according the tutorial
<div><br></div>
<div>I run the command geonode-updateip</div>
<div><br></div>
<div>I have problem to load layers:[Errno 111] Connection refused</div>
<div><br></div>
<div>Where I'm wrong?</div>
<div><br></div>
<div><br></div>
<div><br></div>
</div>
<div><br>
<div>2017-04-10 14:43 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Yes, absolutely. It looks like you missed this one <a href="http://geonode.org/geonode-workshop/foss4git2017/#/4/6&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://geonode.org/geonode<wbr>-workshop/foss4git2017/#/4/6</a>
<div><br>
<div>
<div>Il giorno 10/apr/2017, alle ore 14:39, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> ha scritto:</div>
<br>
<blockquote type="cite">
<div dir="ltr">I followed all the istructions in the tutorial you send me.
<div><br></div>
<div>Is there a way to correct these errors using a command <span style="background-color:rgb(204,204,204)">(i.e <span style="font-family:"ubuntu mono";white-space:pre-wrap">sudo geonode-updateip localhost:</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:"ubuntu mono";vertical-align:baseline;white-space:pre-wrap">8001)?</span></span></div>
</div>
<div><br>
<div>2017-04-10 14:33 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">How did you perform the installation?
<div>You were originally receive that error because GEOSERVER_PUBLIC_LOCATION is wrong. It should be:</div>
<div><br></div>
<div>'<a href="http://localhost:8001/geoserver&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t'" target="_blank">http://localhost:8001/geoserv<wbr>er'</a></div>
<div><br>
<div>
<div>Il giorno 10/apr/2017, alle ore 13:44, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> ha scritto:</div>
<br>
<blockquote type="cite">
<div dir="ltr">From /usr/local/lib/python2.7/<wbr>dist-packages/geonode/settings<wbr>.py
<div><br></div>
<div>
<div>GEOSERVER_LOCATION = os.getenv(</div>
<div>    'GEOSERVER_LOCATION', '<a href="http://localhost:8080/geoserver/&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://localhost:8080/geoserv<wbr>er/</a>'</div>
<div>)</div>
<div>GEOSERVER_PUBLIC_LOCATION = os.getenv(</div>
<div>    'GEOSERVER_PUBLIC_LOCATION', '<a href="http://localhost:8080/geoserver/&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://localhost:8080/geoserv<wbr>er/</a>'</div>
<div>)</div>
</div>
<div><br></div>
<div><br></div>
<div>From /etc/geonode/local_settin<wbr>gs.py</div>
<div>GEOSERVER_URL = SITEURL + 'geoserver/'</div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
</div>
<div><br>
<div>2017-04-10 13:31 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you double check what you have in the settings for the geoserver configurations?<span><br>
<br>
<u></u>Sent from <a href="https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-677d8377-2abb/0?redirect=https%3A%2F%2Fnylas.com%2Fnylas-pro%3Fref%3Dn1&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">Nylas Pro</a>, the most powerful email app for work<u></u><img width="0" height="0" style="border:0;width:0;height:0" src="https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-677d8377-2abb?r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t"></span>
<div><br>
On apr 10 2017, at 1:28 pm, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Dear Francesco,
<div><br></div>
<div>I followed the tutorial</div>
<div><br></div>
<div>I need to set <span style="font-size:12.8px;font-family:arial,helvetica,sans-serif;white-space:pre-wrap"><proxyBaseUrl></span><a href="http://localhost:8080/geoserver/&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" style="font-size:12.8px;font-family:arial,helvetica,sans-serif;white-space:pre-wrap" target="_blank">http://localhost<wbr>:8001/geoserver/</a><span style="white-space:pre-wrap"></proxyBaseUrl<wbr>></span></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap">and not</span> <span style="font-size:12.8px;font-family:arial,helvetica,sans-serif;white-space:pre-wrap"><proxyBaseUrl></span><a href="http://localhost:8080/geoserver/&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" style="font-size:12.8px;font-family:arial,helvetica,sans-serif;white-space:pre-wrap" target="_blank">http://localhost<wbr>:8001/</a><span style="white-space:pre-wrap"></proxyBaseUrl></span></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap">In this way geoserver seems to work fine.</span></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap">The problem is I'm not able to upload layers from geonode menu</span></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="color:rgb(138,109,59);font-family:lato,sans-serif;font-size:16px;background-color:rgb(252,248,227)">[Errno 111] Connection refused</span><br></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap"><br></span></div>
</div>
<div><br>
<div>2017-04-10 13:18 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Giuseppe,
<div><br></div>
<div>if you set "<span style="font-family:arial,helvetica,sans-serif;white-space:pre-wrap"><proxyBaseUrl></span><a href="http://localhost:8080/geoserver/&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" style="font-family:arial,helvetica,sans-serif;white-space:pre-wrap" target="_blank">http://localhos<wbr>t:8080/geoserver/</a><span style="white-space:pre-wrap"></proxyBaseUr<wbr>l>" then you have to make that url reachable from your host. That means</span></div>
<div><span style="white-space:pre-wrap">the configuration "</span><a href="https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-eec0852c-64f5/0?redirect=config.vm.network&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" title="config.vm.network" style="color:rgb(16,129,247);font-family:Nylas-Pro,Helvetica,'Lucidia Grande',sans-serif;font-size:14.5px" target="_blank">config.vm.network</a> "forwarded_<wbr>port", guest: 8080, host: 8080” is required otherwise you get the 404 error.</div>
<div>
<div><br></div>
<div>
<div>
<div>Il giorno 10/apr/2017, alle ore 11:18, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> ha scritto:</div>
<br>
<blockquote type="cite">
<div dir="ltr">To be able to upload layers I must set <span style="white-space:pre-wrap"> </span>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap"><proxyBaseUrl><a href="http://localhost:8080/geoserver/&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://localhost<wbr>:8080/geoserver/</a></proxyBaseUrl<wbr>></span></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap">into</span> <span style="white-space:pre-wrap">usr/share/geoserver/data/globa<wbr>l.xml</span></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap">If I open geoserver from the admin panel the address is</span></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap"><a href="http://localhost:8001/geoserver/web/?1&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://localhost:8001/geoserve<wbr>r/web/?1</a></span><br></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap">but If i want for example a layer preview</span></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap">address change to</span></div>
<div><span style="white-space:pre-wrap"><a href="http://localhost:8080/geoserver/geonode/wms?access_token=h4oWfeewhIhMk1aNWvm4nmXSG1QSO1%3Fservice%3DWMS/kml?layers=geonode:fiora_amianto&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://localhost:8080/geoserve<wbr>r/geonode/wms?access_token=h4o<wbr>WfeewhIhMk1aNWvm4nmXSG1QSO1%3F<wbr>service%3DWMS/kml?layers=geono<wbr>de:fiora_amianto</a></span><br></div>
<div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap">with error</span> <span style="font-family:'times new roman';font-size:inherit">The requested URL /geoserver/geonode/wms was not found on this server.</span></div>
</div>
<div><br>
<div>2017-04-10 10:58 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><a href="https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-eec0852c-64f5/0?redirect=config.vm.network&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" title="config.vm.network" style="color:rgb(16,129,247);font-family:Nylas-Pro,Helvetica,"Lucidia Grande",sans-serif;font-size:14.5px" target="_blank">config.vm.network</a> "forwarded_p<wbr>ort", guest: 8080, host: 8080</span>
<div>
<div><br></div>
<div>is simply redundant. It has been added to access geoserver out of the scope of oauth2.</div>
<div>What url are you going to call in the browser for geoserver?</div>
<br>
<u></u>Sent from <a href="https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-eec0852c-64f5/1?redirect=https%3A%2F%2Fnylas.com%2Fnylas-pro%3Fref%3Dn1&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">Nylas Pro</a>, the most powerful email app for work<u></u></div>
<img width="0" height="0" style="border:0;width:0;height:0" src="https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-eec0852c-64f5?r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t">
<div>
<div><br>
On apr 10 2017, at 10:49 am, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>I ran the installation of Geonode using the instructions at the link <a href="http://geonode.org/geonode-workshop/foss4git2017/#/4/2&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://geonode.org/geonode-wor<wbr>kshop/foss4git2017/#/4/2</a></div>
<div><br></div>
<div>I think there are problems in the instructions about geoserver configuration:</div>
<div><br></div>
<div>$ Sudo vi usr / share / geoserver / data / global.xml</div>
<div><br></div>
<div>I changed the default settings with those specified:</div>
<div><ProxyBaseUrl> http: // localhost: 8001 / </ proxyBaseUrl></div>
<div><br></div>
<div>But geoserver don't works: I then set the value to</div>
<div><br></div>
<div>moreover i Think that to configure vagrantfile as suggested:</div>
<div><br></div>
<div>config.vm.network "forwarded_port", guest: 8080, host: 8080</div>
<div><br></div>
<div>is not correct.</div>
<div><br></div>
<div>Could someone tell me the correct settings values for geoserver and vagrantfile?</div>
</div>
<div><br>
<div>2017-04-06 14:40 GMT+02:00 Francesco Bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span>:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Dear Giuseppe,
<div><br></div>
<div>as already replied on the italian gfoss list you should check to follow from scratch the workshop <a href="http://geonode.org/geonode-workshop/foss4git2017/#/4/2&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">http://geonode.org/ge<wbr>onode-workshop/foss4git2017/#/<wbr>4/2</a> we did during foss4g-it. If the error is still happening please let me know as probably in this case the beta release is also affected and you can help us with your feedback.</div>
<div><br></div>
<div>Thanks,</div>
<div>Francesco</div>
<div> </div>
<div>
<div><span></span>
<div><span>Il giorno 06/apr/2017, alle ore 14:12, giuseppe musumeci <<a href="mailto:musumeci.giuseppe@gmail.com" target="_blank">musumeci.giuseppe@gmail.com</a>> ha scritto:</span></div>
<span><br></span>
<blockquote type="cite"><span></span>
<div dir="ltr"><span><span style="color:rgb(33,33,33);font-size:16px;white-space:pre-wrap">Dear list I'm working with Geonode that I installed on a VM set via Vagrant When I try to load the shape file, I get this error:</span> <b style="color:rgb(33,33,33);font-size:16px;white-space:pre-wrap">failed to create /var/www/vagrant-ubuntu-trusty<wbr>-64.MainThread-3777</b> <span style="color:rgb(33,33,33);font-size:16px;white-space:pre-wrap">In the Apache error log is as follows:</span> <b style="color:rgb(33,33,33);font-size:16px;white-space:pre-wrap">ERROR: geonode.layers.views: failed to create /var/www/vagrant-ubuntu-trusty<wbr>-64.Dummy-2-3778</b> <span style="color:rgb(33,33,33);font-size:16px;white-space:pre-wrap">Trying to google around I found that in the settings.py file should add the line: NOTIFICATION_LOCK_LOCATION = '/ var / www / geonode' Finally I verified that the www-data user has all permissions on the www / folder geonode drwxr-xr-x 5 www-data root March 21 4096 14:27 geonode The fact remains that I can't upload. Does anyone know help me?</span><br></span></div>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br></blockquote>
</div>
<br></div>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
<br></div>
</div>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
<br></div>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
<br></div>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
<br></div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br></div>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
</div>
<br></div>
</div>
<br>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote>
</div>
<br>
<br>
<div><br></div>
--<br>
<div>Simone </div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
<br></div>
</div>
</div>
</div>
</blockquote>
</div>
<br></div>
</blockquote>
</div>
</div></div></div>

</blockquote></div><br></div>