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

Alessio Fabiani alessio.fabiani at geo-solutions.it
Tue Jan 15 02:36:59 PST 2019


Hi Paolo,
it is the "advertised" attribute on the publishing section.

Il giorno mar 15 gen 2019 alle ore 11:35 Paolo Pasquali <
paolo.pasquali at gmail.com> ha scritto:

> I have fixed the projection error for most of the layers by adding a
> custom CRS in GeoServer (that I missed to migrate) and using the pg_dump
> for the geonode_data db only. Not sure which one helped solve this issue
> (maybe both?) but a few layers still have that weird projection set
> (assigned by default?).
>
> However this didn't solve the issue of the unpublished vector layers in
> GeoServer. If I manually publish them one by one, they work in GeoNode as
> well (it seems they are now linked to GeoNode again).
> But I have hundreds of them...
>
> Do you know where GeoServer store the information whether a layer is
> published or not?
>
> Thanks for your help!
>
> Ciao
>
> P.
>
> On Mon, Jan 14, 2019 at 10:39 PM Francesco Bartoli <xbartolone at gmail.com>
> wrote:
>
>> It sounds strange but something definitively to figure out what is
>> responsible of this weird behavior. I guess the source epsg was different.
>> Can you check if the same behavior would happen by using only the pg_dump
>> utility?
>>
>> Ciao
>> Francesco
>> Il 14 gen 2019, 22:08 +0100, Paolo Pasquali <paolo.pasquali at gmail.com>,
>> ha scritto:
>>
>> Ciao Francesco,
>>
>> The upload works.
>>
>> But I've found a clue.
>> If I try to manually publish from GeoServer each layer that needs to
>> migrated it seems that all have a weird EPSG (EPSG:404000).
>> I've used pg_dumpall. Is it possible that something went wrong? The
>> postgis version?
>>
>> Thanks!
>>
>> P.
>>
>>
>>
>> On Mon, Jan 14, 2019 at 9:46 PM Francesco Bartoli <xbartolone at gmail.com>
>> wrote:
>>
>>> Ciao Paolo,
>>>
>>> Apart the data you are trying to migrate does the normal upload form
>>> work if you try with a shapefile?
>>>
>>> Francesco
>>> Il 14 gen 2019, 18:41 +0100, Paolo Pasquali <paolo.pasquali at gmail.com>,
>>> ha scritto:
>>>
>>> Dear all,
>>>
>>> I'm trying to migrate my data from an old 2.4.1 to the latest GeoNode.
>>> I've followed the documentation by Olivier Dalang (very helpful,
>>> thanks!) [1] and adapted to my docker installation [2].
>>>
>>> I'm almost there, but while all my raster layers are ok (except some
>>> minor issue), the vector layers are present in GeoNode but not published by
>>> GeoServer. Although the datastore in GeoServer seems properly configured to
>>> connect to PostGIS no vector layer is published.
>>>
>>> I'm missing something...
>>>
>>> Thanks for your help!
>>>
>>> Best,
>>>
>>> Paolo
>>>
>>> [1]
>>> https://github.com/olivierdalang/SPCgeonode#how-to-migrate-from-an-existing-standard-geonode-install
>>> [2] https://github.com/ppasq/masdap/wiki/Migration
>>> _______________________________________________
>>> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190115/3f2161a4/attachment-0001.html>


More information about the geonode-users mailing list