youngmon/atlassian-qna huggingface dataset:
No Fish Eye admin, can't add one
Asked by FLYHT Admin:

I am seeing an error in JIRA:

jira_error.jpg

So, I figured out that FishEye is running on that IP/port. We don't use FishEye. I tried to log in as admin (with my JIRA admin credentials) and got this error:admin_login.jpg

Logging in as a regular user, I can see a list of 10 users (some of which are VERY old) and some are more recent. However, NONE of them are admin. And the user(s) that get the original error are NOT in this user list.

I want to get rid of the original error, and thought that if I added the users that are having problems to the FishEye users, the problem might go away.

What is the correct solution?

Do I manage my FishEye users even though I don't use Fish Eye? If so, how can I do that?

Can I unlink FishEye from JIRA (or whatever the correct terminolgy is) since I don't use it?

Something else?

[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/No-Fish-Eye-admin-can-t-add-one/qaq-p/60837?attachment-id=8535){#link_1162fa05d02398}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/753/1/admin_login.jpg){#display_1162fa05d02398_0}  
[](https://community.atlassian.com/t5/Fisheye-Crucible-questions/No-Fish-Eye-admin-can-t-add-one/qaq-p/60837?attachment-id=8536){#link_1162fa05d02398_0}  
[](/tnckb94959/attachments/tnckb94959/fisheye-crucible-questions/753/2/jira_error.jpg){#display_1162fa05d02398_2}


Answers:
author: Marek Parfianowicz
body: > Logging in as a regular user, I can see a list of 10 users (some of which are VERY old)

Hint: it's possible to disable users in FishEye. This way they won't be counted to the license limit.
> However, NONE of them are admin.

Hint: in case you need to log in as admin, you can use the special password-only account (i.e. it has no login) - click on the "Administration" link at the bottom of FishEye/Crucible page.
> And the user(s) that get the original error are NOT in this user list.

I suspect that your FishEye is configured to use user directory from JIRA and that there's an option to automatically add new users enabled. This could explain "Could not add user X" errors you see.
> Can I unlink FishEye from JIRA (or whatever the correct terminolgy is) since I don't use it?

Go to Administration panel in FishEye, select Application Links and remove the link to JIRA.

You may also want to remove authentication via JIRA (in case it's configured).

References:

<https://confluence.atlassian.com/display/FISHEYE034/Linking+to+another+application>

<https://confluence.atlassian.com/display/FISHEYE034/Configuring+External+Authentication+Sources>

comments: author: FLYHT Admin
body: Thanks for the detailed reply.

I didn't realize that the text "Administration" in the footer is a link.

Have it working now, much appreciated!


Tags: fisheye-crucible-administration

jira-administration
Fisheye slow when browsing/placing comments
Asked by Starcoders:

Hey Guys,

Having some problems with our FishEye installation, containing around 50 repos and 50 users. All of a sudden it became terribly slow when doing the following things:

* /cru/browse pages, the graphs on the left take 10 to 20 seconds longer to fetch
* Placing comments on a review can take up to 20 seconds
* join/complete a review also takes up to 20 seconds

Any idea what might be going on? There is nothing in the logs, except for stuff like

2017-02-04 19:43:41,340 ERROR - Exception "null" ([org.eclipse.jetty.io](http://org.eclipse.jetty.io).EofException) while processing "/avatar/bert" (Referer:"[https://URLHERE.com/project/P](https://fisheye.starcoders.com/project/NODE)RIOJECT")

Thanks for any help


Answers:
author: Starcoders
body: Hey Marek,

We managed to resolve this by executing the following command on our fisheye machine

```
git config --global core.preloadindex true
```


author: Marek Parfianowicz
body: I recommend to raise a ticket on support.atlassian.com, our support team can help you in analysing the performance.

Enable debug logging (Administration \> Global Settings \> Server \> Debug Logging), click through the app to reproduce the behaviour and attach the support zip (Administration \> Support Tools \> Create support zip).
Single Master branch and Code reviews
Asked by darshan a:

As a recommendation from our QA team, we are maintaining a single master branch in our project and all the team members are checking in to master branch directly. This way the Continuous Integration is simple since it runs on the master and we have all the UT, sanity tools etc. attached to the CI and everything is in place. But the problem is with code reviews. How does the team members raise for code reviews since the everybody checks in frequently to master, for the reviewer it's a challenge to review only one particular authors/feature code. Any alternatives other than having individual branches?


Answers:
author: Przemek Bruski
body: Do you have Crucible too, or just Fisheye? If you have Crucible and you use individual issue keys for every commit, have the change author create a review by adding multiple changesets (pretty easy if you filter by the issue key in the "add content" dialog).

But as Alexey pointed out, if changes are related to the same file, you will get the changes mixed up in the review. The non-review related changes will be indicated in the UI though.

comments: author: Irina Tsoy
body: In Crucible, in case of having **only master branch** , a adding content to review 'Choose branches', 'Add branch' button is **disabled**. As a workaround I had to use 'Browse changesets', but it doesn't make sense that it's not possible to review via 'Choose branches' at the same time. How to be able to add master branch?


author: Alexey Chystoprudov
body: If you need to review only single commit then I see no issues here.

But if you need to review several commits mixed with commits from other people, there is no way to divide your changes from other people, especially if you modified the same file. In case you modified different files FishEye allows you to choose commits and review only them


Tags: bamboo
Make the 'linked issue' field in Crucible mandatory
Asked by Brent Webster:

I need every review to be associated/linked with a JIRA issue so how can I make Crucible's "linked issue" field mandatory?


Answers:
author: Marek Parfianowicz
body: Check the [Crucible workflow condition API](https://developer.atlassian.com/fecrudev/tutorials/crucible-workflow-conditions-plugin-module-tutorial). You could write a simple plugin which will not allow to transition a review until it is linked to a JIRA issue.

comments: author: Brent Webster
body: Thanks for the quick response. I'll get my Crucible admin to try it out.


Tags: fisheye-crucible-administration
what about fisheye sso?
Asked by carocy:

how configure crowd.properties and seraph-config.xml? where to find this 2 files in fisheye install dir?


Answers:
author: Bruno Vincent
body: Crowd SSO integration for FishEye/Crucible is different from JIRA and Confluence. You have to edit the $FISHEYE_INST/config.xml file as detailed on the following page: <https://confluence.atlassian.com/fisheye/connecting-to-crowd-813695565.html#ConnectingtoCrowd-Singlesign-on(SSO)withCrowd>


author: Lars Olav Velle
body: Have a look at [https://marketplace.atlassian.com/search?query=kantega](https://marketplace.atlassian.com/search?query=kantega?)

There is no need for manual editing of any configuration files.

Also, it has fallback to normal login or SAML


Tags: documentation

fisheye-crucible-administration
Is there a way to add predefinded diffs to a review?
Asked by L. Schimmel:

Hi,

at the moment I am looking for a workaround for [this issue](https://jira.atlassian.com/browse/CRUC-5898). It would be useful if developers could create a diff between to files lokally and add the diff to the review as a file. To create the diff I thought about using Eclipse or Beyond Compare but first I need to know if diffs can be added like that.

Do you know if that is possible?

Best regards

Leonard Schimmel


Answers:
author: Marek Parfianowicz
body: I guess you are asking about "Add content" \> "Pre-commit"? Although it states "pre-commit" you can actually add any patches - also using a diff generated between two arbitrary commits.


Tags: fisheye-crucible-administration
Hi Renjith,
Asked by Hariprasad V:

I want to get Data from Crucible using C#, How can i do that? Can you please guide me?


Answers:
author: aborowski
body: Hello,

all you need is propably REST documentation

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

Regards,

Adam
Do I need a reindex after changing the repo URL?
Asked by Steffen Breitbach:

If I change the URL of a SVN or git repository in FishEye, e.g. from http(s):// to svn:// (or to ssh in case of git), do I need to re-index that particular repo?


Answers:
author: Steffen Breitbach
body: I just tried it out. As it seems, a restart of the repository is enough.


Tags: fisheye-crucible-administration
Crucible upgrade on Windows
Asked by System Administrator:

The page at <https://confluence.atlassian.com/fisheye/fisheye-upgrade-guide-298976988.html#FishEyeupgradeguide-2.BackupyourFishEyedata> has notes but they aren't very helpful.

Step 1 talks about uninstalling without explicitly stating that you have to. I found when I ran the installer it told me I had to uninstall the previous version first. I did that but when I ran the installer again and followed it through to Step 8 it left me with a system which didn't work. The whole thing is on a VHD so I can revert fairly easily but that's not a useful result, obviously.

At the moment the sequence seems to be backup, stop the service, uninstall the previous version, install the new version but point it at your existing data folder. It's supposed to run automatically but doesn't, I had to start the service manually and even then it didn't work, the website is unavailable. My data folder is surviving the process, which I wouldn't really call an upgrade, more of a reinstallation. Have I missed the point somewhere?

Thanks.


Answers:
author: System Administrator
body: In case someone else finds this looking for an answer - you need to uninstall the old version before you install the new one so it isn't really an upgrade, more of a replacement.

I also needed to add the database connector to the new installation, something which became evident once I spoke to support and we checked the log files.


Tags: fisheye-crucible-administration
Review a single branch
Asked by Arjan van Wijk _Narie_:

We're about to start using Crucible to do Code Reviews in a project that started a few weeks back.  
This means we already have quite a lot of code in the Develop branch.

Is there a way to create a review of the current state of a branch?

I tried doing a branch review of Develop merged from Master (master is still clean), but that ran into the 800rev/400files limit.

I tried adding files through the Search option (globbing only a part of the tree, to keep within the limits), and while that added the files to the review, it wouldn't load the content (the 'view diff' option at the top would just keep loading after click).

I hope I'm missing something, or there is a workaround for this use case...

Thanks in advance!


Answers:
author: aborowski
body: If you are able to produce diff you wanted, you can use precommit review option in Crucible (Edit -\> add content -\> Precommit).

That way you have more control over files / changes you really want to review.
What is the best format for Crucible review project keys?
Asked by Peter Shiner [Tractor Supply]:


Answers:
author: Marek Parfianowicz
body: It's up to you, really. Just choose the convention which matches your needs.

In our team we usually use "CR-\<JIRA project key\>" naming scheme. Thanks to this it's easy to map a Crucible project to a JIRA project. And at the same times we don't mislead JIRA issue keys (e.g. JIRA-123) with code review IDs (e.g. CR-JIRA-123).


Tags: fisheye-crucible-administration
Fisheye reviews for items that live in the IBM WCM
Asked by Colm McGrath:

A lot of the work we do is in files that do not exist in SVN, please can you confirm that you can create reviews for items that do not have any change sets coming from the SVN hook. ie Libraries that live in the IBM WCM system.

FisheEye with SVN, fisheye looks for changes that are committed to SVN, you create a review based on the change detected. Some of the inside-pru changes involve changes that are not committed to SVN since they are configuration changes to files that live within the product we use. My question to Atlasian is can we manually create code review requests for these changes?


Answers:
author: Marek Parfianowicz
body: Hi Colm,

Please note that in Crucible you can create reviews not only from repository commits but also from patches or attached files.

Therefore, if your IBM WCM has an option to generate a diff, then you can create a review in Crucible, select 'add content' and choose the 'Pre-commit' option.

Alternatively, if your IBM WCM can export single files (or screenshots), you can create a review, click 'add content' and use the 'Attachments' option. Hint: in case you upload a file with the same name several times, then you'll be able to compare its versions side-by-side.


Tags: fisheye-crucible-administration
What specs should I have for Crucible servers -- both main and DB?
Asked by Brandon Phillips:

I need to setup two machines for crucible -- one for the Crucible software and one for hosting the database. I haven't been able to find any information on minimum RAM and disk space requirements in order to plan for it. Does anyone have any recommendations?


Answers:
author: Marek Parfianowicz
body: Hi Brandon,

Please have a look at <https://confluence.atlassian.com/display/FISHEYE/Supported+platforms>, chapters "Hardware requirements" and "Disk space requirements".

I recommend to use as fast hard drives as possible - with low latency and high throughput - SSDs preferably. FishEye is a very I/O intensive application as it has to index content of your repositories, so the faster disks you have the better. Disk space required depends on content of your repositories and FishEye indexing settings (such as file size limit of files to be indexed), but it should be++roughly++ 2x repository size.

Minimum JVM heap is 1GB, although the more memory you have the better. FishEye and Crucible have lots of various caches and try to use as much memory as possible for best performance. See <https://confluence.atlassian.com/fisheye/how-fisheye-uses-memory-630588323.html> article for more details. In case you decide to have more than 6GB of heap, please consider switching to the G1GC garbage collector.

Cheers

comments: author: Marek Parfianowicz
body: More about G1GC: <https://prezi.com/6ig7ze4avk8j/g1gc/>


Tags: fisheye-crucible-administration
Integration of tools is failing.
Asked by Navya_Shetty:

i have installed all the tools (crowd,jira,stash,crucible,bamboo,confluence) in one standalone server. when i try to integrate between the tools. I'm getting the following error in AOuth section.

Error: Your request was unable to be processed  
com.atlassian.templaterenderer.RenderingException - org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getText' in class com.sun.proxy.$Proxy713 threw exception java.lang.NullPointerException at com/atlassian/applinks/oauth/auth/outbound_nonapplinks.vm\[line 52, column 44\]

Can anybody suggest please.


Answers:
author: Marek Parfianowicz
body: Please raise a ticket on support.atlassian.com, generate and attach support zip(s) from application(s) where you see the error - you can create zip(s) from an administrator panel, provide more details how you installed these applications.
Is there a way to restore the prior default behavior of always showing the blame column?
Asked by Catbird Operations:

After upgrading to Crucible 4.2, the Blame column is "off" by default. We prefer the older behavior of having it shown without having to click an extra button. Is this possible?


Answers:
author: aborowski
body: Due to performance reasons (which affected most of users), blame info is loaded on-demand and there is no option to load it without clicking *blame* button.
?Roap Map Crucible?
Asked by Orlando Villabona B:

Saludos Se?ores Atlassian, en mi compa??a se utiliza el producto Crucible (on premise) para revisi?n de c?digo entre compa?eros, actualmente existe la inquietud sobre si continuar con este producto o no debido a algunos mensajes encontrados sobre la finalizaci?n del licenciamiento producto Crucible Cloud (h[ttps://www.atlassian.com/licensing/crucible](https://www.atlassian.com/licensing/crucible)). Podr?an informarme sobre el futuro de este producto con el fin de analizar su continuidad en nuestra compa??a.

Gracias!


Answers:
author: Marek Parfianowicz
body: Hi Orlando,

As per <https://www.atlassian.com/licensing/crucible#serverlicenses-8>

*"As of October 2013, we have retired FishEye \& Crucible Cloud."*

we have terminated hosting of FishEye and Crucible in the Atlassian **cloud service** 3 years ago. It does not absolutely mean that products are discontinued - you just need to install them on your **own server** . In case you don't have your own machine, you may try to install it on another cloud provider - [Amazon EC2 for instance](https://answers.atlassian.com/questions/38841719/how-to-install-fisheye-crucible-on-amazon-aws). Please bear in mind that [cannot guarantee solving performance issues](https://confluence.atlassian.com/crucible/supported-platforms-298977375.html) in virtualised environments (we recommend to select VM with as fast I/O as possible).

FishEye and Crucible are actively developed products - we publish about 4 major releases per year.

I hope this answers your question.

Cheers  
Marek  
FishEye\&Crucible developer


author: J. Caldwell
body: Uso de Google Translate para responder a esta pregunta.

Usted quisiera entrar en contacto con ventas de Atlassian. La pregunta que usted hizo no es lo suficientemente espec?fica para obtener una respuesta aqu?. Adem?s, esto es m?s de un foro de ayuda t?cnica / pregunta, por lo que realmente no obtendr? una respuesta aqu? en hoja de ruta / licencias.

<Https://www.atlassian.com/company/contact/purchasing-licensing>

(In English)

Using Google Translate to answer this question.

You would want to contact Atlassian Sales. The question you asked is not specific enough to get an answer here. Additionally, this is more of a technical help/question forum, so you won't really get an answer here on roadmap/licensing.

<https://www.atlassian.com/company/contact/purchasing-licensing>
Crucible 4.2.1 - Last Login Query for mysql
Asked by Aubrey Bird:

We are trying to get a last login report to see who is actually using Crucible.

We were using this Script;

select distinct cru_user.cru_user_name,cru_crucible_enabled,from_unixtime(cru_recently_visited.cru_last_viewed/1000) as last_view from cru_user JOIN cru_recently_visited on cru_user.cru_user_name = cru_recently_visited.cru_user_name where cru_crucible_enabled=1 and cru_last_viewed = (SELECT MAX(cru_last_viewed) from cru_recently_visited WHERE cru_user.cru_user_name = cru_recently_visited.cru_user_name);

However this worked for Crucible version 3.x...but since we have upgraded we are unable to run this query against mysql.

Instead we get a ERROR 1054 (42S22): Unknown column 'cru_crucible_enabled' in 'field list'

What are we missing.


Answers:
author: Marek Parfianowicz
body: Hi Aubrey,

In FishEye/Crucible 4.0 the whole user management has been refactored, see [crucible-4-0-release-notes.](https://confluence.atlassian.com/crucible/crucible-4-0-release-notes-808761308.html)

The **cru_user.cru_crucible_enabled** and **cru_user.cru_fisheye_enabled** columns have been removed.

The equivalent is **cwd_user.active**, which tells if user has not been disabled in the directory. However, please note that this column does not tell about global permissions (i.e. access to FishEye and Crucible functionality), which you can check in the following columns:

**cru_global_permission.cru_fisheye_user**

**cru_global_permission.cru_crucible_user**

Cheers  
Marek


Tags: fisheye-crucible-administration
Can the Start Revision for an existing Repository be changed?
Asked by Neal OConnell:

We have a SVN repo with a large number of changes. In the interest of being able to actually start using the tool, we initially created a Fisheye repository using a Start Revision rather than the default 'dawn of time' scenario.

One side effect of this is that if a given file was last changed before "Start Revision", Crucible is unable to show a diff.

I'm curious if it is possible to edit an existing repository to move Start Revision back to an earlier revision. Will Fisheye notice the change and back-fill its view of the repository?

Thanks,

Neal


Answers:
author: Piotr Swiecicki
body: It is possible to amend the Start Revision, but FishEye would prompt you for a full reindex of the repository. The final outcome would be what you expect I believe, but in the interim period when repository is being reindexed you may not be able to access the data already indexed before. This is because when changing Start Revision FishEye can't easily backfill the missing data, parts of indexing logic needs to follow changeset ancestry in the topological order and FishEye ends up discarding all previously indexed data and start indexing repository again.

If repository is large and you don't want to have reindex taking place on your instance, you may want to consider building a full index of the same repository on secondary FishEye instance. One this is complete you can simply reconfigure repository on the production site, change the start revision to 0, then stop the repository, copy caches from secondary instance and start it again. The procedure is explained in detail on <https://confluence.atlassian.com/display/FISHEYE/How+do+I+Avoid+Long+Reindex+Times+When+I+Upgrade#HowdoIAvoidLongReindexTimesWhenIUpgrade-Howtoreindexasinglerepositoryonatestserver> page.
fisheye Unable to pull from remote repository, no error message.
Asked by tom_rutherford:

I'm evaluating Crucible/Fisheye and am attempting to do an initial clone of a large privately hosted hg repository. Fisheye spends a long time cloning (\> 1 hour), then fails. The following messages appear in \`\<instance_directory\>/var/log/fisheye.out\`:

```
2016-11-18 19:18:59,741 WARN  - Exception during FishEye Incremental Indexing of rapc (rapc): com.cenqua.fisheye.config.ConfigException: Unable to pull from remote repository: http://url/redacted/RAPC     - []2016-11-18 19:19:01,141 WARN  - Exception during FishEye Incremental Indexing of rapc (rapc): com.cenqua.fisheye.config.ConfigException: Unable to clone remote repository: http://url/redacted/RAPC     - [abort: repository . already exists!]
```

The second message is displayed in the fisheye admin repositories screen, although I suspect the first message is the actual culprit (the repository definitely didn't exist already; this is my initial clone). I can successfully test FishEye's connection to the repo, and FishEye does appear able to succeed in pulling several GB of data before failing.

Unfortunately it's hard to debug further when the error message is "- \[\]". Does anyone have any suggestions?  

<br />


Answers:
author: tom_rutherford
body: It looks like the issue was that fisheye timed out while trying to clone the repository. Increasing the 'Command Timeout' in step 2 of the repository setup as [described here](https://confluence.atlassian.com/fisheye/mercurial-298976893.html) fixed the issue.


Tags: fisheye-crucible-administration