I have just attempted to upgrade my Crucible install from 2.7.3 to 2.7.4
I did NOT have the FISHEYE_INST variable set in the initial installation.
But following the instructions in the Upgrade notes I created one.
(and copied the var/cache/data/config.xml files to the new FISHEYE_INST location).
Now when I start 2.7.4 I do not see my old repositories.
In adminsitration / sysinfo I see the FISHEYE_INST variable is set to the FISHEYE_HOME path.
I edit ~/.profile and set the variable with;
echo $FISHEYE_INST displays the above path as expected.
(I even added the export command to /etc/profile)
I have closed and then opened a new terminal window / I have even rebooted the machine.
Regardless, the INST variable is not being correctly reflected when Crucible starts.
If anyone has any ideas - I would be most grateful!
With some thanks to the link above by Eddie,
I have managed to get it working using the correct location for FISHEYE_INST
In bin/fisheyectl.sh is the following line;
if [ -z "$FISHEYE_INST" ] ; then
I assume, that for some reason that test for the INST variable does not work on Mac OS X.
I changed it to;
if [ -z "$FISHEYE_INST" ] ; then
And Crucible has started correctly - with my existing repo and commits / reviews.
You need to copy more than just config.xml to the INST (instance) directory you specified. Without the additional files (namely var and cache) being present there it will not be able to read any of the data associated with the repos defined in config.xml. Or at least, that was my experience.
Unfortunately it make take a bit of trial and error to get it right, as Fisheye's documentation is one that consitently lags behind the rest.
But at least this page does list what the end goal should be in terms of data locations.
The upgrade documentation has appropriate notes about copying var/cache/data and the config.xml file.
(I did state above that I had dome these things, too.)
I am not convinced that I have a "file" issue.
I am petty certain that my issue is that the FISHEYE_INST environment variable is not being "picked-up" by Crucible when it is run.
echo $FISHEYE_INST - shows the correct path.
But Crucubles sysinfo tab shows the HOME directory as being what is set for FISHEYE_INST
If I could work out how to get it to use the correct path in the first place... I think I'd at least but further along.
Thanks again... but it seems to be something else, other than a mising file that is causing my issue.
I am just starting with setting up Fisheye (the current version is 3.0.2).
I am experiencing the same problem that Gavin had - $FISHEYE_INST is set, and the system sees it as it should be. However, Fisheye doesn't. It uses <Fisheye-install-directory> - which Atlassian stresses one shouldn't be doing !!
Thanks, Gavin, for your tip.
Since mine is a new install, if I hadn't checked the settings, I would have had a hard time when doing an upgrade - would have "lost" all my repositories/info
It's definitely something to do with the scripts. I'm running CentOS - maybe the scripts don't work for this distro but works for others. (I noticed that Attlassian seems to offer more "support" for Ubuntu, or at least, it seems Ubuntu is more preferred)
Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot