youngmon/atlassian-qna huggingface dataset:
Cannot add users even though I'm under 5 total
Asked by Kaila Beattie:

Hi,

I only have one user in each of my two repositories but am getting an over the 5 limit error when I add some new.

How do I fix this?

\[REDACTED\]

Thanks for your help,

Kaila


Answers:
author: Ben
body: Hi [@Kaila Beattie](/t5/user/viewprofilepage/user-id/5505851)

I can see that 5 users are present against your workspace, the user limit is a total of all of the users who are present on your workspace and are not calculated on a per-repository basis.

Please follow the instructions on this article to view a list of the users on your workspace, and remove any that are not needed:

* <https://confluence.atlassian.com/bbkb/how-to-remove-bitbucket-cloud-users-from-the-plan-1217306510.html>

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Kaila Beattie
body: Thanks Ben. I don't have access to this page and we cannot fingure out who does. Is there way to tell who the admin is on this account?


author: Ben
body: Hi [@Kaila Beattie](/t5/user/viewprofilepage/user-id/5505851)

There are now 3 members in your workspace, so you should not exceed this limit by inviting 2 more users. I can't reveal the name of the admin on this community post as it is a public forum - but they're a developer.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Changing Designated User?
Asked by Beth Williams:

How do I change my designated user after installation


Answers:
author: Mark A_
body: Hi Beth,

What do you mean by "Designated User?"

After installing FishEye, you set the local administrator password but there is no user ID associated with it.

If installing FishEye on Windows, the service runs under a local system account. Again, no dedicated user tied to the service.

Cheers,

-Mark
how to get SVN repository user using fisheye rest API?
Asked by Nimesh pande:

is there any rest api for fisheye to get users of particular SVN repository.   
I dont need fisheye users.  


Answers:
author: Mark A_
body: Hi Nimesh,

There is no method to retrieve users for an SVN repository using FishEye. The [REST API](https://docs.atlassian.com/fisheye-crucible/latest/wadl/fisheye.html) will retrieve users that are stored in FishEye only and not the author(s) of an external repository.

You will likely need to grep through your SVN log to retrieve SVN users.

-Mark


Tags: fisheye-crucible-svn-ondemand
Fisheye portal not loading
Asked by Paul Bedorf:

Hi Guys, I have Fisheye configured with our Internal Jira for authentication. Today the Fisheye server was restarted and since then the fisheye portal web page is not loading up.

When I restart the fisheye service the logs show the fisheye server has been successfully started, see below:  

--------------------------

Connection Details

--------------------------

Site URL : <https://fisheye.company.com>

2017-08-08 13:55:50,733 WARN \[qtp835468924-129 \] com.atlassian.oauth.serviceprovider.internal.AuthenticatorImpl OAuthProblemUtils-logOAuthProblem - Problem encountered authenticating OAuth client for url "<https://fisheye.company.com/rest/remote-link-aggregation/latest/aggregation>", error was "consumer_key_unknown", with parameters "{oauth_problem=consumer_key_unknown}"

But the page never loads up. I see the problem above about the "consumer_key_unknown " I checked on our internal jira and it shows that the application link is broken, I tried to re-create it but no luck. Since I am locked out of fisheye portal how can I restore the default login?


Answers:
author: Grzegorz Lewandowski
body: I'm not sure what exact problem are you facing:

1. FishEye server doesn't respond and you can't access it ?
2. FishEye server starts, it responds but due to broken applinks you can't log in.

If the former, it may be hard to help you by using this portal, it's going to be the best if you contact support at <http://getsupport.atlassian.com/> to get help.

If the latter then FishEye has *master* Administrator account. You can use it to restore applinks. In order to login as Administrator principal, please go to *<https://fisheye.company.com/admin>* . If you don't remember the password, [here's](https://confluence.atlassian.com/fisheye/how-to-reset-the-administration-page-password-in-fisheye-or-crucible-298977083.html) an instruction how to reset it.
How can I pause a crucible code review?
Asked by Warren Goldman:

I would like to create a crucible code review, have reviewers on it, but not have the review started.

I am using smart commits and to create and assign a code review.

After the review is created I would like to pause it, so that I may subsequently add more code to it. Then at some point in the future would like to actually start the code review.

Is there a way to do this?


Answers:
author: Piotr Swiecicki
body: What about creating review and keeping it in the "DRAFT" mode? No notification are sent to participants when you edit such review, add content or add/remove reviewers. Only when you open the review (i.e. transition DRAFT -\> OPEN) participants will get notified and from now on they would be getting notifications on every review update. Same with their inboxes, they can only see open reviews, so as long as your review is in DRAFT state, it won't appear in their inboxes.

Hope that helps,

Piotr

comments: author: Warren Goldman
body: Don't believe there is a way, using smart commits, to create a code review in draft status if you specify reviewers. I believe it is assumed that if you specify reviewers you want the review to be started.

I only create code reviews with smart commits....

would be a nice option though

something like

"\<commit comment\> +review CR [@Piotr Swiecicki](/t5/user/viewprofilepage/user-id/781650) DRAFT"


author: Piotr Swiecicki
body: right, apologies, I missed that bit. You may want to vote and watch the <https://jira.atlassian.com/browse/CRUC-7044> issue, perhaps?

Cheers


author: Warren Goldman
body: k, thanks, looks like I am not going to get this functionality, CRUC-7044 has been open for almost 3 years
Cannot connect Bitbucket repository to Crucible
Asked by Mike Gabelmann:

Whenever I try and connect a Bitbucket repository to Crucible I get an error. The logs state that it is a StashRestException.

2017-08-04 16:13:20,216 WARN - Bitbucket Server Response body: {"errors":\[{"context":null,"message":"An error occurred while processing the request. Check the server logs for more information.","exceptionName":null}\]}  
2017-08-04 16:18:33,425 WARN - Error occurred making request to Bitbucket Server

Not sure how to proceed.


Answers:
author: Mark A_
body: Hey Mike,

Unfortunately, the message you posted does not provide a lot of information.

I do recommend that you open a [Support](https://getsupport.atlassian.com) case and attach a support zip for a support engineer to investigate. There could be many things that could be impacting you from app configuration to networking.

If you want, you can definitely check out our [application link troubleshooting guide](https://confluence.atlassian.com/kb/application-links-troubleshooting-guide-718668765.html) if you want to investigate on your end first.

-Mark
git
Asked by Denis Strekha:

Installed (apt install git git-core). I specified the path in the settings (/ usr / bin / git). Does not work. It is installed on debian 9, and on the server with windows it works.

Error testing connection.  
Error talking to repository:   

<br />

at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:120)  
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:390)  
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:964)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Connection failed.


