youngmon/atlassian-qna huggingface dataset:
java.lang.RuntimeException - com.cenqua.fisheye.LicensePolicyException: Your FishEye license is missing or invalid.
Asked by Steve Schaefer:

Hi. Went to login to FishEye and am getting the following error:

java.lang.RuntimeException - com.cenqua.fisheye.LicensePolicyException: Could not add user xxxxxxxx. Your FishEye license is missing or invalid.

com.cenqua.fisheye.LicensePolicyException: Could not add user xxxxxxxxx. Your FishEye license is missing or invalid.

Could not add user xxxxxxxx. Your FishEye license is missing or invalid.

You are running release FE2.8.0 (20120814071112 2012-08-14), please report your release number when reporting bugs.

My license is current. I figured I would check on the status of my license as a first step in the troubleshooting process. When I go to view my license in <https://my.atlassian.com/products/index> specifically at this link: <https://my.atlassian.com/products/editserverid/xxxxxxx> it asks me for my Server ID. The problem is I can't get at my Server ID in FishEye because it won't allow me to login per the problem I am having.

Not sure how to proceed or what needs to be done.

thanks

<br />


Answers:
author: LeonardoL
body: Hi Steve,

As per our support case the issue happened because FishEye was using an expired license. So the issue was solved when the license was upgraded.

I'm sharing the resolution of the support ticket here for future references of the comunity users.

Cheers,

Leonardo.

comments: author: Sascha Mareth
body: Hello.

As we have the same error in our logs (Fisheye 3.1.5) I would be interested if there was a resolution of the support ticket.

Our situation:

We have several Jira users and a few developers. The rights to view the "source Tab" are limited to the devs, but if there is one cklicking this tab and the license is ecxeeded there is an error message:

*Request to \<**SERVERURL** \> failed: Error in remote call to '\<SERVERNAME\>' (xxx) \[AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=\<JIRA-ISSUEKEY\>, expand=changesets\[0:100\].revisions\[0:99\],reviews}, methodType=GET}\] : Received status code 500 (Server Error)*

But it is possible to click the \<SERVERURL\> which caused than the exception.

Nevertheless I will issue an extra ticket, just curious if you something of that relates to your support ticket.
I can't create review
Asked by jangil oh:

I test Dragon test  
I'm here at stage 7, step 2  

I tried to create a review  
but I can't create a review  

I capture My permissions

create permission

![](../../upfiles/permision_create_1.png)

allowed review when create project

![](../../upfiles/allowed_review_participants_1.png)

<br />

when create a review on top manu right  
![](../../upfiles/create_review_1.png)

when click **Create Review** in the dropdown menu of the changeset   
![](../../upfiles/select_projects_for_new_review_2.png)

Please help me


Answers:
author: LeonardoL
body: Hi jangil,

Maybe this is not a Crucible's active user. You can double check that at FishEye Admin \> User \> Select the EDIT button of the correspondent user and verify if the option "Active Crucible user" is marked. If not, please select this option, click on apply and try to create the review again.

I hope this could help you.

Cheers,

Leonardo.

comments: author: jangil oh
body: Hi Leonardo  

Thank you for your answer  

I can create review  

Good day
Hardware configuration needed for FishEye & Crucible
Asked by Mohit Dhawan:

I would like to get some documentation on how scalable FishEye and Crucible are and what configuration system is needed to run FishEye \& Crucible. How many Perforce repository they can handle and how many lines of source code they can handle. We are looking to deploy this for 200+ users with multiple repositories.


