youngmon/atlassian-qna huggingface dataset:
Crucible/FishEye - Link Multiple Trunk Repositories to Single Project
Asked by CTO Build, Run, and Architecture:

What is the best way to setup multiple (trunk) repositories and single project setup in Crucible/Fisheye? repositories path are like ...svnrepo1/path1/trunk1, ...svnrepo1/path2/trunk2. There are other path exist under same svnrepo1 so we don't prefer setting only svn repo and leaving the path blank/.

FishEye/Crucible Version : 2.9.2 20121210041242

Below are the options we are considering with reference to the documentation/forum. Please suggest the best approach.

1: Create multiple repos and multiple crucible projects. (1-1 relationship between Repo and a project)

2: Create Multiple repos, and one crucible project. (Downside, For every review, the author needs to explicitly select the crucible projects).

3: Create Multiple repos, and one crucible project - Use smart commits. Using this option, the svn commit message would contain "+review nameofcrucible project"


Answers:
author: Felipe Kraemer
body: Hello,

If you want to setup multiple repositories to a singe Crucible project, the best approach is to logically split the single svnrepo1 repository by their trunks, and have each of these repos linked to that Crucible project.

Your repository root is ...svnrepo1, right? It's structured like this:

[http://svnrepo1
\|--](http://svnrepo1%3Cbr%3E%7C--) path/to/trunk1  
\|-- path/to/trunk2

So instead of adding this single repository:  
'SVN URL'=http://svnrepo1 and 'Path'=(blank)  
![](../../upfiles/FE28_SVN_2.jpeg)

You can use:

* 'SVN URL'=http://svnrepo1 and 'Path'=/path/to/trunk1 for a repository named, e.g., 'trunk1'
* 'SVN URL'=http://svnrepo1 and 'Path'=/path/to/trunk2 for a repository named, e.g., 'trunk2'

In your case, I do believe that your best option is #3:

Create Multiple repos, and one crucible project - Use smart commits. Using this option, the svn commit message would contain "+review nameofcrucible project"

I hope this helps!
Unable to pull from remote repository: abort: unknown encoding: x-MacCyrillic
Asked by Illia Vlasov:

Hello.

Decided to try Crucible, however got error when added repository:

Unable to pull from remote repository: ssh://hg@bitbucket.org/... - \[abort: unknown encoding: x-MacCyrillic, (please check your locale settings)\] - pulling from [ssh://hg@bitbucket.org/..](ssh://hg@bitbucket.org/...).

How can I fix the issue?

Thanks in advance!

Regards, Illia


Answers:
author: Gurleen Anand _Atlassian_
body: Hi Illia,

Can you please try the workaround suggested here:

[https://answers.atlassian.com/questions/100348/i-can-t-pull-from-remote-repository-for-unknown-encoding](/questions/100348/i-can-t-pull-from-remote-repository-for-unknown-encoding)

Thanks,

Gurleen

comments: author: Illia Vlasov
body: Hi Gurleen,

This link helped to resolve issue.

Thank you,

Illia


Tags: fisheye-crucible-administration
Fisheye repository scanning for a long time
Asked by Rumceisz:

Hi All,

we have configured a repository to our Fisheye more than 10 days ago and the Fisheye is still scanning. Is there any logs to see the progress of the scan?

Thanks for the support!

Rumi


Answers:
author: Foong
body: Hi Rumi,

The latest FishEye/Crucible 3.0.2 will have the progress bar for SVN repository:

<https://confluence.atlassian.com/display/FISHEYE/Pipelined+indexing>


author: Rumceisz
body: Hello,

the repo is Subversion and the Fisheye/crucible versions are: 2.10.0

<br />

Thanks,  
Rumi


author: Foong
body: What is the repository type and FIshEye/Crucible version?


Tags: fisheye-crucible-administration
Backup Crucible with native db tools?
Asked by Svante Gustafsson Bj?rkegren:

Hi,

I am setting up a backup scheme for our Crucible/Fisheye instance and I thought of using the same setup as we have for JIRA and Confluence,

* db-dump of the postgres-db
* file-archives of the install and home directories

But I haven't found this setup anywhere in the Crucible/Fisheye documentation. The only alternatives discussed are:

* scheduling backups within the GUI
* use the CLI to create the backups from a script

Is it not recommended to do it in the same way as for JIRA and Confluence?

This would fit in better in our backup infrastructure to do it that way.

Does anyone have any experiences of this way to backup Crucible/Fisheye?

Best regards,

// Svante


Answers:
author: Felipe Kraemer
body: Hi Svante,

You are not finding any documentation regarding the approach you want to follow because that's not what Atlassian recommends.

As you've realized, we recommend using scheduled backups or the CLI to create backups from a script.

You might be asking why Atlassian does not recommend the approach you're trying to follow. The answer is simple: to avoid data inconsistency / corruption. As Crucible reviews are stored in the database, if the database is being backed up while the instance is up and running and users are working on Crucible reviews, you might face data inconsistency problems.

It doesn't mean that the approach you want to follow won't work. It works, but **only if the FishEye/Crucible instance is turned off** before proceeding. This would ensure data consistency.

Kind regards,  
Felipe Kraemer


author: Sergey Svishchev
body: Just remember that native backup is always consistent, but external backup is only consisten if app is not running at the time.


Tags: fisheye-crucible-administration
Error in application link in Fisheye
Asked by Rumceisz:

Hi All,

when trying to connect reciprocal between Jira and Fisheye we always meet the following the attached error.

How can it be fixed? Because we need this connection from Jira to Fisheye repo.

Thanks in advance,![](../../upfiles/app_link_error.jpg)

Rumi


Answers:
author: Renjith Pillai
body: Rumi,

Are you able to connect to JIRA server from Fisheye using the same name set in the JIRA base url?

comments: author: Rumceisz
body: Hello Renjith,

do you mean put this URL into the web browser?

The weird is that this reciprocal link setting was available until last week.

<br />

Rumi


author: Renjith Pillai
body: Yeah, or wget.


Tags: fisheye-crucible-administration
Lib Directory Not Found When Using FISHEYE_INST
Asked by Shelli:

I am upgrading our lab Crucible/Fisheye instance in lab to 3.0.2 and as part of the process am trying to set it up to use the FISHEYE_INST. I have followed the directions at <https://confluence.atlassian.com/display/CRUCIBLE/Crucible+upgrade+guide#Crucibleupgradeguide-UpgradingtoCrucible3.0> including copying the data, var and cache directories. However, I cannot start the app up and get this error in the log:Caused by: java.lang.IllegalStateException: Database not available (Unable to connect to MySQL database jdbc:mysql://127.0.0.1:3306/crucible?useUnicode=true\&characterEncoding=UTF8\&sessionVariables=storage_engine=InnoDB: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver: is the database driver jar file properly installed in the FISHEYE_INST/lib directory?). Current state: NO_DBWhy is Crucible/Fisheye looking for the lib directory in FISHEYE_INST/lib instead of in the directory where I extracted the application zip file?I could copy the lib directory to the FISHEYE_INST directory as well, but that doesn't appear to be the way it was designed to work.


Answers:
author: CelsoA
body: Hi there,

Please download the jdbc driver from [http://dev.mysql.com/downloads/connector/j/](http://dev.mysql.com/downloads/connector/j/%20)and extract the connector file on your FISHEYE_INST/lib, then restart FishEye and give another try restarting it.

<br />

Please let me know how it goes.

Regards.

comments: author: Shelli
body: Thanks, it worked!
One Crucible project many repositories - how to?
Asked by Rumceisz:

Dear All,

we just configured to our Fisheye 30+ repositories. The users also need Crucible project for these repos but we don't know - even reading the documentation - wehther 1 crucible project is enough or each repo needs an apart crucible project?

We see the 'Default Repository' by the crucible projects which indicates for us that there is 1 default repo and can be several others. But we cannot add more repos to 1 project.

<br />

Can you please hint some advise?

Thanks in advance,

Rumi


Answers:
author: Peter Van de Voorde
body: 1 crucible project should be enough, your users can create reviews from fisheye and can indicate the project they need in Crucible, it's explained here : <https://confluence.atlassian.com/display/CRUCIBLE/Creating+a+review+from+FishEye>

I hope this helps.

Best regards

Peter

comments: author: Rumceisz
body: Hi Peter,

thanks for the fast reply. Sorry I wasn't clear: we have 30+ repositories but when creating a crucible project we can only choose 1 repository.

We have repos A, B, C, D and project X

When we link repo A with project X do the other 3 repos an apart project?


author: Peter Van de Voorde
body: Hi Rumi,

These links might help you too :

[https://answers.atlassian.com/questions/52179/multiple-repositories-for-single-crucible-project](/questions/52179/multiple-repositories-for-single-crucible-project)

<https://confluence.atlassian.com/display/FISHKB/How+to+add+several+repositories+to+one+project+in+Crucible>

Best regards,

Peter


Tags: fisheye-crucible-administration
Issue to connect FishEye to svn repositories
Asked by Wayne Trzyna:

Hi,

I have upgraded FishEye from version 2.7.13 to version 3.0.0. Since then I'm not able to connect to my repositories. I'm receiving this error message:

Repository paused due to error com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: E210002: There was a problem while connecting to lettuce.cs.colostate.edu:22 org.tigris.subversion.javahl.ClientException: svn: E210002: There was a problem while connecting to lettuce.cs.colostate.edu:22 org.tmatesoft.svn.core.SVNException: svn: E210002: There was a problem while connecting to lettuce.cs.colostate.edu:22 java.io.IOException: There was a problem while connecting to lettuce.cs.colostate.edu:22 java.io.IOException: Key exchange was not finished, connection is closed. java.io.IOException: The server hostkey was not accepted by the verifier callback. org.tmatesoft.svn.core.SVNAuthenticationException: svn: E215003: Host key ('lettuce.cs.colostate.edu:22 \<ssh-rsa\>') can not be verified.


Answers:
author: Gurleen Anand _Atlassian_
body: Fisheye is bundled with the svnkit client and is the recommended svn client:

<https://confluence.atlassian.com/display/FISHEYE/SVNkit+Client>

Just removing the native svn client configuration from Fisheye's UI should be enough: <https://confluence.atlassian.com/display/FISHEYE/Native+Subversion+Client> without having to restart the application.


author: CodeForCoffee
body: Hi Wayne,

Did you figure something out? I'm fighting with the same issue, using 3.0.2. From <https://jira.atlassian.com/browse/FE-4433> it doesn't look like a fix is coming until 3.1.0. At Nick what does removing the Native JavaHL SVN configuration entail?


author: Nick
body: Can you please try removing the Native JavaHL SVN configuration and restart FishEye.

The pure Java svn client (svnkit) should be adequate. <https://confluence.atlassian.com/display/FISHEYE/SVNkit+Client>

Otherwise, try the latest 3.0.2 version of FishEye. There was definitely a fix for JavaHL in there.

Cheers,

Nick
api for user commit statistics
Asked by Niklas Konstenius:

I would like to hack together some kind of dashboard presenting different kinds of commit statistics like for example:

top 5 committers this day/week/month

Does FisheEye (or some other Atlassian products) have some kind of api for these kind of statistics?


Answers:
author: Uladzislava Kastsitsyna _Stiltsoft_
body: Hi,

Did you take a look at the app called [Awesome Graphs for Bitbucket](https://link.stiltsoft.com/33v3lg)? Our app offers [REST API](https://docs.stiltsoft.com/awesome-graphs/data-center/export-and-integrations/rest-api/getting-commits-and-pull-requests-via-rest-api#GettingcommitsandpullrequestsviaRESTAPI-CommitsAPIs) that allows you to export raw data on commits, pull requests, and lines of code.

Here is just one example of a possible output:

![](https://docs.stiltsoft.com/awesome-graphs/files/data-center/42244605/71861796/1/1624436980000/04-commits-table.png)

Let me know if you have any questions!

Best regards,  
Uladzislava


author: CelsoA
body: Hi there,

You can use the rest api that is documented on these links:

<https://developer.atlassian.com/display/FECRUDEV/REST+API+Guide>

<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html>

<https://docs.atlassian.com/fisheye-crucible/latest/wadl/fisheye.html>

<https://docs.atlassian.com/fisheye-crucible/latest/wadl/crucible.html>

Please let me know if this is the api that you are looking for.

Regards.
SVN repository access problem
Asked by Rumceisz:

Hi All,

we have an SVN repo which we cannot access from our Fisheye.

1. we pinged the repo host and it's ok: we got response

2. We could login to the repo via browser, so the user/pw is correct

3. When run the ./jsvn \<URL\> command we get: E155007: 'xxx.fff.rrr.rr' is not a working copy

4. in the Fisheye GUI the repo is running but we have the following error message:

Unable to initialise repository NetLineMarket due to com.cenqua.fisheye.config.ConfigException:Could not access <http://xxx.fff.rrr.rr/> : org.tigris.subversion.javahl.ClientException: svn: E175002: timed out waiting for server svn: E175002: PROPFIND request failed on '/'

Can you please help and detect the problem?

<br />

Many thanks in advance,

Rumi


Answers:
author: CelsoA
body: Hi there,

This is a svn configuration issue.

Could you please try the steps found on this link?

<http://www.nodans.com/index.cfm/2010/9/2/How-to-fix-path-is-not-a-working-copy-directory-and-working-copy-is-already-locked-errors>

Please let me know how it goes.

Regards.


Tags: fisheye-crucible-administration
Is it possible to bulk add external git repos to Fisheye
Asked by Svante Gustafsson Bj?rkegren:

Hi,I am setting up a brand new Fisheye/Crucible instance and have added a couple of existing repos to it. Easy process, I must say!But today I received a list with 120 repos that need to be added as well!!Is there a way to add external git repos in bulk?Rgrds,// Svante


Answers:
author: Nick
body: Hi Svante,

There are a few options available to you:

1. All repository definitions are stored in the config.xml file in your FISHEYE_INST directory. You could create a script which inserts the 120 new repositories to that
2. Use the new Admin REST API: [https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e27](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e27%20) While not all options are supported, the common ones are. You can also use "Repository Defaults" to define common options which are then picked up by all repositories that don't overwrite them.
3. If your repositories are on BitBucket or Stash, you may be able to use the Repository Synchronisation Plugin <https://marketplace.atlassian.com/plugins/com.atlassian.fecru.reposync.reposync>

Hope that helps!

Cheers,

Nick


Tags: fisheye-crucible-administration

repository
cant not clone source
Asked by wmiao1:

??: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote  
??:  
??: fatal: remote error: CAPTCHA required  
Your Bitbucket account has been locked. To unlock it and log in again you must  
solve a CAPTCHA. This is typically caused by too many attempts to login with an  
incorrect password. The account lock prevents your SCM client from accessing  
Bitbucket and its mirrors until it is solved, even if you enter your password  
correctly.


Answers:
author: jack
body: Thanks For Your Good Q
in git repository SourceTree fetch and pull were not worked for some time
Asked by Mangesh Chougule:

SourceTree pull and fetch is not worked for some. Other people in the group also faced this same issue.

Attaching the screenshot.

whats went wrong ? could you please suggest.![git_error.png](https://community.atlassian.com/t5/image/serverpage/image-id/105661i4B0827D9F0151A40/image-size/large?v=v2&px=999 "git_error.png")


Answers:
author: Mikael Sandberg
body: What are you using as the remote storage for the repository? Bitbucket? The error message indicate that they do not have access to the repository, and it could be a number of things. If the users that see this issue logs on to the remote are they able to access the repository from there?

comments: author: Mangesh Chougule
body: Thanks Mikael for the response!

What are you using as the remote storage for the repository? Bitbucket?

Ans:Github

i have verified all users have access to git repository. but yesterday while fetch/pull operations error got.

so-could you please suggest whats might got wrong?


author: Mikael Sandberg
body: Do you see the same behavior when doing a fetch/pull from the command line? Are you using ssh or http/s as the URL?


author: Mangesh Chougule
body: thanks mikael again.

command line users are not tried i think.

but they reported this issue in sourcetree.

we use <http://git.efi.com/>

please suggest...


author: Mikael Sandberg
body: Okay, since you are using http do you know if the users that are seeing this changed their password recently? I would try doing a fetch from the command line to see if that works, and if so, then reset their GitHub account in Windows Credential Manager and also check the credentials in Sourcetree under Tools \> Options.
Windows local branches not shown in list
Asked by Jay Blanton:

Working with a developer who has a Mac, all the local branches they have checked out and are all under the collapsible BRANCHES tree on the left nav pane above TAGS. One Windows, this doesn't exist, it is only the local branch I am currently viewing. Every other branch I have pulled into Sourcetree shows in a separate tab with only the one branch in the BRANCHES tree. Is this an issue or just the way Windows handles the view?


Answers:
author: Jay Blanton
body: I realized from a collegeaue that I was creating additional repos and checking out one branch for repo connection. As opposed to hitting the plus, configuring a repo and then checking out multiple branches under that one repo.
Can't login atlassian account at sourcetree
Asked by Iv?n Rub? Lozano:

Hi,

I have been working with sourcetree since 1 year ago. Now, when I try to push a branch, pop ups a bitbucket login and my credentials are not working.

I'm using the same credentials for bitbucket web.

Can you help please? I have to deploy to production environment at work and I'm not able to do it.

Thank you so much!


Answers:
author: Jodie Garner
body: I don't know if this is similar to the problem you're having, but my account had an "x" on it in the bitbucket program (I could log on fine). What I ended up doing was right clicking for account details and hitting "Refresh OAuth Token", which lead to a webpage saying "SourceTree has been successfully authenticated". After that it reloaded and I was able to clone and pull fine from a remote source.

comments: author: Iv?n Rub? Lozano
body: Thank you for your answer. You were partially right. I had to refresh OAuth token but at sourcetree not at bitbucket.

I followed this post.

<https://community.atlassian.com/t5/Sourcetree-questions/Authenticate-SourceTree-with-Google-Credentials/qaq-p/1050390>

Now it's solved!


author: Jodie Garner
body: Awesome! My bad, I think I meant sourcetree as well, not bitbucket. I was on the program, not web.


author: pfleu
body: thank you ! working fine!


author: Min Choi
body: Thank you so much! I even thought of wiping out everything and reinstalling SourceTree! This solution saved so much time and effort!


author: noamgr
body: I had to revoke at app password and create it once again.

Then, I used that same password to login to Atlassian.

It took me hours for that stupid thing, so annoying!

<https://bitbucket.org/account/settings/app-passwords/>

comments: author: zhakataka
body: Same here, looks really unusable. I've got a sourcetree on my mac. when I try to add my bitbucket repository (which I can successfully access via chrome) using bitbucket url, it asks for a password. But I've created it via my google account. It definitely shouldn't be my google password as it would be kinda security issue. There must be some access token.

Expected behavior is at least some url for instructions of how to import access token instead of

fatal: Authentication failed for '<https://bitbucket.org/projectname/repname.git/>'

remote: Invalid credentials
Cloning a Github repository spins and does nothing (Mac)
Asked by Sunil Mathew:

Hello,

I am a Sourcetree user on Mac. I had it setup on a previous Mac with no issue, but was recently upgraded to a new machine. In trying to setup Sourcetree on the new Mac, nothing happens when I attempt to Clone the Github repository. The app says its working, but there is no folder created, no connection with Github (SSH key says it hasn't been accessed), no errors. Just spins indefinitely, like HOURS. I've compared the Sourcetree config on the old and new machines and it is identical. Can someone guide me here? Thanks

![Sourcetree.png](https://community.atlassian.com/t5/image/serverpage/image-id/105471i9D852B767CE0D136/image-dimensions/306x336?v=v2 "Sourcetree.png")


Answers:
author: Sunil Mathew
body: Turns out, when Sourcetree creates the SSH keys, it should also be creating a known_hosts file in the same folder, but was not. I grabbed the known_hosts file from my previous Mac and migrated it over. This got the job done and the repo is cloning as expected!

comments: author: Kishore Ramesh
body: [@Sunil Mathew](/t5/user/viewprofilepage/user-id/4038874) How to migrate known_hosts from my previous Mac to new one


author: Keith Irwin
body: I had a similar problem and I was able to migrate my known_hosts file over by going to Finder \> Go \> Go to Folder and then searching for \~/.ssh Once I had found the file I just used airDrop to transfer it to my new Mac.


Tags: github
How do I fully remove SourceTree so that I can do a "fresh" install?
Asked by Pramod Raj:

I have already installed the SourceTree in the PC. Now i want to uninstall it and do the fresh install. When i am trying to installing it again, its not asking for the registration wizard, its directly opening the application. I have tried the below steps but no use. Can anyone please help. Its very urgent.

1. [Wipe SourceTree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).
2. Uninstall SourceTree (if it shows on the App\&Features list)
3. Backup then delete the directory below before proceeding with next step
   * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local and delete *SourceTree* \& *SourceTree-Settings* folder
   * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian and delete all SourceTree Files/Folder.
4. [Download SourceTree](https://www.sourcetreeapp.com/) and install it.

Thank you


Answers:
author: Pramod Raj
body: 1. Uninstall SourceTree using Windows UnInstall program
2. Backup then delete the directories below before proceeding with next step:
   * Navigate to *C:\\Users\\\<UserName\>\\AppData\\Local* and delete *SourceTree* folder (if any)
   * Navigate to *C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian* and delete all *SourceTree* folders.
   * Navigate to *C:\\Users\\\<UserName\>\\AppData\\Roaming\\Atlassian*and delete *SourceTree\** folder
3. [Download SourceTree](https://www.sourcetreeapp.com/) and install it

This info got worked. Issue has solved.