Answers:
author: somethingblue
body: Hi Denis,

There is an article titled Error testing connection. Error talking to repository - occurs when trying to connect to a Git repository. It provides the following causes and resolutions:
>
> Cause {#Errortestingconnection.Errortalkingtorepository-occurswhentryingtoconnecttoaGitrepository-Cause}
> --------------------------------------------------------------------------------------------------------
>
> **Cause #1 - Git executable not available**
>
> FishEye was not able to detect where git executable (git.exe for a Windows server) is located.
>
> **Cause #2 - repository details incorrect**
>
> The Git URL or the authentication type and/or credentials are incorrect.
>
> Resolution {#Errortestingconnection.Errortalkingtorepository-occurswhentryingtoconnecttoaGitrepository-Resolution}
> ------------------------------------------------------------------------------------------------------------------
>
> **Resolution for Cause #1 - Git executable not available**
>
> Set the Git executable path from `FishEye Administration >> Global Settings >> Server >> Git executable >> Edit Details`. The git executable file is usually located in the `bin` directory
>
> **Resolution for Cause #2 - repository details incorrect**
>
> Make sure that the Git URL and the provided credentials are correct.
>
You can test the expected Git URL by running:  
>
> ```none
> git config --get remote.origin.url
> ```

Try the above steps and let us know if that does not resolve the issue.

Cheers,

Branden

comments: author: Denis Strekha
body: Did not help.


author: somethingblue
body: Hi Denis,

I'm sorry to hear that didn't help. Can you please provide the output of these commands:

1. Cd into the git repository:
2. export GIT_TRACE_PACKET=1; export GIT_TRACE=1 ; export GIT_CURL_VERBOSE=1
3. git config --get remote.origin.url
4. git pull

Once I have that we'll go from there.

Cheers,

Branden


author: Denis Strekha
body: **We have an external repository, it works fine. The problem is fisheye under debian. Fisheye under windows there is no such problem.**
Fisheye and Apache SSL Connection Issues - Only on Administration Module
Asked by wang31894:

Hi, We fronted FISHEYE with Apache 2.4.27 with SSL reverse proxy, we have the same configuration to JIRA with no issue, but when setup Fisheye with the same setting, it is working fine except when clicked the administration function, the repositories page not showing, only has " Loading...." on the page, everything else is working fine. It is very interesting that only failed on this page. Anyone had the similar issue before? Your help is really appreciated. thx


Answers:
author: Lars Olav Velle
body: Have a look at this guide: [https://confluence.atlassian.com/kb/securing-your-atlassian-applications-with-apache-using-ssl-838284349.html](https://confluence.atlassian.com/kb/securing-your-atlassian-applications-with-apache-using-ssl-838284349.html?)

Also, make sure that you configure the following uder global settings and server

Proxy scheme https

Proxy host crucible.example.com

Proxy port 443

Site URL <https://crucible.example.com>

comments: author: wang31894
body: Thanks for your reply, I did read and follow article your forwarded when we setup our environment, Like I mentioned earlier, it is working fine with everythign except the repositories page under administration.

Thanks


author: wang31894
body: Thanks for your reply, I did read and follow article your forwarded when we setup our environment.

Like I mentioned earlier, it is working fine with everythign except the repositories page under administration.

Thanks
Migrate HSQL db to Mysql
Asked by Anvesh Gurudu:

I have installed crucible 4.4.1 and mysql on my server

While migrating from HSQL to MySQL getting following errors:

Dropping existing tables...  
Problem running drop script (you may have to manually drop the DB) /app/fecru-4.4.1/sql/MYSQL/schema/drop_105.sql  
Database migration failed: com.cenqua.crucible.hibernate.CruDBException: Problem running drop script (you may have to manually drop the DB) /app/fecru-4.4.1/sql/MYSQL/schema/drop_105.sql

And

Database must be in NO_TABLES state, currently NO_DB

Can anyone please help me?


Answers:
author: Boris Berenberg - Atlas Authority
body: Are you on a supported MySQL version <https://confluence.atlassian.com/crucible/supported-platforms-298977375.html>

comments: author: Anvesh Gurudu
body: Yes I am on a supported MySQL version  
mysql --version  
mysql Ver 14.14 Distrib 5.7.19, for Linux (x86_64) using EditLine wrapper  
Atlassian document says use these sql commands to resovle these errors

<br />

select \* from cru_user_profile where CRU_user_id not in (select CRU_user_id from CRU_user);  
delete from cru_user_profile where CRU_user_id not in (select CRU_user_id from CRU_user);

<br />

But not sure where is should use these commands? and anything need to be replaced in above commands?  
The database connection is successful.  
And also, tried below commands from command line,but did not work  
./fisheyectl.sh restore --sql \\  
--file /app/fecrudata/backup/backup.zip \\  
--dbtype mysql \\  
--jdbcurl jdbc:mysql://localhost/cucibledb \\  
--username jirauser \\  
--password XXXXX
Can't connect SMTP to Fisheye
Asked by Brian Weinreich:

Added my server IP to the /etc/hosts file

Starting mail system...  
mail.smtp.host = email-smtp.us-east-1.amazonaws.com  
mail.smtp.starttls.enable = true  
mail.smtp.port = 25  
mail.from = no-reply@density.io  
mail.smtp.connectiontimeout = 30000  
mail.smtp.timeout = 30000  
mail.smtp.auth = true  
username = AKIAI2OHMLB7M2CIJHNQ  
password = \*\*\*\*\*\*\*  
Mail system started.  
Invalid user email '' - using server email as from address.  
DEBUG: getProvider() returning javax.mail.Provider\[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc\]  
DEBUG SMTP: useEhlo true, useAuth true  
DEBUG SMTP: useEhlo true, useAuth true  
DEBUG SMTP: trying to connect to host "email-smtp.us-east-1.amazonaws.com", port 25, isSSL false  
220 email-smtp.amazonaws.com ESMTP SimpleEmailService-2110753669 7yyiErG1p2Ow5Qfl2guB  
DEBUG SMTP: connected to host "email-smtp.us-east-1.amazonaws.com", port: 25  
EHLO  
501 Syntax: EHLO hostname  
HELO  
501 Syntax: HELO  
problem sending email  
501 Syntax: HELO

at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1363)  
at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:838)  
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:375)  
at javax.mail.Service.connect(Service.java:297)  
at javax.mail.Service.connect(Service.java:156)