Answers:
author: Harry Chan
body: Hi, what is the rough size of your repository? The limiting factor here is mainly disk performance for the indexing and CPU somewhat[.](http://www.cloudshards.com)

What sort of hardware configuration are you looking at[?](http://www.queryfoundry.com)

Performance of Fisheye/Crucible has improved in recent releases.


Tags: performance
Errors/Warning on log (Attempting to insert a revison which already exists)
Asked by starwarsfan:

Hi all together

Some days ago we upgrade our Fisheye installation from 2.8.0 to 2.8.2. Everything works as expected but then we spot a huge load on the machine and a look into the fisheye.out log show's a lot of messages like these:

WARN - For revision branches/ccfbr/kernel_3_2_virt/opt/files/lib/modules/3.2.23-virt/../../../../../../../branches/ccfbr/kernel_3_2_virt/opt/files/lib/modules/3.2.23-virt/kernel/drivers/media/dvb/dm1105/dm1105.ko@22751 a parent directory is currently missing

or

ERROR - Attempting to insert a revison which already exists for branches/ccfbr/kernel_3_2/opt/files/lib/modules/3.2.23/kernel/sound/pci/emu10k1@22751

There are also some Exceptions like the the one on the attached file (RepoReindexError.txt). I tried to reindex the whole repository but the result is the same.

Any ideas what the problem is? There are three repositories connected to fisheye, two with \~30000 Revisions, one with around 900 Revisions. Please let me know if you need further details.

Kind regards,

Yves


Answers:
author: Felipe Kraemer
body: Hi Yves,

According to this [KB article](https://confluence.atlassian.com/display/FISHKB/ERROR+-+Attempting+to+Insert+a+Revision+which+Already+Exists), this is generally caused by bad branching/tagging in a subversion repository.

Could you please try the suggestion mentioned in the KB article and let us know how it goes?

Cheers,  
Felipe Kraemer

comments: author: starwarsfan
body: Hi Felipe,

thx for your response. I added some excludes and the reindexing is running now. Because there are a lot of excludes to define, I just do a test run with a bunch of such excludes and see what happens. I will let you know about the result.

Kind regards,

Yves


author: starwarsfan
body: Hi Felipe,

to finalize this: Yes, the KB article seems to solve the issue. There where some "bad" actions on the svn repo done in the past which we spot now but with proper configuration/excludes everything works nice. Thx a lot for the help

Kind regards,

Yves
How can I get a previously uploaded private key?
Asked by Dave Challis:

I've got a git repository added to fisheye/crucible, and have previously uploaded a private key to use for connection to that git repo.

I'd like to re-use that private key somewhere else, how can I get at it from fisheye/crucible?


Answers:
author: lpater
body: Hi Dave,

you can find the keys in the FishEye data directory (pointed to by FISHEYE_INST) - the path is data/auth/\<repository_name\>
When adding content to review using search, is is possible to hide changesets that are already part of other reviews?
Asked by Rafa? Krzewski:

I'm trying to split a large pile of changests into several reviews. Searching the changestes is really useful for this, but it woluld be even better if I were ablo exclude from the result set all changesets that are already assigned to one or more revies.

Is this possible do somehow? I don't see a control for that in Search Criteria panel.

It appears that his should be possible: EyeQL supports "not in any review" - I've verified that is does what I need.

Alternatively, It would be great if it was possible to create a review from the results of Fisheye advanced search. I could not find a link or button or that on the search screen neither. Am I missing something or should I file an enhancement request?


Answers:
author: Rafa? Krzewski
body: There is a link labeled (switch to advanced search) in Search Criteria panel that I've missed earlier. It allows you to enter an arbitrary EyeQL query.

There you can slice and dice repository history as needed, without already reviewed bits obstructing the view.
Crucible permission scheme per project.
Asked by Hieu Le Trung:

Hi,

I have an issue with Crucible permission. If I configured to disable "All logged in user" to View project. I cannot access the project anymore.

Is it possible to configure permission scheme alone with Crucilbe project permission?

What is the different between View permission inside permission scheme and Allowed Review Participants inside Crucible permission.

Thanks,

-Hieu


Answers:
author: Felipe Kraemer
body: Hi Hieu,

If you disable "All logged in users" in "View" permission, this means that only the review participants of that specific project (reviewers, creator, author, and moderator) are allowed to access it.

If you don't belong to any of these roles but still want to view the reviews (like, for example, if you're an Administrator), you can edit the "View" permission and explicitly add your user in the "Individuals" field. You can also add Groups of users.
> What is the different between View permission inside permission scheme and Allowed Review Participants inside Crucible permission.

The "Allowed Review Participants" field is where you can adjust who will be allowed to have a role (i.e. be an author/creator/moderator/reviewer) in this project's reviews. Only the users / groups you add here will be able to view the reviews of that project if you disable "All logged in users" in "View" permission (explained above).

More information about Crucible permissions can be found here:

* <https://confluence.atlassian.com/display/CRUCIBLE/Creating+a+permission+scheme>
* <https://confluence.atlassian.com/display/CRUCIBLE/Editing+a+Project>

Please let us know if you have any further questions.

Cheers,  
Felipe Kraemer

comments: author: Hieu Le Trung
body: Felipe,

Although I was member of project CR-Test but I cannot access this link <http://localhsot/fisheye/project/CR-Test>

Is there anything wrong?

Thanks,

-Hieu


author: EddieW
body: @Felipe Kraemer - sounds like to keep projects restrcited you need a dedicated scheme with each project's LDAP group assigned to the "view".Just unchgeckuing "allow all" and setting the group to "allowed participants" doesn't actually make them participants.Bit of a chicken and the egg problem no?(Only authorized users can add participants, but no one except ad,mins are authorized to view it initially)


author: Hieu Le Trung
body: For example if I disable "All logged in user" in View permission of permission scheme. I cannot access <http://localhsot/fisheye/project/CR-Test>
Hardware System Requirements for Crucible for 10-100 users
Asked by Dan:

For a system with about 10 users that may grow to about 100 users:

This service will most likely be hosted in a VM.

How many processors should be provided?

How much memory should be provided?

How much space is required?

* External Database will be PostgreSQL on same server


Answers:
author: Felipe Kraemer
body: Hi,

It can be hosted in a VM. It should work as well, as long as you guarantee that the VM has enough resources.

With regards to space, this depends on the size of your instance (number of repositories, number of changesets per repository, number and size of files per changeset, etc).

With regards to the PostgreSQL database, it can be installed on the same server. Please make sure that the database version is 8.2, 8.3 or 8.4, because these are the versions supported nowadays.

Also, according to [this document](https://confluence.atlassian.com/display/FISHEYE/Supported+platforms), these are some of the other hardware requirements:

* CPU: 1.8GHz or higher, a single core is sufficient. More cores or higher GHz will result in better load-handling ability.
* RAM: 1GB minimum, 2GB will provide performance "headroom". Your Java heap should be sized at 512MB with the FISHEYE_OPTS environment variable, adjustable up to 1024MB depending on performance.
* I/O: FishEye's input/output is an important element of its overall performance. If FishEye accesses your repository remotely, make sure that the throughput is maximum and the latency minimum (ideally the servers are located in the same LAN, running at 100Mbps or faster).

Please let us know your further questions.

Cheers,  
Felipe Kraemer
what is fecru?
Asked by Kevin Goess:

Disk space on our fisheye installation was getting low last night, and I found 5gb of stuff in a user's home directory that looked old and unused so I removed it. "fecru-2.6.1". Turns out that was actually hooked up to jira and I broke our source buttons

Problem executing query  
(com.cenqua.fisheye.util.LRUCache$ValueFactoryException:  
com.cenqua.fisheye.rep.DbException:   
org.apache.lucene.store.NoSuchDirectoryException:   
directory '/home/\<snip\>/fecru-2.6.1/var/cache/Network/idx0' does not exist):  
select revisions from dir "/" where comment matches "OPS-197" order by date asc group by changeset return csid

Now I'm unable to find any information on what "fecru" is or does nor any place to download it. The only atlassian reference google shows me is this rather vague page:

<https://developer.atlassian.com/display/DOCS/atlas-create-fecru-plugin>

Can anybody help me with some clue?


Answers:
author: Vitalii Petrychuk
body: FECru stands for Atlassian's FishEye \& Crucible.

You may download 2.6.1 from here: <https://www.atlassian.com/software/crucible/download-archives>


author: Marek Parfianowicz
body: "FeCru" is a nickname for "FishEye and Crucible".
Checkout Through Fisheye
Asked by Alex:

This is a pretty basic question, but is it possible to checkout a repository once it is imported into fishey?

uberSVN hosts the repository once you create it, i was looking for a similar feature in fisheye.

I have several existing SVN repositories. I have imported them and i can view their history etc. Can I make it so a user in Fisheye has access? Once imported, what is the URL to the repository in that case?


Answers:
author: Norman Abramovitz
body: Fisheye does not checkout a copy of the svn respository when I last looked at it. It references the main repository and it creates its own structures.

comments: author: Norman Abramovitz
body: Fisheye is a source code viewer and not a source code maintainer as noted in its documentation guide.

<https://confluence.atlassian.com/display/FISHEYE/Getting+started>
(U) Can you manually mark code as reviewed in Crucible?
Asked by Michael Hilton:

(U) As a new user of Crucible, I was wondering if there was a way to mark code or changesets as reviewed, assuming we reviewed them with a different tool prior to having Crucible? Looking at our metrics, it shows 0% reviewed since we have not reviewed anything with Crucible yet.


Answers:
author: Norman Abramovitz
body: Take a look at the Crubible command line interface.

<https://marketplace.atlassian.com/plugins/org.swift.crucible.cli>

You can create reviews and move them through your transitions

<https://bobswift.atlassian.net/wiki/display/crucli/Documentation>


Tags: metric
Change automatic logout value
Asked by Raffaele Filardo:

Our Fisheye users are being automatically logged out after 30minutes of inactivity. I have looked in the admin panel for a setting to change his value without success. How do I change this value?

We have local Jira, Confluence, and Fisheye/Crucible installation. Jira is the user manager for all these applications.


Answers:
author: Bhushan Nagaraj
body: Hi Raffaele,

This should help you

<https://confluence.atlassian.com/display/CRUCIBLE/Increasing+the+session+timeout>

comments: author: Bhushan Nagaraj
body: web.xml is located in your fisheye installation directory in content\\WEB-INF


Tags: default

logout

period

user
New Navigation
Asked by Tony Garcia:

Is there any way to go back to the previous navigation? We're finding the new navigation much harder to use. It's a complaint I'm hearing from pretty much everyone at work.

A couple of specific issues:

\* It now takes more clicks to get to the Agile board. I would rather be able to quickly jump to the current one, and change it there if I need to. The new drop-down isn't as easy.

\* Our biggest issue here, however, is Crucible - there used to be a quick link to "Reviews" at the top. That's gone now. Instead, you have to use the drop-down and find it in the list.

\* And even worse - going BACK to Agile from Crucible requires going back to the Dashboard first - all the navigation is gone when you go to Crucible.

The old navigation was easier to use. Please bring it back, or find a way to give us an option to use it instead.


Answers:
author: Tony Garcia
body: Looks like there's no answer other than learning to live with it.


author: Bob Swift (personal)
body: See [https://answers.atlassian.com/questions/96802/why-the-new-upgrade-sucks](/questions/96802/why-the-new-upgrade-sucks) and all the other related links.


Tags: cloud

jira-cloud
[Atlassian OnDemand] - Import the repository with SVN log history
Asked by dhaval soni:

There would have option to preserve the svn history log while importing repository or svn check out the repository.

As we need to move current svn repository server to Atlassian (On Demand) - Fish eye repository But, not able to find any interface which can allows to preserve the SVN LOG history.

Plugin Details:

Version: 5.2.2

Developer: Atlassian Software Systems

Plugin key: com.atlassian.jirafisheyeplugin

Provides OnDemand-specific capabilities to the original JIRA FishEye plugin.

Version: 0.4

Developer: Atlassian

Plugin key: com.atlassian.ondemand.backupmanager.on


Answers:
author: Norman Abramovitz
body: You take a dump of your old repository and you can import that. Please be aware Atlassian has announced dropping support for subversion as I read things. You can find the url about the end of life also in the same url about importing data.

<https://confluence.atlassian.com/display/AOD/Importing+Versioned+Data+into+Subversion>

comments: author: dhaval soni
body: Thanks for the comments. It could works for me.


author: Vishwajeet Singh
body: You need to create dump of your svn repository and upload it as mentioned here [Importing Versioned Data into Subversion](https://confluence.atlassian.com/display/AOD/Importing+Versioned+Data+into+Subversion)


author: Bhushan Nagaraj
body: Hi Dhaval,

Fisheye is not a subversion repository server. It is a source code management tool. It allows you to browse, search, monitor and analyse your code being hosted in a subversion repository.

Please consider going through the atlassian fisheye overview again available on the website.

This answer is based on your statement "As we need to move current svn repository server to Atlassian (On Demand) "


Tags: cloud
Integrating Fisheye with Jira via https Authentification
Asked by Andreas Hilmer:

Hi,

I have a question regarding the integration between Jira and Fisheye.

Our Jira is installed on a tomcat and can only be accesed throw a Apache Web Server. This requires a Basic HTTP(S)-Authentification before you can login to Jira.

Does Fisheye support Basic HTTP(S)-Authentification? I have found no way to set up Fisheye to access Jira. Any ideas?

Best regards,

Andi


Answers:
author: Felipe Kraemer
body: Hi Andreas,

Yes, FishEye supports Basic Authentication.

Have you already tried to import JIRA certificate into FishEye keystore?

Could you please let us know what error you see when trying to create the application link?

Cheers,  
Felipe Kraemer

comments: author: Andreas Hilmer
body: Hi Felipe,

thanks for you answear.

I will go more in detail. On <https://mycompany.com/build/jira/> there is a Jira 5.0.6 running. Before I can login into Jira I have to submit a username and password. Then we customised our Jira to use that login (Single Sign on). So Jira us the Authentification to login to Jira.

Now we want to use Fisheye with that Jira. I installed it local on my windows machine and tried to connect with Jira.

- I used the SSLPoke Java program to verify if connection: Successfully connected

So i think thats not the problem.

After I added a Application Link I get the message that "Application 'ABC' seems to be offline. Click here to Relocate"

Then i went to Configure Action for the Application Link and added the Outgoing Authentifiaction "Basic Access".

But when I go to JIRA Settings and press test i get error message: "Communication error while talking to JIRA: null - please ensure that (1) your JIRA server running and (2) you have enabled JIRA's remote API."

I have found out that you can only access the Jira with the following URL <https://mycompany.com/build/jira/> but Fisheye cuts off the last "/" from the Application URL.

Best regards,

Andi


author: Andreas Hilmer
body: Hi,

I still couldn't figure it out why it's not working. When I installed the Eclipse Jira Connector and point it to the installed Jira URL and use the Authentification User/Password it works.

So Fisheye dont work, Eclipse connector does.

Best regards,

Andi
Fisheye java fail to start
Asked by Rob Gene:

Fisheye 2.8.2 running on windows server 2008. Java JFK 1.7.0_07. Path set correctly, environment variables set correctly for fisheye and java. Still, when executing start.bat, says it needs java to run. Anything I've missed? Jira is running on the same server, do java is obviously working. Any ideas appreciated.


Answers:
author: Conor
body: One way to get a better idea of what is happening is to turn echo on in the batch files (change @echo off to @echo on). You'll probably need to do this in both start.bat and fisheyectl.bat.


author: Felipe Kraemer
body: Hi Rob,

Just to double check your Java installation, could you please provide us with the output of the following commands:

* echo %JAVA_HOME%
* java -version
* echo %PATH%

Also, can you please confirm that you're starting FishEye from command line, instead of as a Windows service?

Lastly, please review this document:

<https://confluence.atlassian.com/display/FISHEYE/Installing+FishEye+on+Windows>

Cheers,  
Felipe Kraemer
Can we do crucible review across two different branches?
Asked by Amit Girme:

Can we do crucible review across two different branches?

e.g.

ABC/**personal**/main/...@123

ABC/main/...@1234  
It is different changelists on different branches as I need to diff the state of the main branch at the point I last caught up in order to only diff my changes on my personal branch  
How can we achieve it?  


Answers:
author: AafrinA
body: Hi Amit,  

I think it is not possible at the moment. The feature you had mention is already added in the feature request which is available [here](https://jira.atlassian.com/browse/CRUC-1542).


author: Tommi Laukkanen
body: Is this possible now with Crucible 3.8+ which supports branch reviews?


author: Mahesh Vandi Chalil
body: Do we have an answer for this yet?