[GeoNode-devel] GeoServer doesn't show layer just after

Paolo Corti pcorti at gmail.com
Mon Aug 26 09:48:26 PDT 2019


Hi Alessio
I could debug a bit more the issue. In our instance we use both the
uploaders, the REST for uploading shapefiles and GeoTIFFs and the
importer for geojson files. I realized that the reported problems
occurs ONLY when uploading geojson files (with the importer uploader).
So standard GeoNode instances are not impacted by this issue.
My best guess is that when using the importer
set_geofence_invalidate_cache isn't called.
Do you have time to look into this (I am sure you know exactly what
changes are required in the code)? Otherwise I can go deeper with
debugging and maybe provide a fix.
thanks
Paolo

On Thu, Aug 22, 2019 at 11:43 AM Alessio Fabiani
<alessio.fabiani at geo-solutions.it> wrote:
>
> Dear all,
> if you set the DELAYED_SECURITY flag to True, you must also be sure the "cronjob" or whatever is running and currently refreshnig the GeoNode permissions.
>
> @Paolo Corti di you noticed the flag "dirty" disappearing after some time? If yes, it might be a regression causing the management command to not being able to sync the GeoFence rules anymore.
>
>
> Il giorno gio 22 ago 2019 alle ore 16:41 Paolo Corti <pcorti at gmail.com> ha scritto:
>>
>> Yes Toni, that could be a possible bug. Let's wait for Alessio opinion
>> about it and we can file a ticket in the case to report it
>> cheers
>> Paolo
>>
>> On Thu, Aug 22, 2019 at 10:36 AM Toni Schönbuchner
>> <toni.schoenbuchner at csgis.de> wrote:
>> >
>> > Hey Paolo,
>> >
>> > This makes somehow sense. Then geofence rules might not be in sync.
>> > However as long a celery worker is available it should work update after every DELAYED_SECURITY_INTERVAL ?!
>> > Maybe systemd or supervisord need to be (re-)started.
>> >
>> > Anyways good you found it.
>> >
>> > Cheers,
>> >
>> > Toni
>> >
>> > -----------------------------------------------
>> > CSGIS
>> >
>> > -----------------------------------------------
>> > Gottschedstraße 12
>> > 04109 Leipzig
>> > Telefon 0341. 39 37 3397
>> > -----------------------------------------------
>> > Web https://csgis.de
>> > -----------------------------------------------
>> >
>> > Hinweis gemäß § 33 BDSG
>> > Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den
>> > Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich
>> > erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht
>> > von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung,
>> > Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>> >
>> > Am 22.08.2019 um 16:25 schrieb Paolo Corti <pcorti at gmail.com>:
>> >
>> > DELAYED_SECURITY_SIGNALS
>> >
>> >
>>
>>
>> --
>> Paolo Corti
>> Geospatial software developer
>> web: http://www.paolocorti.net
>> twitter: @capooti
>> skype: capooti
>> #drt3jc1
>> _______________________________________________
>> geonode-devel mailing list
>> geonode-devel at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
>
> --
>
> ==
>
> 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.



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
#drt3jc1


More information about the geonode-devel mailing list