[GeoNode-users] Migrating data and maps from Geonode 2.4 to 2.6
Alessio Fabiani
alessio.fabiani at geo-solutions.it
Mon Jul 24 01:23:54 PDT 2017
You need to provide to the new GeoServer a copy of the old GeoServer Data
Dir, in order to recover the configuration of geospatial layers.
Regards,
Alessio Fabiani
==
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
On Mon, Jul 24, 2017 at 12:17 AM, Michael Peterman <mpetermangis at gmail.com>
wrote:
> Hi Simone,
>
> Thanks for the help. After importing my databases from the geonode 2.4
> host to the new 2.6 host, I ran python manage.py migrate --fake-initial and
> it seemed to work. However, the 2.6 host is now loading data from Geoserver
> on the 2.4 host (the source for map tiles is pointing to the 2.4 host, not
> the new one), and there are no layers in the local instance of Geoserver on
> the 2.6 host.
>
> How can I make Geoserver on the 2.6 host recognize the data that is loaded
> in postgres?
>
>
>
> On Mon, Jul 17, 2017 at 1:35 AM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> Hi, it is ok to restore a 2.4db into a 2.6 one because the data model
>> hasn't breaking changes. the geonode command is just a wrapper around
>> "python manage.py" so you can use it instead.
>>
>> 2017-07-16 3:34 GMT+02:00 Michael Peterman <mpetermangis at gmail.com>:
>>
>>> I have a production site running Geonode 2.4 that I would like to
>>> migrate to 2.6 with all users, layers, and maps. I found this thread:
>>> http://osgeo-org.1560.x6.nabble.com/Help-for-migrate
>>> -data-from-2-4-to-2-6-td5323208.html
>>> but it is a bit vague--do I simply dump the 2.4 databases from
>>> PostgreSQL and restore on the 2.6 server?
>>>
>>> On the 2.6 server, I did a manual installation because I want to have a
>>> custom frontend. This means that the command "geonode migrate
>>> --fake-initial" is not available, but is there a django equivalent? Or,
>>> would it be better to install from a package using apt-get install geonode?
>>>
>>> Thanks.
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170724/736c94c8/attachment.html>
More information about the geonode-users
mailing list