This documentation relates to an earlier version of FishEye.
View

Unknown macro: {spacejump}

or visit the current documentation home.

Mitigating Lengthy Re-Index Times

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.

Re-indexing With a Temporary Copy of Your FishEye Instance

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.
    (info) 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.
    1. Shutdown both your servers completely.
    2. Make a backup of your FISHEYE_INST directory.
    3. Replace the FISHEYE_INST/var/cache directory on live FishEye with the FISHEYE_INST/var/cache from your test server.
    4. Download the latest Crucible from Atlassian downloads.
    5. Follow the instructions in the Upgrade Guide to upgrade to the new version.
  4. 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).

How To Make a Temporary Copy of Your FishEye Instance

To make a copy of your FishEye instance, follow the instructions for Migrating FishEye Between Servers.

How To Make a Temporary Copy of Your Repository

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).

How to Re-Index a Single Repository on a Test Server

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.
(info) For this procedure, neither server needs to be shut down.