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.

Thanks

Glenn

2 answers

1 accepted

This widget could not be displayed.

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.

This widget could not be displayed.
Daniel Wester Community Champion Jan 10, 2014
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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

87 views 1 0
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you