...
Warning |
---|
The following process kept all artifacts (as far as I can tell), but did not keep users for a 1.0.2 to 1.1.2 migration. |
Keep your repositories content ({{${archiva.base}/data/repositories/*/) and delete the .index directories of your respective managed repositories (if they exist- see previous section), and execute the repository and database scanners after starting Archiva.
Here are the steps:
1. Compress the (old archiva version)/data dir and extract it into the {{${archiva.base}/data dir.
2. Delete the new {{${archiva.base}/data/archiva/database dir (that you copied)
3. Search for *.index directories under {{${archiva.base}/data and remove any you find. In *nix this can be done like:
Code Block |
---|
cd {{$\{archiva.base\}/data find . -name "*.index" (make sure it only finds those that you want to delete) find . -name "*.index" -exec rm -rf {} \; |
Repositories
Keep your repositories content ({{${archiva.base}/data/repositories/*/) and delete the .index directories of your respective managed repositories (if they exist- see previous section), and 4. Go to archiva and click on these to execute the repository and database scanners after starting Archiva.To do this (note: this may be overkill):
...