<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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">musumeci.giuseppe@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="auto">I've already done it in this attempt</div><div class="gmail_extra"><br><div class="gmail_quote">Il 10/apr/2017 16:02, "Francesco Bartoli" <<a href="mailto:xbartolone@gmail.com">xbartolone@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" 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 class="m_5236828945314952270Apple-interchange-newline"><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 class="gmail_extra"><br><div class="gmail_quote">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 class="gmail_quote" 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" target="_blank">http://geonode.org/geonode<wbr>-workshop/foss4git2017/#/4/6</a><div><div class="m_5236828945314952270h5"><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 class="m_5236828945314952270m_2678670401877375321Apple-interchange-newline"><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)">(<font>i.e <span style="font-family:"ubuntu mono";white-space:pre-wrap">sudo geonode-updateip localhost:</span><span class="m_5236828945314952270m_2678670401877375321gmail-hljs-number" 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></font></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">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 class="gmail_quote" 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'" target="_blank">http://localhost:8001/geoserv<wbr>er'</a></div><div><div class="m_5236828945314952270m_2678670401877375321h5"><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 class="m_5236828945314952270m_2678670401877375321m_-1159967486960948124Apple-interchange-newline"><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/" 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/" 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 class="gmail_extra"><br><div class="gmail_quote">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 class="gmail_quote" 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 class="m_5236828945314952270m_2678670401877375321m_-1159967486960948124im m_5236828945314952270m_2678670401877375321m_-1159967486960948124HOEnZb"><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" target="_blank">Nylas Pro</a>, the most powerful email app for work<u></u><img class="m_5236828945314952270m_2678670401877375321m_-1159967486960948124m_-9008360549473621555n1-open" 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 class="m_5236828945314952270m_2678670401877375321m_-1159967486960948124HOEnZb"><div class="m_5236828945314952270m_2678670401877375321m_-1159967486960948124h5"><div class="gmail_quote m_5236828945314952270m_2678670401877375321m_-1159967486960948124m_-9008360549473621555nylas-quote m_5236828945314952270m_2678670401877375321m_-1159967486960948124m_-9008360549473621555nylas-quote-id-aryxw4b6fay88j5ig392530tf">
<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 class="gmail_quote" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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><div>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:</div><br></span><blockquote type="cite"><span><div dir="ltr"><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></div></span>
______________________________<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" 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></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></blockquote></div></div>
</blockquote></div><br></div></body></html>