[GeoNode-users] I can't upload layers

Annalisa Schiavon annalisa.schiavon at gmail.com
Thu Nov 30 00:36:49 PST 2017


No, I didn't fix it.
Due to other priorities, I'm still using old geonode 2.4.
I hoped in a fix in current 2.6 stable version, but I didn't yet installed
it.


2017-11-27 16:25 GMT+01:00 Ariel Neri <ariel.neriw at gmail.com>:

> Hi Annalisa, could you fix this issue? I´m facing the same problem and i
> would like to how you did it. Thanks!
>
> Ariel
>
> 2017-07-18 5:02 GMT-03:00 Francesco Bartoli <xbartolone at gmail.com>:
>
>> You should review a little bit the configuration of your installation in
>> particular the section of oauth2 configuration. Maybe a look at the
>> workshop http://geonode.org/geonode-workshop/foss4git2017/#/4/7
>> <https://n1.nylas.com/link/c6ec8a14bed90b1d818e5d0b0315b3664218da2fcd6721ea6d412ed515bbd5d7/0?redirect=http%3A%2F%2Fgeonode.org%2Fgeonode-workshop%2Ffoss4git2017%2F%23%2F4%2F7&recipient=geonode-users%40lists.osgeo.org>
>> you attended in Genova can help.
>>
>> Francesco
>>
>> Sent from Nylas Mail
>> <https://n1.nylas.com/link/c6ec8a14bed90b1d818e5d0b0315b3664218da2fcd6721ea6d412ed515bbd5d7/1?redirect=https%3A%2F%2Fnylas.com%3Fref%3Dn1&recipient=geonode-users%40lists.osgeo.org>,
>> the best free email app for work
>>
>> On lug 18 2017, at 9:53 am, Annalisa Schiavon <
>> annalisa.schiavon at gmail.com> wrote:
>>
>>> Hi Francesco!
>>> I run the command you suggest and I receive
>>>
>>> curl http://localhost:8080/geoserver/rest/workspaces.json
>>> <http://localhost:8080/geoserver/rest/workspaces.json?recipient=geonode-users%40lists.osgeo.org>
>>> {"workspaces":""}
>>>
>>> I do not understand what is misconfigured in my Geoserver-Geonode!
>>>
>>> Than, I set Active role Service = default in Geoserver (Security
>>> Settings) and I could upload my layer ...
>>> Now I set again Active role Service = geonode REST role service and I
>>> get this Warning in geoserver log:
>>>
>>> WARN [geofence.cache] - org.geoserver.geofence.cache.C
>>> achedRuleReader$NoAuthException: Can't auth user [admin]
>>>
>>>
>>>
>>> 2017-07-17 16:46 GMT+02:00 Francesco Bartoli <xbartolone at gmail.com>:
>>>
>>> Hi Annalisa,
>>>
>>> can you try to make a curl call to that endpoint from within the server?
>>> Basically connect through ssh and then run from the shell:
>>>
>>> $ curl http://localhost
>>> <http://localhost/?recipient=geonode-users%40lists.osgeo.org>:8
>>> 080/geoserver/rest/workspaces.json
>>>
>>> you should receive something like
>>>
>>> {"workspaces":""}
>>>
>>> If you get 404 the it's likely geoserver is not routed through localhost.
>>>
>>> Hope this helps
>>>
>>> Sent from Nylas Mail
>>> <https://n1.nylas.com/link/82bc912f54831b3fad494772c7bf7019a669ef0039d12be59d86966dcf2688fb/0?redirect=https%3A%2F%2Fnylas.com%3Fref%3Dn1&amp%3Brecipient=annalisa.schiavon%40gmail.com&recipient=geonode-users%40lists.osgeo.org>,
>>> the best free email app for work
>>>
>>> On lug 17 2017, at 3:15 pm, Annalisa Schiavon <
>>> annalisa.schiavon at gmail.com> wrote:
>>>
>>> Hi all.
>>> I've migrated all my old layers, but now I can't upload a layer from ui.
>>> It says:
>>> "Tried to make a GET request to http://localhost:8080/geoserve
>>> r/rest/workspaces/default.xml
>>> <http://localhost:8080/geoserver/rest/workspaces/default.xml?recipient=geonode-users%40lists.osgeo.org>
>>> but got a 404 status code: No such workspace: default"
>>>
>>> In apache log I find:
>>>
>>> ... Tried to make a GET request to http://localhost:8080/geoserve
>>> r/rest/workspaces/default.xml
>>> <http://localhost:8080/geoserver/rest/workspaces/default.xml?recipient=geonode-users%40lists.osgeo.org>
>>> but got a 404 status code:
>>> ... [wsgi:error] [pid 9903:tid 139960535320320] No such workspace:
>>> default
>>>
>>> In effect I have only one workspace: geonode, wich is the default one.
>>> My geoserver-data-dir points to /mnt/geodata/geoserver_data and there is
>>> the file /mnt/geodata/geoserver_data/workspaces/default.xml of tomcat7
>>> user with 664 permission.
>>>
>>> Please help!
>>>
>>> Now I can login with geonode user both in geonode that in geoserver and
>>> I see layers and maps and all thumbs.
>>>
>>> Annalisa
>>>
>>> _______________________________________________
>>> geonode-users mailing listgeonode-users at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/geonode-users <https://lists.osgeo.org/mailman/listinfo/geonode-users?recipient=geonode-users%40lists.osgeo.org>
>>>
>>>
>>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20171130/688baeff/attachment.html>


More information about the geonode-users mailing list