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

Amedeo Fadini amefad at gmail.com
Fri Nov 15 02:42:15 PST 2019

Thank you very much Alessio for your reply, I know that 2.8.2 is old and
unsupported and I certainly will upgrade... the project started last year
and I wasn't so confident with geonode development... I'm bit afraid of the
changes I needin my downstream project and I'm very out of time...

I'm pretty sure that I messed up with different versions, I can't figure
out why geoserver 2.13 is there... maybe a legacy of 2.8.1 or a trick by a
child that rang me the bell at halloween (i never open that night). [0]

For the records: Alessio, Francesco told me to update to 2.10 back in
june... that was a good suggestion I should done it


[0] Yes our servers are well secured behind a firewall, I'm only joking..

Il giorno ven 15 nov 2019 alle ore 10:00 Alessio Fabiani <
alessio.fabiani at geo-solutions.it> ha scritto:

> 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
> name.
> *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
> @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/20191115/6d5b27d3/attachment-0001.html>

More information about the geonode-users mailing list