Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Fisheye loses configuration after server restart

Hi there - I took quite some time to configure Fisheye 3.2.3 to connect to Jira 6.1.5 and my VisualSVN repository but after a routine server restart, no settings have been saved. When I start Fisheye manually, (I find it baffling that it doesn't automatically start like Jira does) I get the initial welcome screen asking for a license key. Then it asks me all the initial configuration questions right from the start again like it was a brand new installation.

How frustrating! Am I missing something obvious that I need to do in order that Fisheye will remember its configuration across server restarts? I am using Linux (Red Hat) and MySQL 5. Any help would be much appreciated.



2 answers

1 accepted

3 votes
Answer accepted

This sounds like FishEye doesn't have its FISHEYE_INST environment variable correctly set.

One possibility is that it was set when you configured the application, but the environment variable was lost due to the restart (this is a common mistake, consult your distro documentation on how to make environment variables persistent).

Another possibility is that you configured the application without having a FISHEYE_INST defined. This is perfectly ok, FishEye will work without it, it then just stores all data in the installation directory instead of a nicely separated dir.
If you then restart FishEye using another user account for which a FISHEYE_INST is defined, the application will expect data in a separate directory, doesn't find it, and starts from scratch.

Thanks Rene, that's very useful. Now I find that when I start Fisheye whilst logged in as the fisheye user, the configuration is successfully retrieved! So I guess when I started fisheye after the server restart whilst logged in as myself, it didn't find the configuration.

Should I be starting Fisheye under the fisheye user account or my own account? For the moment it seems that I will have to use the fisheye user account if I want to pick up the configuration that I've done.

Strangely, if I type env |grep FISH then I get FISHEYE_INST=/home/fisheye/instance regardless of whether I'm logged in as myself or as fisheye. I wonder what else could be different between the two accounts that's causing the config to be picked up in the fisheye account but not my own? It would be nice to be able to start and stop Fisheye from my own account.

It's customary to run an application using its own account, but this is not mandatory.

Apparently you have also defined the FISHEYE_INST environment variable for your own user account. The FishEye application will then use it to look for the data files, but as they reside in the home directory of the fisheye user account, it doesn't have any permission to read there, so it looks like it starts from scratch.
Any changes it wants to write will also fail.

Thanks Rene, I am much clearer now! I appreciate your help, especially on a Saturday.

Where is your fisheye home directory? Is it empty after the server restarts?

Thanks for the quick reply! If I type env while logged in as myself then FISHEYE_INST is set to /home/fisheye/instance. FISHEYE_HOME doesn't seem to be set. I believe the actual Fisheye home directory is /home/fisheye/home. I'm unclear as to whether the environment variable is set on a per-user basis and whether I should be initialising it in a settings/script file somewhere. Do you think the absence of the FISHEYE_HOME environment variable is causing the problem?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

154 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you