All Versions
Fisheye 4.2 DocumentationFisheye 4.1 Documentation
Fisheye 4.0 Documentation
More...
If re-indexing your repository takes longer than you can allow, you can use a temporary copy of your repository and FishEye instance to reduce downtime during the re-indexing process.
To re-index a temporary copy of your FishEye instance:
1. Make a copy of your FishEye instance to another server. See 'How to Make a Temporary Copy of Your FishEye Instance' below for instructions.
2. Upgrade the temporary FishEye, then start it up, connected to your repository. It will automatically begin the scanning process.
If you are concerned about the repository being overloaded by the scanning process, you can make a copy of that as well. See 'How To Make a Temporary Copy of Your Repository' below for instructions.
If you do that, you must edit the config.xml
of your temporary FishEye instance to point to your temporary repository.
3. The copied instance will run its course without affecting your production instance.
4. a. Shutdown both your servers completely.
b. Make a backup of your FISHEYE_INST
directory.
c. Replace the FISHEYE_INST/var/cache
directory on live FishEye with the FISHEYE_INST/var/cache
from your test server.
d. Download the latest Crucible from Atlassian downloads.
e. Follow the instructions in the Upgrade Guide to upgrade to the new version.
5. The scan of the temporary FishEye instance (and repository, if you copied that also) is complete. You're now free to delete the temporary copy(s).
To make a copy of your FishEye instance, follow the instructions for Migrating FishEye Between Servers.
To make a copy of your repository, do the following. Use rsync (for CVS repositories in the Linux environment) or svnsync documentation (for Subversion only).
If you need to re-index your repository on your production system but don't want to burden your production server, carry out the following steps:
1. Install another instance of FishEye on a test server (the same FishEye version as the one you are using).
2. Add a repository to Crucible with the exact same name and details as that referenced by the production server.
3. Let that finish indexing. Go to 'Administration' > 'View Repository List' > 'Stop' (shown next to the name of your repository) and disable on both production and test.
4. Copy over the FISHEYE_INST/var/cache/REPO
directory on the production FishEye with the FISHEYE_INST/var/cache/REPO
directory from the test server.
For this procedure, neither server needs to be shut down.