Answers:
author: Boris Berenberg - Atlas Authority
body: Same issue as identified here: <https://confluence.atlassian.com/bitbucketserverkb/sending-email-fails-due-to-501-syntax-helo-hostname-error-779171438.html>

comments: author: Brian Weinreich
body: Yep tried that. Stopped and started the application and still doesn't work. Anything I should do after editing the hosts file? It is behind a load balancer.


author: Boris Berenberg - Atlas Authority
body: Hmm not sure, I would double check that it was done correctly. All occurances of this problem that I can find all come back to the same fix.  

I expect that your loadbalancer is in front of the application as a proxy, not as an outbound proxy? If yes, it shouldn't matter.  

Can you get any logs from the Amazon side of the connection information?


author: Brian Weinreich
body: Ah, okay I realized that my hostname on the EC2 instance was

ip-10-0-X-X so I had to update my hosts file with the public IP, the cname, and then that hostname.

Works now. Thanks.
Disable password autocomplete in browsers for Crucible
Asked by Andrew Dunahay:

For PCI compliance I need to disable password autocomplete in Crucible. This is a similar question for Confluence. [https://community.atlassian.com/t5/Confluence-questions/Need-to-disable-Autocomplete-Password-in-Browser-for-Confluence/qaq-p/110523](https://community.atlassian.com/t5/Confluence-questions/Need-to-disable-Autocomplete-Password-in-Browser-for-Confluence/qaq-p/110523?)

How can I configure this?


Answers:
author: Mark A_
body: Hi Andrew,

You may be able to do so by modifying the JSP pages for the login form to pass:

```
autocomplete="off"
```

To be specific, autocomplete is not something Crucible does specifically, but is a feature provided by web browsers that allow the user to save the password or autocomplete their login if they are using a password manager.

You can see more detail about the attribute here: [Disable browser "save password" functionality](https://stackoverflow.com/questions/32369/disable-browser-save-password-functionality)

-Mark
Pre-commit iterative reviews on Crucible (SVN) with patches that can each be compared to baseline?
Asked by Brody Higgerson:

When creating a code review via Crucible/Fisheye, I upload a patch file of local changes, generated using SVN's right-click context menu in windows (right click -\> Create Patch), and successfully anchor it.

After this, some reviewers make comments and I agree to implement their changes, and so I do. I then create another patch file from my new set of local changes and upload it to the review, making sure to anchor it as well.

Now, when sliding the 'iterations' bar at the top of the review, there is no longer a way to compare changes relative to the checked-in 'baseline'. If the bar stretches from the original revision/baseline on the left to the first patch like so;  

![fisheye_first_patch.JPG](/t5/image/serverpage/image-id/3849iB948EEA21C71B016/image-size/large?v=v2&px=999 "fisheye_first_patch.JPG")  

there are no changes shown in the diff view(s), almost as if the first patch uploaded has taken on the role of a new 'baseline'. The 2nd patch is always viewed in relation to the first patch, even if I stretch the iterations bar to start at the original, like so;  

![fisheye_all_patches.JPG](/t5/image/serverpage/image-id/3850i2DA6579B33706795/image-size/large?v=v2&px=999 "fisheye_all_patches.JPG")  

This looks identical to if I only compare the first patch and the second (without baseline) like so;  

![fisheye_last_patch.JPG](/t5/image/serverpage/image-id/3851i41520F7556041886/image-size/large?v=v2&px=999 "fisheye_last_patch.JPG")  

Why am I losing the ability to compare to baseline as soon as I upload the second patch? The diff is fine against baseline if I only upload the one patch file.  

<br />

<br />


Answers:
author: Felipe Kraemer
body: Hello [@Brody Higgerson](/t5/user/viewprofilepage/user-id/32846),

I've just came across this question and realized that nobody has answered to you yet.

Given that you've asked this question back in July 31, 2017, I'd like to check if this is still an issue or if you have been able to find a solution for this problem.

Regards,

Felipe


Tags: pre-commit
proxy not working on crucible to get to marketplace
Asked by Sean McDermott:

We sit behind a firewall, so we need to use a proxy to access the internet. We set

setenv FISHEYE_OPTS "-Dhttp.proxyHost=proxy.fm.intel.com -Dhttp.proxyPort=900 -Dhttps.proxyHost=proxy.fm.intel.com -Dhttps.proxyPort=900"

And it seems it did take it from the system info page :

JVM input arguments-Dhttp.proxyHost=proxy.fm.intel.com -Dhttp.proxyPort=900 -Dhttps.proxyHost=proxy.fm.intel.com -Dhttps.proxyPort=900 -Xmx1024m -Dfisheye.library.path= -Dfisheye.inst=/infrastructure/crucible-prod/crucible_inst -Djava.awt.headless=true -Djava.endorsed.dirs=/infrastructure/crucible-prod/fecru-4.4.1/lib/endorsed

But it still isn;t working w/ Crucible to access the marketplace. The same hosts/port work for the exact same machine with JIRA, but not crucible.

Am I missing something ?


Answers:
author: somethingblue
body: Hi Sean,

Please see <https://ecosystem.atlassian.net/browse/AMKT-20029>. Please review AMKT-20029 and compare your logs to the stack trace in the bug ticket. If you agree that is the same issue please vote on the issue to add impact.

This will be fixed with version 4.4.2 of Fisheye and in the comments on the ticket another user also states "updating to UPM 2.21.x makes it work" for them.

Cheers,

Branden

comments: author: Sean McDermott
body: I wasn't able to look at AMKT-20029 - I got "Access Denied"

"This issue can't be viewed

The issue you're trying to view can't be displayed.  
It may have been deleted or you don't have permission to view it right now."

However - as suggested, updating to UPM 4.21.5 fixed it!

THANK YOU!
How to review diff of one file on different Perforce branches with Crucible?
Asked by Christian L:

Although I looked into many items in the community, Jira database and the documentation, sadly it feels like Perforce branches are not fully supported - at least not the way I expect. I am having trouble reviewing a branched file:

I like to compare the content of one file against a branched version of the same file (created via p4 integrate). Although I added correct branch mappings (p4 branch) Crucible adds the two revisions as two independent files to a review instead the expected diff-view. My assumption is that Crucible/FishEye recognizes the different depot paths, while ignoring the branch spec/mapping knowledge.

How to create such a review of one file on two branches as a diff-review?

![2017-07-25_15-46-14.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/3548i6843BAB3CF370C94/image-size/large?v=v2&px=999 "2017-07-25_15-46-14.jpg")


Answers:
author: Marek Parfianowicz
body: Did you consider creating a diff from a command line and attaching it to a review as patch?

comments: author: Christian L
body: While this might be a workaround, this is not very elegant as we lose connection to the Fisheye repository.

It would be more elegant when Crucible supports selecting a main file for review (from the repository) and then allow adding any other file from the repository to diff against (e.g. older revision or from a complete different branch\*, maybe even with a different file name).  

\*) doing this just causes the review to contain two files instead one diff review of a single file.


Tags: branch

perforce
Actual crucible event listener example
Asked by A P:

Hi all. I'm trying to create Crucible plugin which sends POSTs when review state changes. I've found this [tutorial](https://developer.atlassian.com/fecrudev/tutorials/fisheye-event-listener-plugin-module-tutorial), but com.atlassian.event.EventListener is marked deprecated in Eclipse and my plugin could not be enabled.

So are there any actual tutorials on creating such plugins?


Answers:
author: Grzegorz Lewandowski
body: Hello, yes indeed the referenced tutorial is out of date. You should use \*\*com.atlassian.event.api.EventListener\*\* annotation on a method level.

Please make sure you register your bean to an \*\*EventPublisher\*\* instance. \*\*Do not\*\* to deregister it while bean is destroyed, you'll introduce memory leaks otherwise!

You can base on a JIRA tutorial. Although components being used will differ from the ones avaliable in FishEye\&Crucible (like IssueEvent), the same concept of event listener is used.  

Reference: [https://bitbucket.org/atlassian_tutorial/jira-event-listener/src/15c9fbb4172d0d7954b176cea052d23848c6eaef/src/main/java/com/example/tutorial/plugins/IssueCreatedResolvedListener.java?at=master\&fileviewer=file-view-default](https://bitbucket.org/atlassian_tutorial/jira-event-listener/src/15c9fbb4172d0d7954b176cea052d23848c6eaef/src/main/java/com/example/tutorial/plugins/IssueCreatedResolvedListener.java?at=master&fileviewer=file-view-default)


Tags: app

crucible-development
Where can I find where the SVN URL Connection details are held in the database?
Asked by Helen Griffiths:

Hi :)

I have been asked to identify which Fisheye repositories in our instance are linked to Subversion, and what their link is. Without manually going through all of the repositories, does anyone have an idea where this data is (if anywhere, as I couldn't find it!) within the Fisheye database?

Any help would be gratefully received!

Helen


Answers:
author: Helen Griffiths
body: Asked Atlassian after no reply (:() and the answer is this information is stored within the config.xml


Tags: database

fisheye-crucible-svn-ondemand

svn