[GeoNode-users] Migrating from GeoNode 2.4.1 to 2.10.x

Paolo Pasquali paolo.pasquali at gmail.com
Mon Jan 21 04:37:59 PST 2019


Dear all,

I've double check the settings as suggested by Alessio and they are
properly set.

I've found out that some layers have some GeoFence data rules missing (for
unknown reason so far). In particular the ROLE_ANONYMOUS rules are missing.
By adding them it seems that fixes the issue in GeoServer but not in
GeoNode...
However I've tried to use sync_geonode_layers and sync_geofence but they
have no effects on the layer rules.
Is there a way to fix this other then adding the rules manually via
GeoServer?

I'm wondering why some layers have all the rules properly set while others
are not... Am I missing probably something in the migration?

Thanks,

Bye,

Paolo


--------------------
Paolo Pasquali
ITHACA - Information Technology for Humanitarian Assistance, Cooperation
and Action
via Pier Carlo Boggio, 61
10138 Torino - Italy
Tel. +39 011 1975 1872
Fax +39 011 1975 1122


On Tue, Jan 15, 2019 at 2:19 PM Paolo Pasquali <paolo.pasquali at gmail.com>
wrote:

> Hi Toni,
>
> Unfortunately the layers I need to publish have <queryable> already set to
> true.
> Now I'm checking whether my settings are properly configured as suggested
> by Alessio.
>
> Thanks for your help!
>
> Bye,
>
> P.
>
> --------------------
> Paolo Pasquali
> ITHACA - Information Technology for Humanitarian Assistance, Cooperation
> and Action
> via Pier Carlo Boggio, 61
> 10138 Torino - Italy
> Tel. +39 011 1975 1872
> Fax +39 011 1975 1122
>
>
> On Tue, Jan 15, 2019 at 12:09 PM Toni Schönbuchner <
> toni.schoenbuchner at csgis.de> wrote:
>
>> Hi Paolo,
>>
>> Do you mean the queryable checkbox of a layer under publish tab?
>>
>> I think this is written to the specific layer.xml like
>> /data/geoserver-data/workspaces/geonode/geonode_data/tiger_roads/layer.xml
>>
>> <queryable>false</queryable>
>>
>> Unsure if there is some way by use of the rest endpoint but for sure you
>> could
>> „sed" it in all files:
>>
>> $ find /data/geoserver-data/workspaces/geonode -type f -iname
>>  "layer.xml" -exec sed -i.bak
>> 's/<queryable>false<\/queryable>/<queryable>true<\/queryable>/' "{}" +;
>>
>> ( untested )
>>
>> Cheers,
>>
>> Toni
>>
>> Am 15.01.2019 um 11:46 schrieb mailman at lists.osgeo.org:
>>
>> *Von: *Paolo Pasquali <paolo.pasquali at gmail.com>
>> *Betreff: **Aw: [GeoNode-users] Migrating from GeoNode 2.4.1 to 2.10.x*
>> *Datum: *15. Januar 2019 um 11:35:19 MEZ
>> *An: *Francesco Bartoli <xbartolone at gmail.com>
>> *Kopie: *geonode-users <geonode-users at lists.osgeo.org>
>>
>>
>>
>> Do you know where GeoServer store the information whether a layer is
>> published or not?
>>
>> Thanks for your help!
>>
>> Ciao
>>
>> P.
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190121/c0d0b5ff/attachment.html>


More information about the geonode-users mailing list