[GeoNode-users] Geonode - Error on uploading layer

Francesco Bartoli xbartolone at gmail.com
Mon Apr 10 04:31:55 PDT 2017


Can you double check what you have in the settings for the geoserver
configurations?  
  
Sent from [Nylas Pro](https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc
/local-677d8377-2abb/0?redirect=https%3A%2F%2Fnylas.com%2Fnylas-
pro%3Fref%3Dn1&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=), the most powerful
email app for work![](https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc
/local-677d8377-2abb?r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)

  
On apr 10 2017, at 1:28 pm, giuseppe musumeci <musumeci.giuseppe at gmail.com>
wrote:  

> Dear Francesco,

>

>  

>

> I followed the tutorial

>

>  

>

> I need to set <proxyBaseUrl>[http://localhost:8001/geoserver/](http://localh
ost:8080/geoserver/&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)</proxyBaseUrl>

>

>  

>

> and not <proxyBaseUrl>[http://localhost:8001/](http://localhost:8080/geoserv
er/&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)</proxyBaseUrl>

>

>  

>

> In this way geoserver seems to work fine.

>

>  

>

> The problem is I'm not able to upload layers from geonode menu

>

>  

>

> [Errno 111] Connection refused  

>

>  

>

>  

>

>  

>

> 2017-04-10 13:18 GMT+02:00 Francesco Bartoli
<[xbartolone at gmail.com](mailto:xbartolone at gmail.com)>:  

>

>> Giuseppe,

>>

>>  

>>

>> if you set "<proxyBaseUrl>[http://localhost:8080/geoserver/](http://localho
st:8080/geoserver/&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)</proxyBaseUrl>"
then you have to make that url reachable from your host. That means

>>

>> the configuration
"[config.vm.network](https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc
/local-eec0852c-64f5/0?redirect=config.vm.network&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ2
1haWwuY29t&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=) "forwarded_port",
guest: 8080, host: 8080” is required otherwise you get the 404 error.

>>

>>  

>>

>> Il giorno 10/apr/2017, alle ore 11:18, giuseppe musumeci
<[musumeci.giuseppe at gmail.com](mailto:musumeci.giuseppe at gmail.com)> ha
scritto:

>>

>>  

>>

>>> To be able to upload layers I must set

>>>

>>>  

>>>

>>> <proxyBaseUrl>[http://localhost:8080/geoserver/](http://localhost:8080/geo
server/&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)</proxyBaseUrl>

>>>

>>>  

>>>

>>> into usr/share/geoserver/data/global.xml

>>>

>>>  

>>>

>>> If I open geoserver from the admin panel the address is

>>>

>>>  

>>>

>>> [http://localhost:8001/geoserver/web/?1](http://localhost:8001/geoserver/w
eb/?1&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)  

>>>

>>>  

>>>

>>> but If i want for example a layer preview

>>>

>>>  

>>>

>>> address change to

>>>

>>> [http://localhost:8080/geoserver/geonode/wms?access_token=h4oWfeewhIhMk1aN
Wvm4nmXSG1QSO1%3Fservice%3DWMS/kml?layers=geonode:fiora_amianto](http://localh
ost:8080/geoserver/geonode/wms?access_token=h4oWfeewhIhMk1aNWvm4nmXSG1QSO1%3Fs
ervice%3DWMS/kml?layers=geonode:fiora_amianto&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2
dlby5vcmc=)  

>>>

>>>  

>>>

>>> with error The requested URL /geoserver/geonode/wms was not found on this
server.

>>>

>>>  

>>>

>>> 2017-04-10 10:58 GMT+02:00 Francesco Bartoli
<[xbartolone at gmail.com](mailto:xbartolone at gmail.com)>:  

>>>

>>>> [config.vm.network](https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc
/local-eec0852c-64f5/0?redirect=config.vm.network&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ2
1haWwuY29t&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=) "forwarded_port",
guest: 8080, host: 8080

>>>>

>>>>  

>>>>

>>>> is simply redundant. It has been added to access geoserver out of the
scope of oauth2.

