You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by oc...@apache.org on 2009/03/22 02:56:37 UTC

svn commit: r757115 - /archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt

Author: oching
Date: Sun Mar 22 01:56:36 2009
New Revision: 757115

URL: http://svn.apache.org/viewvc?rev=757115&view=rev
Log:
[MRM-1119]
o document upgrade process from 1.1 to 1.2 (changes in search implementation)

Modified:
    archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt

Modified: archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt?rev=757115&r1=757114&r2=757115&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt (original)
+++ archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt Sun Mar 22 01:56:36 2009
@@ -165,7 +165,14 @@
    be re-created. So you need to delete the <<<data/databases/archiva>>> directory, delete the <<<.index>>> directories of your respective repositories, and execute the repository and database scanners after
    starting Archiva.
 
-   The repository data is portable across versions, and multiple versions can be configured to look at the same repositories (though not run simultaneously). 
+   The repository data is portable across versions, and multiple versions can be configured to look at the same repositories (though not run simultaneously).
 
+* Upgrading Archiva from 1.1 to 1.2
+
+   Because of the changes in the search implementation in 1.2, a few additional steps need to be performed when upgrading Archiva from 1.x to
+   1.2. Since the format of the index has changed in 1.2, the old index directory (which is located at <<</path/to/repo/.index>>> by default) needs to
+   be removed. And in order for the artifacts in the repository to be indexed again, the last modified date of the artifacts need to be updated.
+   To do this, just execute <<find [REPOSITORY_DIRECTORY_NAME] | xargs touch>> at the base directory where the repository resides. Execute the repository
+   scanning so that the new index will be generated.