[Geoserver-users] Migrating data dir does not work

Hello,

I try to upgrade geoserver from 2.2 to "latest" 2.4RC.

Of course it shall still publish the data made in 2.2 so I saved my
geoserver/data dir and after undeploy/deploy in tomcat7 I restored the
data-dir in webapps/geoserver.

Tomcat deploys 2.4 just fine but as soon as I restore the data dir and
reload the new war it hangs (for about 1h no reaction).

so I cant seem to restore my workspaces, styles etc etc... what can I do?

best regards

HZN

Hartmut,

there is no way of a remote diagnosis without log files. Please make them
available (Best via link on a web server)

Your start-up (geoserver log) should look something like like that:

.....
GS - 2013-12-09 12:15:17,317 INFO [storage.DefaultStorageFinder] -
*************************************************************************************************************************
GS - 2013-12-09 12:15:17,317 INFO [storage.DefaultStorageFinder] - *** Found
Servlet context parameter GEOSERVER_DATA_DIR set to U:\geoserver_data2.4.1,
using it as the default prefix. ***
GS - 2013-12-09 12:15:17,317 INFO [storage.DefaultStorageFinder] -
*************************************************************************************************************************
GS - 2013-12-09 12:15:17,317 INFO [config.XMLConfiguration] - Will look for
geowebcache.xml in 'U:\geoserver_data2.4.1\gwc'
GS - 2013-12-09 12:15:17,457 INFO [gwc.layer] - Initializing GWC
configuration based on GeoServer's Catalog
GS - 2013-12-09 12:15:17,457 INFO [gwc.layer] - GeoServer TileLayer store
base directory is: U:\geoserver_data2.4.1\gwc-layers
GS - 2013-12-09 12:15:17,457 INFO [gwc.layer] - Loading tile layers from
U:\geoserver_data2.4.1\gwc-layers
GS - 2013-12-09 12:15:17,613 INFO [gwc.layer] - GWC configuration based on
GeoServer's Catalog loaded successfuly
GS - 2013-12-09 12:15:17,613 INFO [config.XMLConfiguration] - Found
configuration file in U:\geoserver_data2.4.1\gwc
GS - 2013-12-09 12:15:17,629 WARN [config.XMLConfiguration] -
********************************************************************************
GS - 2013-12-09 12:15:17,629 WARN [config.XMLConfiguration] - *** GWC
configuration validation error: cvc-elt.1: Cannot find the declaration of
element 'gwcConfiguration'.
GS - 2013-12-09 12:15:17,629 WARN [config.XMLConfiguration] - *** Will try
to use configuration anyway. Please check the order of declared elements
against the schema.
GS - 2013-12-09 12:15:17,629 WARN [config.XMLConfiguration] -
********************************************************************************
GS - 2013-12-09 12:15:17,629 INFO [config.XMLConfiguration] - Initializing
GridSets from U:\geoserver_data2.4.1\gwc
GS - 2013-12-09 12:15:17,629 INFO [config.XMLConfiguration] - Initializing
layers from U:\geoserver_data2.4.1\gwc
GS - 2013-12-09 12:15:17,629 INFO [layer.TileLayerDispatcher] -
Configuration U:\geoserver_data2.4.1\gwc contained no layers.
GS - 2013-12-09 12:15:17,645 INFO [storage.MetastoreRemover] - Cleaning up
the old disk quota database
....

and then talking about the services... the layers etc..

Cheers

Christian

-----
____________________________

Dr Christian Maul
Project Manager

Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002

Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Migrating-data-dir-does-not-work-tp5093230p5093275.html
Sent from the GeoServer - User mailing list archive at Nabble.com.