[GeoNode-users] Unexpected error when uploading

Alessio Fabiani alessio.fabiani at geo-solutions.it
Mon Feb 11 02:51:39 PST 2019


At a first glance, GeoFence rules seem to be good to me.

In that case it could be some REST specific security rule, which is strange
in any case.

Il giorno lun 11 feb 2019 alle ore 11:47 Paolo Pasquali <
paolo.pasquali at gmail.com> ha scritto:

> Hi all,
> These are the GeoFence rules after uploading 3 layers:
>
> [image: Screenshot 2019-02-11 at 11.45.58.png]
>
>
>
> On Mon, Feb 11, 2019 at 10:51 AM Alessio Fabiani <
> alessio.fabiani at geo-solutions.it> wrote:
>
>> Dear all,
>> I'm going to make a test also myself.
>>
>> From the logged report my guess is that, somehow, the GeoFence rules are
>> not correctly set after the upload.
>>
>>
>> Il giorno lun 11 feb 2019 alle ore 10:39 Dimitris Karakostis <
>> karakostis.dimitris at gmail.com> ha scritto:
>>
>>> Hello Paolo,
>>>
>>> I am not sure if this helps but, I had the same error sometime ago and
>>> it was related to folder permissions and ownership. I fixed by assigning
>>> the right permissions to the following folders:
>>>
>>> $ sudo chown -Rf geonode /home/geonode/my_geonode/
>>> $ sudo chown -Rf geonode:www-data /home/geonode/my_geonode/my_geonode/static/
>>> $ sudo chown -Rf geonode:www-data /home/geonode/my_geonode/my_geonode/uploaded/
>>> $ chmod -Rf 777 /home/geonode/my_geonode/my_geonode/uploaded/thumbs
>>> $ chmod -Rf 777 /home/geonode/my_geonode/my_geonode/uploaded/layers
>>> $ sudo chown www-data:www-data /home/geonode/my_geonode/my_geonode/static_root/
>>>
>>> From here:
>>>
>>> http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html
>>>
>>>
>>>
>>>
>>> On Fri, Feb 8, 2019 at 4:49 PM Paolo Pasquali <paolo.pasquali at gmail.com>
>>> wrote:
>>>
>>>> Dear all,
>>>>
>>>> I have installed a GeoNode 2.10.x (master) with Docker and using the
>>>> geonode-project and following this documentation: [1]
>>>>
>>>> The issue I have is an Unespected error! when I try to upload a layer.
>>>> So in GeoNode the layer is not present.
>>>> But when I double check I find the layer in GeoServer with no apparent
>>>> issue and if I run updatelayers the layer appear in the django db and of
>>>> course in GeoNode.
>>>>
>>>> I have found these errors in the log:
>>>>
>>>> 08 Feb 15:38:06 ERROR [geoserver.rest] - No such layer:
>>>> ne_10m_geography_regions_polys
>>>> geoserver4fabspace | org.geoserver.rest.ResourceNotFoundException 404
>>>> NOT_FOUND: No such layer: ne_10m_geography_regions_polys
>>>>
>>>> 08 Feb 15:38:15 ERROR [geoserver.rest] - No such style
>>>> ne_10m_geography_regions_polys in workspace geonode
>>>> org.geoserver.rest.ResourceNotFoundException 404 NOT_FOUND: No such
>>>> style ne_10m_geography_regions_polys in workspace geonode
>>>>
>>>>
>>>> Your help would be much appreciated.
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> Paolo
>>>>
>>>>
>>>> [1] https://github.com/GeoNode/geonode-project#start-your-server
>>>> _______________________________________________
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>
>>
>> --
>>
>> ==
>>
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>> Ing. Alessio Fabiani
>>
>> @alfa7691
>> Founder/Technical Lead
>>
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
>> phone: +39 0584 962313
>> fax:     +39 0584 1660272
>> mob:   +39 331 6233686
>>
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>> -------------------------------------------------------
>>
>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>> precisa che ogni circostanza inerente alla presente email (il suo
>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>
>>
>> This email is intended only for the person or entity to which it is
>> addressed and may contain information that is privileged, confidential or
>> otherwise protected from disclosure. We remind that - as provided by
>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>> e-mail or the information herein by anyone other than the intended
>> recipient is prohibited. If you have received this email by mistake, please
>> notify us immediately by telephone or e-mail.
>>
>

-- 

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190211/f7ed7882/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2019-02-11 at 11.45.58.png
Type: image/png
Size: 27669 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190211/f7ed7882/attachment-0001.png>


More information about the geonode-users mailing list