>>>>

>>>> What url are you going to call in the browser for geoserver?

>>>>

>>>>  
__Sent from [Nylas Pro](https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc
/local-eec0852c-64f5/1?redirect=https%3A%2F%2Fnylas.com%2Fnylas-pro%3Fref%3Dn1
&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5v
cmc=), the most powerful email app for work__

>>>>

>>>> ![](https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-eec0852c-
64f5?r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t)

>>>>

>>>>  
On apr 10 2017, at 10:49 am, giuseppe musumeci
<[musumeci.giuseppe at gmail.com](mailto:musumeci.giuseppe at gmail.com)> wrote:  

>>>>

>>>>> I ran the installation of Geonode using the instructions at the link
[http://geonode.org/geonode-workshop/foss4git2017/#/4/2](http://geonode.org
/geonode-workshop/foss4git2017/#/4/2&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=
Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)

>>>>>

>>>>>  

>>>>>

>>>>> I think there are problems in the instructions about geoserver
configuration:

>>>>>

>>>>>  

>>>>>

>>>>> $ Sudo vi usr / share / geoserver / data / global.xml

>>>>>

>>>>>  

>>>>>

>>>>> I changed the default settings with those specified:

>>>>>

>>>>> <ProxyBaseUrl> http: // localhost: 8001 / </ proxyBaseUrl>

>>>>>

>>>>>  

>>>>>

>>>>> But geoserver don't works: I then set the value to

>>>>>

>>>>>  

>>>>>

>>>>> moreover i Think that to configure vagrantfile as suggested:

>>>>>

>>>>>  

>>>>>

>>>>> config.vm.network "forwarded_port", guest: 8080, host: 8080

>>>>>

>>>>>  

>>>>>

>>>>> is not correct.

>>>>>

>>>>>  

>>>>>

>>>>> Could someone tell me the correct settings values for geoserver and
vagrantfile?

>>>>>

>>>>>  

>>>>>

>>>>> 2017-04-06 14:40 GMT+02:00 Francesco Bartoli
<[xbartolone at gmail.com](mailto:xbartolone at gmail.com)>:  

>>>>>

>>>>>> Dear Giuseppe,

>>>>>>

>>>>>>  

>>>>>>

>>>>>> as already replied on the italian gfoss list you should check to follow
from scratch the workshop [http://geonode.org/geonode-
workshop/foss4git2017/#/4/2](http://geonode.org/geonode-workshop/foss4git2017/
#/4/2&r=bXVzdW1lY2kuZ2l1c2VwcGVAZ21haWwuY29t&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2d
lby5vcmc=) 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.

>>>>>>

>>>>>>  

>>>>>>

>>>>>> Thanks,

>>>>>>

>>>>>> Francesco

>>>>>>

>>>>>>

>>>>>>

>>>>>> Il giorno 06/apr/2017, alle ore 14:12, giuseppe musumeci
<[musumeci.giuseppe at gmail.com](mailto:musumeci.giuseppe at gmail.com)> ha
scritto:

>>>>>>

>>>>>>  

>>>>>>

>>>>>>> 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: **failed to
create /var/www/vagrant-ubuntu-trusty-64.MainThread-3777** In the Apache error
log is as follows: **ERROR: geonode.layers.views: failed to create /var/www
/vagrant-ubuntu-trusty-64.Dummy-2-3778** 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?  

>>>>>>>

>>>>>>> _______________________________________________  
geonode-users mailing list  
[geonode-users at lists.osgeo.org](mailto:geonode-users at lists.osgeo.org)  
[https://lists.osgeo.org/mailman/listinfo/geonode-
users](https://lists.osgeo.org/mailman/listinfo/geonode-users&r=bXVzdW1lY2kuZ2
l1c2VwcGVAZ21haWwuY29t&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)  

>>>>>>

>>>>>>  

>>>>>

>>>>>  

>>>

>>>  

>>

>>  

>

>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170410/f2a03ab1/attachment.html>


More information about the geonode-users mailing list