Running FishEye on Windows with unprivileged user fails

I'm trying to install FishEye on a Windows server using a service run as an unprivileged user. I have followed the FishEye install guide and the install-as-service guide. But I cannot start the service.

I have C:\FishEye\Program as <FishEye home directory> and I have C:\FishEye\Data for the instance data. FISHEYE_INST is set to the latter path. The service is setup to run as the fisheye user. The fisheye user has RO access to Program, and RW access to Data. The guides does not specifiy if there are any directories within Program that should be RW (which Jira does).

How is intended to use the wrapper script is to be used in regards of permissions? According to the guide the wrapper is to be installed under Program. Yet when I start the service it fails because it has no RW access to the Program directories. What am I missing here?

2 answers

Is the path is also set for the unprivileged user?

Can you provide the startup log?

The FISHEYE_INST variable is global so it is set for all users and services.

The <Fisheye home>/wrapper/conf/wrapper.conf sets wrapper.working.dir=../.. which it needs to access the java classes. However it blindly assumes that it should use <FishEye home>/config.xml as base for the instance, and not FISHEYE_INST.

The attached log shows that the wrapper make FishEye attempt to access the instance data in <Fisheye home> and are disregarding the FISHEYE_INST variable.

Perhaps the wrapper binary erases the FISHEYE_INST variable?


Suggest an answer

Log in or Join to answer
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

325 views 0 9
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot