[Geoserver-users] Data directory not valid when installing 2.0.1

Hi,
I am trying to upgrade from Geoserver 2.0 to 2.0.1 however when choosing my
old 2.0 data directory during the installation I get an error message saying
"No valid GeoServer data directory found in folder:". Is there anything I
need to do to my old data directory to make it compatible for version 2.0.1?
Im using the Windows installer.
--
View this message in context: http://old.nabble.com/Data-directory-not-valid-when-installing-2.0.1-tp27512597p27512597.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I have tried installing Geoserver using the default location for the
data directory and then tried to change the directory in the web.xml
as follows:
  <context-param>
    <param-name>GEOSERVER_DATA_DIR</param-name>
    <param-value>D:\geoserverdata</param-value>
  </context-param>

However when I startup Geoserver it is still using the old data
directory and the log says it is getting this from the context
parameter:

09 Feb 11:15:16 INFO [storage.DefaultStorageFinder] - *** Found
Servlet context parameter GEOSERVER_DATA_DIR set to C:\Program
Files\GeoServer 2.0.1\data_dir, using it as the default prefix. ***

Is this context parameter not used anymore? Because when I change it
the server still uses the default data directory.

On Tue, Feb 9, 2010 at 9:35 AM, dk80 <darrenkarstens@anonymised.com> wrote:

Hi,
I am trying to upgrade from Geoserver 2.0 to 2.0.1 however when choosing my
old 2.0 data directory during the installation I get an error message saying
"No valid GeoServer data directory found in folder:". Is there anything I
need to do to my old data directory to make it compatible for version 2.0.1?
Im using the Windows installer.
--
View this message in context: http://old.nabble.com/Data-directory-not-valid-when-installing-2.0.1-tp27512597p27512597.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

The Windows installer looks for the existence of either a global.xml file (for 2.0 datadirs) or a catalog.xml (for 1.7 datadirs). Can you verify that one of those files exists in the directory that you've selected? Is that directory local or on a UNC path?

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

On 2/9/2010 4:35 AM, dk80 wrote:

Hi,
I am trying to upgrade from Geoserver 2.0 to 2.0.1 however when choosing my
old 2.0 data directory during the installation I get an error message saying
"No valid GeoServer data directory found in folder:". Is there anything I
need to do to my old data directory to make it compatible for version 2.0.1?
Im using the Windows installer.