This page describes the recommended method of upgrading to a new version of FishEye.

The first time you run a new version of FishEye, it will automatically upgrade its data. This may involve a complete re-index of your repository.

On this page:

はじめる前に

アップグレード手順

Your upgrade procedure depends on whether you are using a separate FISHEYE_INST directory. Read more about FISHEYE_INST in the Installation Guide.

Method 1: Using a Separate FISHEYE_INST Directory

  1. Shut down your existing FishEye server.
  2. Make a backup of your FISHEYE_INST directory.
  3. Extract the new FishEye version to a directory, leaving your FISHEYE_INST environment variable set to its existing location.
  4. Start FishEye from the new installation.
  5. Follow any version-specific instructions found in the Release Notes.

Method 2: No Separate FISHEYE_INST Directory

You will need to copy some files from your old FishEye installation to your new one.

  1. Extract the new FishEye instance into a directory such as /NEW_FISHEYE/.
  2. Delete the /NEW_FISHEYE/var and /NEW_FISHEYE/cache directories.
  3. Shut down the old FishEye instance if it is running.
  4. Copy /OLD_FISHEYE/config.xml to /NEW_FISHEYE/.
  5. Copy (or move) the /OLD_FISHEYE/var directory to /NEW_FISHEYE/var.
  6. Copy (or move) the /OLD_FISHEYE/cache directory to /NEW_FISHEYE/cache.
  7. If you have a Cenqua-issued FishEye license, copy your fisheye.license to /NEW_FISHEYE/. (Atlassian-issued licenses are included within config.xml.)
  8. Start FishEye from the new installation.
  9. Follow any version-specific instructions found in the Release Notes.

Method 3 - Without a FISHEYE_INST Directory, but would like to set one up

  1. Shut down the old FishEye instance if it is running.
  2. Set up the FISHEYE_INST environment variable, then create the FISHEYE_INST directory on your filesystem.
  3. Copy the /OLD_FISHEYE/config.xml to /FISHEYE_INST.
  4. Copy the /OLD_FISHEYE/var directory to /FISHEYE_INST.
  5. Copy the /OLD_FISHEYE/cache directory to /FISHEYE_INST.
  6. Extract the new Fisheye archive into a directory such as /NEW_FISHEYE/.
  7. Start Fisheye from the new installation by running NEW_FISHEYE/bin/run.sh. (Use run.bat on Windows).
  8. If you configuration is not automatically picked up and you cannot see your existing repositories, check your Administration > Sys-Info page, where you will see information about FISHEYE_HOME and FISHEYE_INST. Check your FISHEYE_INST is pointing to the right directory.

Checking for Known Issues and Troubleshooting the FishEye Upgrade

If something is not working correctly after you have completed the steps above to upgrade your FishEye installation, please check for known FishEye issues and try troubleshooting your upgrade as described below: