youngmon/atlassian-qna huggingface dataset:
Transfer Crucible Reviews from one repository to another
Asked by Cajus Hahn:

We have to move from Mercurial to Git for all our repositories.

Transfer is not a problem, but we have numerous code reviews in Crucible, which are bound to this Mercurial repositories.

We must not loose the reviews and would like to re-connect the reviews to the migrated Git repos.

It looks like Crucible binds a review to the repository and to the changeset in some way. I am pretty sure, there is no automated way to rebind the reviews, but could anybody tell me, which database table and which column I would have to modify to rebind the reviews to the Git repositories?


Answers:
author: Marek Parfianowicz
body: May I ask you why do you want to rebind code reviews?

Can't old reviews be linked with Mercurial repositories, while new ones created against new Git repositories?

Did you consider storing content of file revisions under review? Crucible has such option:

<https://confluence.atlassian.com/crucible/storing-all-revisions-under-review-298977548.html>

thanks to this, you will be still able to see review content, even if the repository is no longer accessible.

comments: author: Cajus Hahn
body: We will shut down Mercurial soon, after converting the content of the Mercurial repositories to Git. We will not create only new repositories on Git, but continue to work on the existing (to Git converted) repostories and the goal is be able to access the old revievs from the converted Git repository.

Storing content of file revisions under review is not a real solution, because

a) you need a huge additional space to store all the content

b) according to the link, "the storage only applies to reviews created ++**after**++ Revision Storage is enabled"

As far as I saw, the Fisheye/Crucible database stores the changeset hashtag(s) and the repository name for reviews. If I could get a list with *Mercurial changeset : Git changeset* out of the conversion tool, I should be able to replace the values in the Fisheye/Crucible database, right?
The database, as currently configured, is not accessible.
Asked by Moises Castillo:

I'm getting this error and need precious community help!

The database, as currently configured, is not accessible.  
Login failed for user 'bitbucketuser'. ClientConnectionId:bb8f140a-f3b1-4ad9-a12f-be4d46b04452

On a windows 2008 server... I know it's not the ideal setup but this place is a Windows Shop.

-MC


Answers:
author: Christian Glockner
body: Hi Moises,

The error message suggests that the username and password you're using to connect to the database server is not correct. Be sure to use correct credentials and try again.

Cheers,

Christian

Premier Support Engineer

Atlassian


Tags: bitbucket-server
Integrating JIRA cloud with fisheye
Asked by Wayne Dillon:

Hi,

I'm running a fisheye instance on my local machine as a trial, we also have a jira software instance running against the cloud. I've set up an application link from fisheye to jira but am getting the following network error:

![NetworkErrorFisheye.PNG](/t5/image/serverpage/image-id/5433iED349700C8396836/image-size/large?v=v2&px=999 "NetworkErrorFisheye.PNG")

The troubleshooting tells me that this is being caused by the lack of a matching application link on jira, however, as fisheye is running on my local machine (which is not publicly accessible, to the best of my knowledge) when I try to create the jira link I see the following:

![NoResponseJira.PNG](/t5/image/serverpage/image-id/5436iC9C2F6CB9E33C59B/image-size/large?v=v2&px=999 "NoResponseJira.PNG")

Is there a way to generate a consumer key (from jira, for fisheye) and establish a one way link? Alternatively, am I missing something with the jira application link? I imagine this has to be an issue common to anyone whose jira runs on the cloud and doesn't have an accessible server.

Cheers,

Wayne


Answers:
author: Jeff Thomas
body: Hi Wayne,

