FishEye cannot find P4 executable

I'm using the most recent versions of FishEye and Crucible together on CentOS 7.1. Per the documentation, I downloaded the p4 binary and put it in:

/opt/fecru-3.10.3/bin/p4home

Despite that, when I try to add the config, I get this error:

Errors:
/opt/fecru-3.10.3/bin/p4home does not exist or can not be accessed.
P4 executable does not exist at configured location: /opt/fecru-3.10.3/bin/p4home, using 'p4' instead, make sure it is on your PATH.

I even went so far as to mark the folder 777 to see if it was a permissions problem. No luck. I can't explain why it can't find the folder, much less the binary, when I can see it myself. Apologies for the file directory gore and general sloppiness in the setup, this is a quick and dirty process to figure out what the installation process is like.

1 answer

0 vote

Hi @Parham Gholami,

It seems you configured P4 binary path in FishEye to /opt/fecru-3.10.3/bin/p4home - I'm not clear, is /opt/fecru-3.10.3/bin/p4home a folder containing p4 binary or a full path to p4 binary?

In typical configuration you would download p4 binary to some folder and store them under original p4 name, e.g.

/opt/fecru-3.10.3/bin/p4home

grant it executable permissions

chmod a+x /opt/fecru-3.10.3/bin/p4home/p4

verify if it can be executed

$ /opt/fecru-3.10.3/bin/p4home/p4 -V
Perforce - The Fast Software Configuration Management System.
...

Note those steps should be performed on behalf of the user running FishEye - if you use different user you may find out FishEye user doesn't have sufficient permissions to run p4 binary.

Finally, configure FishEye with the full absolute path to p4 binary (setting it to owning folder is not going to work), i.e. 

/opt/fecru-3.10.3/bin/p4home/p4

If this still doesn't help check your logs (FISHEYE_INST/var/log/atlassian-fisheye-DATE.log) for more details.

Hope that helps, 

Piotr

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

71 views 0 11
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