All Versions
Fisheye 4.2 DocumentationFisheye 4.1 Documentation
Fisheye 4.0 Documentation
More...
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:
FISHEYE_INST directory (i.e. "FishEye instance" directory). The FISHEYE_INST directory is used to store repository data, separate from the installation location of the FishEye/Crucible application. It is not the installation directory. We recommend that you configure FishEye/Crucible to use a FISHEYE_INST directory for production instances. Read more about FISHEYE_INST in the FishEye Installation Guide.NOTE: For all methods below: if you previously ran FishEye as a Windows service and are installing the new version of FishEye in a new location, make sure to run ...\wrapper\bin\Fisheye-Uninstall-NTService.bat from the old location. Subsequently, prior to starting the new instance of FishEye, follow these instructions to set up Fisheye as a Windows service again. Make sure to copy over the changes from the old ...\wrapper\conf\wrapper.conf file to the new wrapper.conf file.
If you have FishEye/Crucible configured to use a FISHEYE_INST directory, then follow the instructions below:
FISHEYE_INST directory.If you do not have FishEye/Crucible configured to use a FISHEYE_INST directory and do not want to set one up, then follow the instructions below:
You will need to copy some files from your old FishEye/Crucible installation to your new one.
/NEW_FISHEYE/./NEW_FISHEYE/var and /NEW_FISHEYE/cache directories./OLD_FISHEYE/config.xml to /NEW_FISHEYE/./OLD_FISHEYE/var directory to /NEW_FISHEYE/var./OLD_FISHEYE/cache directory to /NEW_FISHEYE/cache./OLD_FISHEYE/data directory to /FISHEYE_INST/data (data folder is inside /OLD_FISHEYE/var, keep it inside folder var so that its final location can be /FISHEYE_INST/var/data).fisheye.license to /NEW_FISHEYE/. Atlassian-issued licenses are included within config.xml.If you do not have FishEye/Crucible configured to use a FISHEYE_INST directory but would like to set one up, then follow the instructions below:
FISHEYE_INST environment variable, then create the FISHEYE_INST directory on your filesystem./OLD_FISHEYE/config.xml to /FISHEYE_INST./OLD_FISHEYE/var directory to /FISHEYE_INST./OLD_FISHEYE/cache directory to /FISHEYE_INST./OLD_FISHEYE/data directory to /FISHEYE_INST (data folder is inside /OLD_FISHEYE/var, keep it inside folder var so that its final location can be /FISHEYE_INST/var/data). ./NEW_FISHEYE/.NEW_FISHEYE/bin/run.sh. (Use run.baton Windows).FISHEYE_HOME and FISHEYE_INST. Check your FISHEYE_INST is pointing to the right directory.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:
6 Comments
Rene Verschoor
Jun 16, 2011It might be useful to add a note for Windows wrapper users.
They need to configure their wrapper.conf again, e.g. add FISHEYE_INST and any JVM memory settings.
user-4c0a8
Feb 10, 2012Hi Rene,
You're right. I had to migrate the wrapper and its configuration too...
My suggestion to avoid issues on restarting Fisheye/Crucible is to use a Diff-Viewer to compare both the old and the new directories.
Since not all files/dirs should be compared, it may be usefull to filter the diffs.
A filter for "WinMerge" could be:
Cheers,
L.
Anonymous
Sept 09, 2011Running into issues when upgrading from Fisheye 2.1 to 2.7. Here is an exception
2011-09-09 10:43:09,826 WARN [IncrementalPinger1] fisheye.app com.cenqua.fisheye.cvsrep.cache.RepositoryIndex-indexContents - could not index contents of tibco/bw/WSRB/src/WebServiceRequestBroker_Backend/BusinessService/BidSet - MarketTransactionsImpl.process 1.8. Revision contents not indexed
com.cenqua.fisheye.rep.DbException: java.io.FileNotFoundException: /fecru-2.1.3/var/cache/eint/idx1/_htc.fdt (No such file or directory)
Michael Downey
Sept 16, 2011If I back up through the application web interface and choose all checkboxes, isn't that doing the same thing as backing up the FISHEYE_INST directory? Is this redundant?
Cyrill Gross
Oct 18, 2011IMPORTANT for those using JIRA-integrated user management:
It might take some time after performing the upgrade until you are able to log in since FishEye might need to re-sync the users first.
The Duration depends on the Sync-Interval you set under "Administration" > "Security Settings" > "Authentication" > "JIRA or Crowd Authentication" > "
Tim
Feb 22, 2012Important note:
If you haven't updated your licence file in a while - then simply copying to the new install directory will try and start Fisheye with the old licence. It will fail hard.
You'll get a HEAP of errors "Licence invalid" in the /var/log/ directory. Of course, I was WTF ? How can I issue a new licence if I don't know the Server-ID fail ?
If you're in this bind like I was, you should REMOVE the <licence> tags in your config.xml when you are copying over the directory. Then when you run the /bin/run.bat file (since I am on windows) you'll get the Server-ID spat out - which you can use to generate your new licence and the upgrade will work
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2012-02-23 00:17:40,232 INFO - FishEye/Crucible 2.7.10 (20120119115142), Built on XXX
2012-02-23 00:17:40,240 INFO - Starting UpgradeManager ...
2012-02-23 00:17:42,248 ERROR - Could not find a FishEye or Crucible license.
2012-02-23 00:17:42,248 ERROR - Please visit http://my.atlassian.com to retrieve an existing
2012-02-23 00:17:42,248 ERROR - license quote XXXX-XXXX-XXXX-XXXX to obtain a new license
2012-02-23 00:17:42,249 ERROR - or visit http://www.atlassian.com/fisheye/renew to renew
2012-02-23 00:17:42,249 ERROR - your license.
2012-02-23 00:17:46,914 INFO - Starting database...