The JIRA Cloud instance needs to be able to talk to the FishEye instance to establish the Application Link. The two applications will talk with each other and set up the consumer key and other details. This is mentioned in the [Link to server apps from Cloud](https://confluence.atlassian.com/cloud/link-to-server-apps-from-cloud-744721656.html) documentation.


Tags: jira

jira-cloud
I cannot get LoC information for Git repository in FishEye 4.4.2
Asked by Ola Presterud:

According to changelog for FishEye 4.3, LoC have been implemented for Git repositories. But I cannot get this to work, just upgraded to FishEye 4.4.2. Even after adding a new repository from Stash, ensuring it has been fully indexed, it still states "This plugin does not have access to all the repository data for XXXX/. Some data is not available: The repository may be indexing, may not support LoC or has "Store Diff Info" turned off".

"Store Diff Info" is enabled.

Anyone having experience with this?


Answers:
author: Sandhya
body: We to getting the same issue.

Repository-\>Reports-\>Code Metrics

Once we click on the **Code metrics** under repository reports getting below error

This plugin does not have access to all the repository data for Test1234/. Some data is not available: The repository may be indexing, may not support LoC or has "Store Diff Info" turned off.

**Note:** "Store Diff Info" is enabled.

Kindly help on this issue.

comments: author: Admin
body: Hi,

Did you ever find resolution for this issue, i am also having the same?


author: Marek Parfianowicz
body: Fisheye does not support LOC in reports for Git and Hg. You can use DLOC charts feature only.


author: lazy
body: how to use DLOC


author: Marek Parfianowicz
body: Are you talking about LOC or DLOC? In FishEye 4.3 we have implemented DLOC (i.e. delta-LOC) for Git and Mercurial repositories.
Content search by partial data
Asked by saroj3kp:

In Fisheye 4.4, the content appears match only when the enire phrase (say, fisheye) is supplied. In other words, it doesn't find any hits for partial strings (say, fish, for instance). The regular expression doesn't appear to be working either - or perhaps, I am using incorrect syntax for building the search string. Did anyone have this issue?


Answers:
author: Mark A_
body: Hey Saroj,

It appears that 'content' only performs full phrase searching and not partials. Therefore, looking for 'fish' will only retrieve 'fish'. I verified this by performing some search tests and using [EyeQL](https://confluence.atlassian.com/fisheye/eyeql-reference-guide-298976796.html) to modify the search operators.

I did find an enhancement request to provide wildcard or regular expression to the search for content. See [FE-4790 - Add wildcard to Quick Search or '=\~' to EQL content search](https://jira.atlassian.com/browse/FE-4790)

Regards,

Mark
Crucible offline installable
Asked by Prashant:

Hi

My JIRA server is not having internet connection , is there any offline crucible installable available to download for Windows Server 2003 32 bits


Answers:
author: noamdah
body: Upgrading an existing FishEye installation to also use Crucible only requires a simple license change in the admin area, you do not need to download Crucible from Atlassian.

To add your Crucible license key, go to the admin area and click **System Info** (under 'System Settings'). Click **Edit License** (under 'License') to enter your Crucible license key. Crucible functionality will be instantly unlocked.

comments: author: Prashant
body: sorry I have posted under wrong heading , now updated


author: noamdah
body: You can download installation file [here](https://www.atlassian.com/software/crucible/download), move it to the server and here is the [installation guide](https://confluence.atlassian.com/crucible/installing-crucible-on-windows-298977371.html).


author: Prashant
body: Thank you
Issue with initial indexing of a collabnet repo
Asked by saroj3kp:

I just bought a 5-user license, and the indexing of collabNet SVN repo that has 10+ projects throws the following error. Is one sub-folders being equated with one SVN repo? Any guidance on what's is considered as a repo will be helpful.

"license limit reached, indexing stopped"

Thanks in advance,

Saroj


Answers:
author: Jeff Thomas
body: Hi Saroj,

You can have any number of "projects" inside a single repository as long as it meets the Starter License restrictions. Only the repositories under the Repositories page count towards the limits.

You can have up to 5 separate repositories

You can have up to 10 historical committers per repository

More details at [Restrictions on FishEye Starter Licenses](https://confluence.atlassian.com/fisheye/restrictions-on-fisheye-starter-licenses-298977116.html).

There will likely be more details about the specific limit that was reached in the UI and the FishEye logs.
Installation Problem
Asked by Peman Montazemi:

After having downloaded Crucible with different Instance and Installation directories, trying to run the command bin/start.sh on Linux 64-bti Ubuntu Server 16.04 LTS and getting the following:  

Starting FishEye/Crucible... Output redirected to /home/pemanm/Documents/Atlassian/Crucible//var/log/fisheye.out  

Catin the contents of the fisheye.out file, get:

-Djava.endorsed.dirs=/opt/atlassian/crucible/lib/endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.  
Error: Could not create the Java Virtual Machine  
Error: A fatal exception has occured. Program will exit.  

On Java side, java-8-openjdk-amd64 has been installed and under /usr/lib/jvm, the following two directories exist:  

java-1.8.0-openjdk-amd64

java-8-openjdk-amd64

Also, added the following line in /etc/environment:

FISHEYE_INST="home/\<user_directory\>/Documents/Atlassian/Crucible/" which is the Instance directory (the installation directory being /opt/atlassian/crucible/)

JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64/"

Thank you,

PemanM


Answers:
author: Jakub Silarow
body: I also have sam issue - please advise!


author: Dorra Kacem
body: Any updates for this isse? I had the exact same problem on windows.


author: Sebastian_Sojka
body: the same issue here


author: Lars Olav Velle
body: what is the output from:

echo $JAVA_HOME

echo $FISHEYE_INST

comments: author: Peman Montazemi
body: echo $JAVA_HOME generates /usr/lib/jvm/java-1.8.0-openjdk-amd64/  

echo $FISHEYE_INST generates /home/\<username\>/Documents/Atlassian/Crucible/  

I am using a Linux Ubuntu Server 16.04 LTS 64-bit


Tags: install
Configure ssl for fisheye on port 444
Asked by equigroup:

Hello,

I'm tried to configure ssl for fisheye on port 443 but kept getting the error the address is being used for port 443 which make sense because other applications are also using the same port.

So, to resolve the issue I used another port 444, however it gives the below error:

"Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to again. If this error persists, it is possible that this site uses an unsupported protocol or cipher suite such as RC4 (link for the details), which is not considered secure. Please contact your site administrator. "

Can someone please help me configure ssl for fisheye.

Thanks,

Shilpa


Answers:
author: Lars Olav Velle
body: What is currently running on port 443?

comments: author: equigroup
body: Hi Lars,

<br />

Appreciate your quick response. I had teamcity running on the same port so I changed it to use another port.  
Now, I'm running fisheye on port 443 but still getting the same error in IE; Chrome, Opera and firefox are giving the below error.

<br />

This site can't provide a secure connection  
uses an unsupported protocol.

ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Unsupported protocol  
The client and server don't support a common SSL protocol version or cipher suite.

Thanks,  
Shilpa


author: equigroup
body: Hi [@Lars Olav Velle](/t5/user/viewprofilepage/user-id/817815),

Did you get a chance to look at my response?

Thanks,

Shilpa


author: Lars Olav Velle
body: Hi!

The error message indicated that you are serving SSL 3.0 or some other protocol that the browser does not support.

E.g since Chrome 40, SSL 3.0 would typically throw such an error as it\`s not concidered secrue anymore.

Managing SSL and tomcat is pretty hard, and I would not recommend it.

I would strongly advice you to install a proxy server e.g like apache or nginx.

Have a look at this guide:

<https://confluence.atlassian.com/kb/reverse-proxy-and-application-link-troubleshooting-guide-719095279.html>


author: Lars Olav Velle
body: You can use openssl to test SSL:

Connect, but only try to connect wil ssl 3.0  
openssl s_client -connect issues.kantega.no:443 -ssl3

Connecct, but only with tls 1.1 and 1.2  
openssl s_client -connect issues.kantega.no:443 -tls1_2 -tls1_1


author: equigroup
body: Thank you Lars, I configured the application on IIS and it is working as expected.

Regards,

Shilpa
Unable to complete Repository Indexing
Asked by Daniel Martinez:

Hi all,

We are attempting to configure Crucible to use one of our SVN repositories which follows the usual structure (tags, trunk, branches). However, we are facing several problems that we are trying to fix using the allowed settings. Unfortunatelly, we are stuck on the following one.

"Repository paused due to error com.cenqua.fisheye.rep.RepositoryClientException:java.lang.IllegalStateException: Cant't overwrite cause with org.tmatesoft.svn.core.SVNException E175002: CRLF expected at end of chunk ..."

We have checked at the Atlassian community and we've found that this could be related to the "Svn Operation Timeout" that we are using... but the solution is not working for us (we've set it to 10 hours and same behavior happened).

Other meaningful attempts that we've done:

- Set Start revision to a "recent" revision

- Add several Exclude patterns

**Can anyone provide help to us on that please?**

Thanks in advance!

![CrucibleConfig.png](/t5/image/serverpage/image-id/5221iBF4888631F6066B6/image-size/large?v=v2&px=999 "CrucibleConfig.png")


Answers:
author: Mikael Sandberg
body: You may want to checkout this bug report regarding httpd, <https://jira.atlassian.com/browse/FE-5551>. The error message is not the same, but it be worth a try and make sure you are using the latest httpd version.
Fisheye diffs vs. Git Hub Diffs
Asked by Adam Aarakelian:

Hi Folks,

We are using Git Hub and Fisheye. What is the algorithm that Fisheye uses to diff on a merge commit? We noted the same merge commit was different between Git Hub and Fisheye. Anyone know why?  

Adam


Answers:
author: Grzegorz Lewandowski
body: Generally speaking, Fisheye isn't very good in showing diffs for git commits.

Currently it just shows conflict diffs (changes made to both of the parent commits)

<br />

<br />

There's an open improvment issue to track this <https://jira.atlassian.com/browse/FE-4004> inconvenience
Error during initial Subversion scan
Asked by Gerry Campbell:

Hi I recieved the following error during the initial scan after installation.

Re Mon Aug 21 14:36:27 GMT+100 2017: Repository paused due to error com.cenqua.fisheye.rep.RepositoryClientException: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E200014: Checksum mismatch for 'Release/V1.0 Code Review/HPP Garment Programmer/bin/Release/HPP Garment Programmer.vshost.exe' java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E200014: Checksum mismatch for 'Release/V1.0 Code Review/HPP Garment Programmer/bin/Release/HPP Garment Programmer.vshost.exe' org.apache.subversion.javahl.ClientException: svn: E200014: Checksum mismatch for 'Release/V1.0 Code Review/HPP Garment Programmer/bin/Release/HPP Garment Programmer.vshost.exe'

I've searched the forums and increased the http-timeout of both SVN and crucible/fisheye as that was the most similar issue but to no effect.  
Could anyone point me in the right direction? Is this an issue with SVN or crucuble?


Answers:
author: Mikael Sandberg
body: You may want to take a look at this bug, <https://jira.atlassian.com/browse/FE-5551>. The error message is not the same, but you may want to make sure that you are on the latest httpd version. Another option would be to mirror the repository locally on the Fisheye server and see if that helps.
How can I reduce the number of committers?
Asked by iron.werther:

Hello!

At startup, with starter license, FishEye complains:

2017-08-23 10:34:10,919 WARN \[RepoStarter-2 next \] fisheye DefaultLicenseEnforcer-validateCommitterLimit - Committer limit exceeded - committer list: \<list of eleven folks\>

Most of them \*once\* worked here. How, and where (in Bamboo?), can I reduce the list?

Is the list connected to some repository? Is that repository's name then "next"?

--

Pete


Answers:
author: Grzegorz Lewandowski
body: Fisheye reads whole history of the repository and detects committers of it.  
Starter license has a limitation that only 5 commiters are allowed. It doesn't matter that nowadays actievly only 3 people commit to that repository.

> Is the list connected to some repository? Is that repository's name then "next"?  
>
> <br />
>
> <br />
>
> <br />
>
> Yes, that is a Fisheye's repository name.

comments: author: iron.werther
body: Hello Grzegorz!

Is this still a legitimate use of the software? If yes, then Fisheye would not need to complain...

--

Pete


author: Grzegorz Lewandowski
body: Sorry, I don't really understand the question.   

Yes, Fisheye is able to index repositories with higher numer of commiters, however, *Starter* license have a [number of limitations](https://confluence.atlassian.com/fisheye/restrictions-on-fisheye-starter-licenses-298977116.html) and number of historic committers per repository is one of them.


Tags: fisheye-crucible-administration
"server error" when closing crucible review
Asked by Chris Mitchell:

Twice over the last two days, one of our developers closed a review and received a server error popup -- he can't say whether additional information was provided. He notes that the crucible review does close correctly but the associated jira issue does not get updated to show the new state of (in this workflow) 'to integration'.

We are using FishEye 4.4.1 20170515065843  
Crucible 4.4.1 20170515065843

JIRA 7.4.1


Answers:
author: Jeff Thomas
body: Hi Chris,

If you look in the FishEye logs around the time that the developer reported the error, we should be able to find an error related to the popup. Can you check the logs and provide the stacktrace?
Maximum number of Bitbucket Repositories in Crucible?
Asked by Guy Hershberger:

We have an on-premise BitBucket 5.1.3 instance running 1 Project with \~582 respositories and growing. Each respository has seperate permissions via AD groups.

We're looking into our options for performing code reviews without pull requests. Is there a limit or any performance considerations to factor in if we were to evaluate using Crucible to connect to 600+ bitbucket repositories?


Answers:
author: Ana Retamal
body: Hi Guy! If you have the right license there will be no limitations on the number of repositories you can have in Crucible. It will just take more resources to keep it up and running.

If you have the Starter license, you'll be limited to 5 repos; if you have a commercial license then there are no restrictions on the amount of repos you can have. For more info on the licensing, you can check [Crucible licensing](https://www.atlassian.com/licensing/crucible?_ga=2.132942030.1760639446.1502697114-764984710.1492455458#downloadlicenses-1)

Hope that helps!

Ana


Tags: bitbucket-server
Migrating Crucible to AWS server
Asked by Anvesh Gurudu:

Hello,

I am working on migrating Crucible 3.10.4 to AWS server

The current crucible server has mysql 5.6

So, I have installed Crucible 3.10.4 and mysql 5.6 on AWS server.

I have copied fecrudata driectory and back up zip file to aws server.

Do i need to copy mysql database too?

And,

When i did backup restore, not able to start after completion of backup restore.

I am not able to find anythign in logs as it is very big

I have followed the URL : [https://confluence.atlassian.com/fisheye/migrating-fisheye-between-servers-298977080.html](https://confluence.atlassian.com/fisheye/migrating-fisheye-between-servers-298977080.html?)

Can anyone send me correct steps for migrating to aws server

Thanks  
Anvesh


Answers:
author: Felipe Kraemer
body: Hi [@Anvesh Gurudu](/t5/user/viewprofilepage/user-id/1143914),

At the document you've found, [Migrating Fisheye Between Servers](https://confluence.atlassian.com/fisheye/migrating-fisheye-between-servers-298977080.html), it is mentioned that if you use an external database it must be accessible from the new server, so you are not *required* to migrate the database to AWS, but you are surely *recommended* to do that.

That document does not consider the possibility of running Fisheye in AWS while the database is still hosted in your own servers, and we have seen terrible performance issues due to network latency in such scenario, so we *strongly recommend* you to migrate the database to AWS as well.

Also, after moving Fisheye and the database to AWS you will have to edit the database settings in *FISHEYE_INST/config.xml* because the JDBC URL will still be pointing to your local database server. You will have to update this so that it points to the database hosted in AWS.

I hope this helps!

Felipe
How do I minimize the description column in the commits list?
Asked by ben.lord:

I think I'm experiencing a bug.

Once upon a time someone on my team wrote an insanely long commit description. Now in Sourcetree, every column after "Description" requires 10 viewports worth of scrolling to the right in order to see the hash, author, date columns etc. I am not going to screenshot because it's corporate data. Hopefully you can easily imagine?

The hash, author, and date columns are all resizable when I drag the pipe to the right of them. But the pipe just to the left of the "Commit" column, though I get a drag icon when I hover it, is not actually draggable to the left. I can drag it even further to the right (no thanks).

The expected behavior is to be able to drag the pipe between Description and Commit to the left, and have long description messages be truncated with ellipses, as with the other columns.

Thanks for any insight. Running 4.1.6 (242) on Apple Silicon


Answers:
author: Denis P_
body: Same here

Sourcetree v. 4.1.8 (244), macOS monterey 12.1, MacBook Pro M1
Show Full Output
Asked by Alex:

I can't find the Show Full Output setting to always show the default output.

This item is not on the menu. Any help?

macOS 10.13; Sourcetree version 3.2.1


Answers:
author: boris.gavrikov
body: ![Screenshot_20221212_043246.png](https://community.atlassian.com/t5/image/serverpage/image-id/230132i04C5F6620D8397A7/image-size/large?v=v2&px=999 "Screenshot_20221212_043246.png")

comments: author: Alex
body: [@boris.gavrikov](/t5/user/viewprofilepage/user-id/5099623)

macOS 10.13; Sourcetree version 3.2.1

![?????? ?????? 2022-12-13 ? 09.28.10.png](https://community.atlassian.com/t5/image/serverpage/image-id/230223i784716C54C8B7554/image-size/large?v=v2&px=999 "?????? ?????? 2022-12-13 ? 09.28.10.png")


author: Alex
body: Am I the only one having this problem?