[GeoNode-users] Problem in uploading layers : unable to create geofence rules

Alessio Fabiani alessio.fabiani at geo-solutions.it
Fri Nov 15 01:00:19 PST 2019

Hello Amedeo,
if this instance worked before, it might be an issue with the GeoFence
rules that are somehow messed up or the db corrupted.

You can try to add a rule manually or remove some directly from the
GeoServer interface and see what happens.

If you just need a "Public For Everyone" instance, the quick-and-dirty
solution is to delete all the GeoFence rules and add just one rule "ALLOW
ALL ANYONE" from the GeoServer admin panel.

If this is not the case, I guess I will need some more information and logs
in order to understand what's going on.

2.8.2 is quite old and it is possible that there's some issue concerning
the logic for the GeoFence rules management.

Question: why using 2.8.2? Would you consider to update to 2.10.1? Notice
that upgrading GeoServer is as easy as changing the docker-compose image

*WARNING*: Do not mix GeoNode versions and GeoServer versions. It is*
**very** *important that each GeoNode version is bounded with the correct
GeoServer version.

Il giorno gio 14 nov 2019 alle ore 22:01 Amedeo Fadini <amefad at gmail.com>
ha scritto:

> Hi everybody,
> In my geonode project (based on 2.8.2) when a user upload a layer receive
> a "unexpected error" in the yellow message div, the layer is created and is
> present in geoserver,  but is not show on the map.
> When I try to launch manage.py updatelayers i receive an error from the api
> "unable to add Geofence user \'name of user\' Rule" followed by a 404 html
> error page
> I tried to disable Goefence security in my local_settings, the
> updatelayers now goes fine but the layers uploaded are not working: i can
> see and modify the style the first time but when i login again the the WMS
> layer report an error "layer not found"
> Geonode 2.8.2 and geoserver 2.13 the error appears in dockerized
> installation but also running wsgi with apache.
> I don't know where to read for geofence configuration
> Amefad
> _______________________________________________
> 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

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


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/20191115/09e7abb5/attachment.html>

More information about the geonode-users mailing list