[GeoNode-users] Migration of data from 2.0 to 2.4

Paolo Corti pcorti at gmail.com
Tue Feb 9 08:09:02 PST 2016


Hi Mana
did you run migrate2.sh after migrating the GeoServer data directory?
did you see any error running that script?
p

On Tue, Feb 9, 2016 at 2:00 AM, Mana Etches <manadotcom at gmail.com> wrote:
> Hello geonode gurus,
>
> I've installed geonode 2.4 following instructions at
> http://geonode.org/blog/2015/11/19/geonode-2.4-released/
>
> I've followed Capooti's migration steps at guidelines at
> https://github.com/capooti/geonode/blob/migration_from20_to_24/scripts/migrations/migrate20to24/index.rst
>
> I'm at a point where I can see the number of layers, maps and users on
> geonode GUI (but only as a registered user). I can log into geoserver admin,
> however I don't see my layers, stores, on the admin panel.
>
> I uploaded 2.0 GS data directory to geoserver 2.4 data directory as follows:
> data/default     to    data/default
> gwc-layers      to     gwc/layers
> workspaces/geonode    to      workspaces/geonode/datastore
>
> Note, I can upload layers just fine but I can only see the the layers that I
> uploaded in the geonode_data in postgres. I can't see the layers from 2.0
> database.
>
> Lastly I ran a 'geonode updatelayers' and got the following results:
>
> Finished processing 4 layers in 2.0 seconds.
>
> 0 Created layers
> 4 Updated layers
> 0 Failed layers
> 0.500000 seconds per layer
>
> Updating only the layers that I uploaded.
>
>
>
> For referencing purposes see my 'gn_migration.cfg' configurations below:
>
> [db20]
> dbname = old_db
> host = 192.168.137.12
> user = geonode
> password = secret (replaced)
>
> [db24]
> dbname = geonode
> host = 192.168.137.12
> user = geonode
> password = secret (replaced)
>
> [path]
> geonode_path = /usr/local/lib/python2.7/dist-packages/geonode
> settings_path = /etc/genode/local_settings.py
>
> My gut feeling is its a configuration issue.
>
> Any help or point in the right direction would be very much appreciated
>
> Mana
>
>
>
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>



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


More information about the geonode-users mailing list