youngmon/atlassian-qna huggingface dataset:
How to enable Crucible features in existing FishEye instance?
Asked by knowshan:

I would like to enable Crucible features in existing FishEye instance. I followed [official documentation](https://confluence.atlassian.com/display/CRUCIBLE/Upgrading+from+FishEye+to+Crucible) , but I am not sure about**'Method 2'** in the guide. It seems like FishEye and Crucible are bundled together, so do we really need to download FishEye+Crucible bundle again? I think just getting new Crucible licence key from [my.atlassian.com](http://my.atlassian.com)and adding it to the 'System Info -\> License' would be sufficient (for Method-2 with existing FISHEYE_INST).A new bundle will be required for 'version upgrade', but not 'feature upgrade' (enabling Crucible). Any ideas?


Answers:
author: lpater
body: Hi Shantanu,

you're right - you don't need a new download. The installation package contains files for both FishEye and Crucible.

You should be able to just enter the new license key into your existing installation (in Administration/System Info/Edit license) and start using Crucible right away.

comments: author: knowshan
body: Thanks for the clarification!


Tags: fisheye-crucible-administration
How do I download patches from crucible code reviews to test locally?
Asked by Krishnan Narayan:

I've been using Fisheye/crucible for code reviews and found it hard to figure out how to download the patches submitted for review locally so that I can test the code and suggest changes?

<br />

I could not see a clear way to download patches from the review dashboards. Please advise.


Answers:
author: AafrinA
body: Hi Krishnan,  

The download link for patches will be avaialble in the main panel of the selected review under the detail section. You can download the available patches by clicking the links of the patches as shown in this [screenshot](http://postimg.org/image/5yuoqirbl/).
SVN custom folder structure
Asked by Tim Davis:

We're evaluating FishEye, to be used with our SVN (VisualSVN) repositories. Hence, we're looking at the built-in symbolic rules vs custom.

Existing SVN organisation is a bit ugly with projects and trunks scattered at different levels in repository, e.g.

projects/trunk/subproject/subproject/...  
projects/subproject/subsubproject/trunk/...

Am I right in that this is really not recommended?

We do plan to migrate all code to a new SVN server so, should we aim to strictly standardise on the /project/trunk/... approach?


Answers:
author: Norman Abramovitz
body: If you have a single repository with mixed structure then you might need to create pseudo repositories in Fisheye to deal with the differences.

Your structure seems to represent the change in thought on how to organize svn repositories. Initially it was recommended that trunk/branches/tags was at the highest level of the repository. Later it was recommended that each project have their own trunk/branches/tags to make moving projects easier and being able to provide access to svn projects in an easier fashion.

comments: author: Tim Davis
body: The structure has evolved over a long period of time, and it's been a bit of a free for all. We are now going to implement a standard, which will help FishEye


author: Norman Abramovitz
body: I am sure there are other items, but the one pitfall I ran into was svn properties when reorganizing repositories. In particular svn:externals, where I needed to fix up the references.

For the projects that are dead, we just moved them to a separate area (we called it archive) with still active libraries getting a branch for archived project.


author: Tim Davis
body: Questions answered. Thankyou


author: rverschoor
body: As long as there is structure in each repository, you can define it in FishEye and have it indexed.  
If the structure differs from repository to repository, you'll have to configure the tag and branch structure regexps in FishEye correctly, which can be a lot of work.

If you have the opportunity to correct the structure of your SVN repos, that might be best.  
See [](http://svnbook.red-bean.com/en/1.1/ch04s07.html#svn-ch-4-sect-7.1)<http://svnbook.red-bean.com/en/1.1/ch04s07.html#svn-ch-4-sect-7.1> for the commonly used structures. You don't have to stick to those, you can use your own variation, as long as you use it consistently.

comments: author: Tim Davis
body: Thankyou for responding to this. We will take the opportunity to 'orgnise SVN properly' next time. Thanks
[fisheye] Changed branch location, will a reindex capture the smart commits previously missed?
Asked by John Paz:

Scenario: A developer reported that his smart commits entered in an SVN commit comment were not logging time/comments at all in JIRA. I realized this was because the location did not include a new branch no one told me was created.

So now he's got a handful of check-ins that did not log any work within JIRA, and no Crucible reviews were created either.

I helped another project rectify a similar problem, but only after I compiled a list of the smart commits that weren't captured and gave it to them. But I was wondering, will a certain type of reindexing apply the smart commits retroactively?

Looking at the [reindex options](https://confluence.atlassian.com/display/FISHEYE030/Indexer), it seems like a Review-Revision Data Index or a Subversion Non-Version Properties (revprops), but it's not clear if this is exactly what I want. Some advice or guidance would be greatly appreciated.


Answers:
author: John Paz
body: Yes.


Tags: fisheye-crucible-administration
InfinityDB has been subject to an OutOfMemoryError
Asked by starwarsfan:

Since some days I run into the following error:

```
Caused by: java.io.IOException: InfinityDB has been subject to an OutOfMemoryError. Use close() or rollBack(). File=/data/atlassian/fisheye/data/var/cache/fli4l/revcache/data.bin
```

On the init-Script I use the following options:

```
export FISHEYE_OPTS="-Xms2048m -Xmx5120m -XX:MaxPermSize=256m --Xdisable-dirtree-empty-checks"
```

Is the amount of 5G still not enough? There are around 10 Git and SVN repositories handled by Fisheye, where two of the SVN repositories got around 30k revisions.

The installation is running on Ubuntu 12.04.4 LTS with Oracle Java 1.7.0_51. Please let me know if you need further information.

Kind regards,

Yves


Answers:
author: Moritz Gilsdorf
body: I have the same issue. Fresh Fisheye installation 3.2.4 on RedHat 4.4.6-4 with Java 1.7.0_45. It's a initial indexing of 19 repositories with \~163k revisions that we just migrated.

What's annoying is that if one of the repositories causes this issue, it breaks the whole Fisheye instance. Browsing is no longer possible at all even if most of the repositories were processed fine. Restarting the indexing throught the admin console fixes that for the moment but its not optimal.


author: starwarsfan
body: No ideas so far?


author: starwarsfan
body: The size of data.bin is some kind of "amazing":

```
# ls -l /data/atlassian/fisheye/data/var/cache/fli4l/revcache/data.bin-rw-r--r-- 1 fisheye webtoolchain 9897289679 Jan 25 01:31 /data/atlassian/fisheye/data/var/cache/fli4l/revcache/data.bin
```

This repository has around 30k revisions.


Tags: fisheye-crucible-administration
Can previous changeset revisions referenced through new commit messages?
Asked by knowshan:

I was wondering if FishEye supports linking to previous changeset revisions using some markup syntax.

For example, text '#comment fixes bug introduced by r2333' in commit message will create hyperlink to fisheye.example.com/changelog/Repo/cs=2333 . It would be great to cross-reference this through JIRA as well.

I referred to [FishEye wiki markup](https://confluence.atlassian.com/display/FISHEYE/Commit+Message+Syntax) and smart commit documentation, but I couldn't find any examples. Any help?


Answers:
author: lpater
body: Hi Shantanu,

the built in highlighters currently only support auto-linking Crucible reviews and JIRA issues. There's a feature request for that here [](https://jira.atlassian.com/browse/FE-113)<https://jira.atlassian.com/browse/FE-113>, please vote on it if you'd like to see it implemented.

You can however, define your own linker syntax in the repository admin section to acomplish the same goal - you just need to specify a regular expression you'd like to match, and the link to convert it to. Please see [](https://confluence.atlassian.com/display/FISHEYE/Linkers)<https://confluence.atlassian.com/display/FISHEYE/Linkers>for more details.


author: knowshan
body: Thanks Lukasz!

Here is an example using Linkers for future reference:

```
Pattern for commit linker: @2222Regex: @(\d+)Href: http://fisheye.example.com/changelog/MyRepo?cs=${1}
```
Fisheye/Crucible load-balancing
Asked by Viachaslau:

Is it possible to configure load-balancing for Fisheye/Crucible to reduce the load on server during peak hours ?

Thanks.


Answers:
author: Sergey Svishchev
body: That isn't possible (and such feature is nowhere near on their roadmap, as far as I understand) but you can install a caching frontend proxy to reduce load somewhat. Make it serve static assets directly while you're at it.

Also, the app sets ridiculously low TTL for avatar images, so you might want to force longer TTL for them -- [](https://jira.atlassian.com/browse/FE-4551)<https://jira.atlassian.com/browse/FE-4551>  


Tags: fisheye-crucible-administration
Fisheye changesets does not show up in JIRA's activity stream
Asked by Ali V:

After upgrading to JIRA 6.1.5, Fisheye changesets no longer show up in JIRA's activity stream.

* Fisheye integration seems to be OK. Related sources are listed under the Source tab of each Issue.
* In the Activity Stream settings and under the Available Streams section Fisheye is checked!
* I upgraded to Fisheye/Crucible 3.2.3 and i still have the problem.


Answers:
author: Onkar Ahire
body: Hi Ali,

If everything seems ok ,

Please check the project is added as a favorite and application link between projects.

Cheers
When will FishEye & Crucible support 64-bit?
Asked by Paul Stahlke:

We have 100+ repositories in FishEye, and I find the system crashes all the time with only being able to allocate 1.5GB RAM on Windows 32-bit Java. Are there any plans to implement 64-bit support so that I can allocate much more RAM? Thanks.


Answers:
author: Tom Davies
body: FishEye/Crucible supports 64 bit JVMs today -- just make sure that you don't set your heap too large -- you need to have enough physical memory to avoid excessive paging.

If there was something in our documentation which stated 32 bit only, please let us know what it is so that we can change it.

Thanks,

Tom

comments: author: Paul Stahlke
body: Thank you Tom. But how do I make 64-bit work with a Windows service? The current wrapper you link to is for 32-bit only.


Tags: service

windows
Can't create charts in fisheye
Asked by Abhi Vaishnav [X]:

Hi,

Is anyone else running into an error when creating reports for all authors who have comitted to a repository/folder?

We just upgraded to v3.2 and it's stopped working - I.E. it show the default line chart, but if I change the chart options to breakdown by "Author" and leave "authors" and "file extensions" to "(any)", I still see only the default line chart... it doesn't update the chart. Output doesn't change if I pick an author and file extension.

Has anybody seen this? Am I doing something wrong? If there is an error, where is the Fisheye error log?


Answers:
author: Nick
body: Good news! This is a known bug and was fixed in version 3.2.4 of FishEye: [](https://jira.atlassian.com/browse/FE-4531)<https://jira.atlassian.com/browse/FE-4531>.

Please upgrade and your charts will begin working again.


Tags: fisheye-crucible-administration
Can Crucible support private or restricted review?
Asked by Soo Min Ooi:

Can a review in Crucible restricted to a defined users/reviewers whereby it cannot be viewed by other crucuble users?


Answers:
author: lpater
body: Hi,

review permissions in Crucible are based on the project that the review is in. For each project you can choose a custom permission scheme, that allows restricting various actions on the review (including viewing it) to either specifc users, groups or based on the user's role in the review.

For example you can restrict the permissions so that only users that are reviewers or are in a specific group can see the review.

Please see [](https://confluence.atlassian.com/display/CRUCIBLE/Creating+a+permission+scheme)<https://confluence.atlassian.com/display/CRUCIBLE/Creating+a+permission+scheme>for more information on permission schemes.
How to select git commits for a review of a feature branch with updates?
Asked by Andreas Krey:

We have a workflow where devs do feature branches, and update from (that is, merge in) the master branch occasionally. \[Rebases are not an option.\]

So, we have two states A and B on the master branch. dev starts its branch off A, does work in F and G, then updates from the later master commit B resulting in merge commit M, and finally does some more stuff as P. \[See pic (linked) below\]

Now, what commits would I select when creating a crucible review. Then (apparently naive) guess would be F, G, P, as those contain the work the dev did. But the resulting overall diff is the same as with F, G, M, P - it includes all the new features that got merged in in the update. Not what I want.

The original F,G,P selection does not even allow me to review the change of P separately - the commits available in the selection bead line are only A,F,G,P, so I can only see the diff from G to P which puts together the merge differences (M) and the dev's last change (P).

As the total change I want to review is B...P I finally try to give M and P, but stupidly in this case crucible is using the first parent of M (which is G) as the starting commit of the review, not B, so my review offers no possibility to see the effective diff the dev did with his work.

So basically there seems no way to create a single (or even a set of) review(s) that can show exactly the changes the dev created - it always suffer from the flattening of the actual git commit graph into a single bead line (the red/gray thing that allows review range selecton) plus the fact that a review is not defined by start and end point but rather by naming a set of commits.

After writing that discussion my expectation is that the commit bead line shouldn't be a line but indeed a graph, and the default pair of commits to diff over should be B..P, so I can see the full dev's diff, and also watch (and discuss) intermediate changes he did.

tl;dr crucible should take into account the branching structure of git, and especially it should allow for merge commits to select the parent against which to diff.

So, how do I work around this?

Branch graph:![dag](https://pbs.twimg.com/media/BebOWzUCAAAV8OF.png) ([pic.twitter.com/CFwUDvYlAJ](http://t.co/CFwUDvYlAJ))


Answers:
author: Mark Jones
body: Second one of these I find today. With NO answer!


Tags: git
Fisheye doesn't fetch latest changesets while indexing is running
Asked by knowshan:

It seems like Fisheye doesn't fetch latest changesets while indexing is running. I am running initial index operation on a big Perforce repository. The index operation is in progress for last three days. I am seeing latest activity till index operation was started, but no activity or changesets after that period. On Perforce server side, I see 'p4 changes -m1' requests coming from the Fisheye system, but no updated information in the UI or activity stream. Is that expected?


Answers:
author: knowshan
body: It seems like FishEye doesn't show new commit activity after the indexing starts. It showed latest activity after the indexing completed.


Tags: fisheye-crucible-administration
Fisheye/Crucible migration to new server failed
Asked by Bob Sipp:

I did a full backup of my Fisheye/Crucible 2.10.2 data on my Windows 2008 server, and tried to restore the data to a Fisheye/Crucible 2.10.2 Linux server. I got the following error:

atlassian@atl10alt:/opt/atlassian/fishcru/bin\> ./fisheyectl.sh restore -f fisheyeandcrucible_backup_2013_12_30.zip

INFO - Using log4j configuration file: /opt/atlassian/fishcru/log4j-client.xml

INFO - FishEye arguments: \[-f, fisheyeandcrucible_backup_2013_12_30.zip\]

java.util.zip.ZipException: Expected End Of Central Directory Record signature!

at de.schlichtherle.util.zip.BasicZipFile.locateCentralDirectory(BasicZipFile.java:770)

at de.schlichtherle.util.zip.BasicZipFile.mountCentralDirectory(BasicZipFile.java:459)

at de.schlichtherle.util.zip.BasicZipFile.init(BasicZipFile.java:418)

at de.schlichtherle.util.zip.BasicZipFile.\<init\>(BasicZipFile.java:108)

at de.schlichtherle.util.zip.ZipFile.\<init\>(ZipFile.java:69)

at com.cenqua.fisheye.ctl.Restore.run(Restore.java:113)

at com.cenqua.fisheye.ctl.Restore.main(Restore.java:267)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:99)

at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)

Restore failed. This may leave your target FISHEYE_INST directory (/opt/atlassian/fishcru) in an inconsistent state.

What am I missing? Why am I unable to restore the data?


Answers:
author: Robert Sipp
body: I found out that the zip file was corrupted. Once I got a valid zip file backup, the restore worked.


author: Xabier Davila
body: Why is this marked as solved? where is the solution?


Tags: migration
Fisheye to Perforce performance issue
Asked by Soo Min Ooi:

We are facing huge number of perforce calls by Fisheye with most of them "Login" calls, this has great impact on perforce performance, any idea why login call runs so frequently?


Answers:
author: Nick
body: Please configure a Commit Hook inside your perforce repository and increase the incremental poll period from 1 minute to 4 hours, say.

Instructions are here: <https://confluence.atlassian.com/display/FISHEYE/Configuring+commit+hooks>


author: Sergey Svishchev
body: Possibly because you have a lot of p4 repos configured and fisheye and it polls each of them every minute (the default poll period).


author: Soo Min Ooi
body: The log show login calls close to 100 a minute, is that expected?

Also, I have my login to Perforce disable but I can still see update to Fisheye upon every checkin, is that normal?


Tags: perforce
Issue name in smart commits comment
Asked by Viachaslau:

Hi all.

Is it possible to specify issue name after #comment while using smart commits ?

( for example, EPMCESACF-18 #time 1d #comment EPMCESACF-18 fixed )

Because we have the error:

**Error processing** EPMCESACF-18 #comment

FishEye was unable to comment on the issue EPMCESACF-18 because JIRA responded with the following error: comment: Comment body can not be empty!

Thanks.


Answers:
author: lpater
body: Hi Slava,

the commit message parser is able to match commands for multiple issues in the same commit message. So ehwn it finds 'EPMCESACF-18' after '#comment' it sees that as a separate command and doesn't find any text for the #comment command.

I've raised a bug for it that's tracked here: [](https://jira.atlassian.com/browse/FE-5024)<https://jira.atlassian.com/browse/FE-5024>

As a workaround you can try avoiding using the issue key again in the comment (something like 'EPMCESACF-18 #comment fixed' should work ok)
Fisheye documentation terminology
Asked by knowshan:

I need some help in understanding Fisheye upgrade instructions. The [documentations](https://confluence.atlassian.com/display/FISHEYE/FishEye+upgrade+guide) says:

```
1. Shut down your existing FishEye/Crucible server, using bin\stop.bat or bin\stop.sh from the &lt;FishEye home directory&gt;.......6. Start FishEye/Crucible from the new installation directory by running bin/run.sh. (Use run.bat on Windows.)
```

So one needs to stop Fisheye using a script in \<FishEye home directory\> and start Fisheye using a script in new installation directory. I think the new installation directory will also be a new \<FishEye home directory\>. Is that right?

It would be great if this documentauon gets revised with consistent terminolgy for home and installation directories.


Answers:
author: Piotr Swiecicki
body: Apologies for the confusion, basically documentation tries to distinguish home (aka installation) directory from the data (aka instance) directory. Technically it is right, but I can see how installation directory can be confused with the instance directory. I will ask my colleagues to ensure the documentation page is unambiguous.


Tags: fisheye-crucible-administration
I lost my repository in a power outage
Asked by Aaron Teeter:

I'm completely new to these repositories. I have almost no understanding of how they work, but I've been using them to track the progress for my game.

Today, I just finished making a change when the power went out as soon as I committed the branch. Like within a few seconds after I hit 'commit'.

I restarted my PC to find that my entire repository is missing. It said the index file was corrupt, so I deleted it for some clown reason, and now I have all the changes logged but I can't commit them because my master branch is gone, and I can't create any more branches, because it just says this:![image.png](/t5/image/serverpage/image-id/118350iD1D0E31058517899/image-size/large?v=v2&px=999 "image.png")

I'm sorry I'm so new to these so I can't provide much useful information. I don't know how to fix this on my own so I don't know what I would even try. I need help


Answers:
author: Hana Ku?erov?
body: Hi [@Aaron Teeter](/t5/user/viewprofilepage/user-id/4161294) ,

welcome to the Atlassian Community!

First off all - do you have any remote repository connected to your local repository (when you commit something, do you then push it somewhere or not?)

Are you able to see all your code in your IDE? Are there any problems with the code's files or just with the git?

Which IDE do you use?

Thank you!

comments: author: Aaron Teeter
body: I was using it for a Unity game. Since I'm so new to any of this I didn't have a remote (or even know how to make one), but I was able to delete the corrupted repository, create a new one, and then create a Bitbucket remote for the new repository, which I now use.

I ended up losing my previous repository which I'm fine with because it was pretty much entirely my fault. But the entire game was fine, I didn't lose anything.

Sorry for the dumb question
??????????GitHub???????SourceTree???????
Asked by ?????:

GitHub??????????????????????????GitHub??????????SourceTree???????????????????SourceTree??GitHub?Push??????????????????????????Push?????

????GitHub???????????????????SourceTree???????

????Pull????????????????????????????Pull????????


Answers:
author: Tomoko Suzuki
body: ?????????????????????????

??????????? \<?????\>@STAuth-github.com ??????????????????????? GitHub ????????????????????

```
Mac OS:
~/Library/Application Support/Sourcetree

Windows:
C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree
```

?????????????

comments: author: ?????
body: Push?Pull????????????????????????????????

?????????????