Users migrating from Fedora Release 1.2.1 need to follow the steps outlined in the section entitled, Migrating From Fedora 1.2.1 to Fedora 2.0, and apply patch number 2 to their existing Fedora 1.2.1 repository BEFORE attempting migration to Fedora 2.0. Failure to do so can severely limit future migration options.
If you are running a version of the Fedora software prior to version 1.2.1, you will need to migrate your server software up to version 1.2.1 first, and then proceed with the migration from Fedora 1.2.1 to Fedora 2.0. Steps for migrating to Fedora 1.2.1 can be found in the release notes section for Fedora 1.2.1. This document only address migration from a Fedora 1.2.1 repository to a Fedora 2.0 repository.
If you are upgrading from Fedora 1.2.1 to Fedora 2.0 follow these steps:
DO NOT APPLY THIS PATCH TO ANY OTHER VERSION OF FEDORA!
To check your repository's version, check the "describe" page. For instance, if you're running Fedora on localhost:8080, visit http://localhost:8080/fedora/describe
Under Windows, make a backup of the following file:
%FEDORA_HOME%\server\tomcat41\webapps\fedora\WEB-INF\classes\fedora\server\storage\translation\METSLikeExportDOSerializer.class
Under Unix, make a backup of the following file:
$FEDORA_HOME/server/tomcat41/webapps/fedora/WEB-INF/classes/fedora/server/storage/translation/METSLikeExportDOSerializer.class
Under Windows, copy the METSLikeExportDOSerializer.class from patch into the following directory
%FEDORA_HOME%\server\tomcat41\webapps\fedora\WEB-INF\classes\fedora\server\storage\translation
OVER THE EXISTING FILE.
Under Unix, copy the METSLikeExportDOSerializer.class from patch into the following directory
$FEDORA_HOME/server/tomcat41/webapps/fedora/WEB-INF/classes/fedora/server/storage/translation
OVER THE EXISTING FILE.
Under Windows, copy the METSLikeExportDOSerializer.java file from the patch into the following directory
%FEDORA_HOME%\src\java\fedora\server\storage\translation
OVER THE EXISTING FILE.
Under Unix, copy the METSLikeExportDOSerializer.java file from the patch into the following directory
$FEDORA_HOME/src/java/fedora/server/storage/translation
OVER THE EXISTING FILE.
Under Windows, this file is found in:
%FEDORA_HOME%\client\bin\fedora-ingest.bat
Under Unix, this file is found in:
$FEDORA_HOME/client/bin/fedora-ingest.sh
For example:
fedora-ingest r src-host:src-port fedoraAdmin fedoraAdmin DMO dest-host:dest-port fedoraAdmin fedoraAdmin ""