update upgrade docs

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@815246 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maria Odea B. Ching 2009-09-15 10:04:29 +00:00
parent 6459b2f47f
commit 8ee59dc910
1 changed files with 26 additions and 0 deletions

View File

@ -21,3 +21,29 @@ Upgrading Archiva
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. 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 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. scanning so that the new index will be generated.
In 1.2.2, the length of the specified fields in the database tables below were changed to 1020:
* ARCHIVA_PROJECT - URL
* ARCHIVA_MAILING_LISTS - MAIN_ARCHIVE_URL
* ARCHIVA_ORGANIZATION - URL, FAV_ICON_URL
* ARCHIVA_LICENSES - URL
* ARCHIVA_ISSUE_MANAGEMENT - ISSUE_MANAGEMENT_URL
* ARCHIVA_CIMANAGEMENT - CI_URL
* ARCHIVA_INDIVIDUAL - URL, ORGANIZATION_URL
* ARCHIVA_DEPENDENCY - URL
* ARCHIVA_SCM - SCM_URL, DEVELOPER_CONNECTION, URL
* ARCHIVA_PROJECT_REPOSITORIES - URL
[]
If upgrading from a version lower than 1.2.2, you might also need to alter the lengths of the above fields as there is no upgrade task currently available for this.