youngmon/atlassian-qna huggingface dataset:
Expose more of Jetty JMX MBeans with Fisheye
Asked by Krzysztof_Paprzycki:

Hi

As per <https://confluence.atlassian.com/fishkb/how-to-monitor-fisheye-crucible-using-jmx-in-linux-680395029.html> we have enabled JMX. The last screenshot from the article is what we see in our JMC (so JMX setup is correct on our side).

However we are still not satisfied as we expected to see more of consumed/busy AJP threads. This looks like not viable here as JMX does not provide MBean **org.eclipse.jetty.servlet.utils** (in short we would like to see what Tomcat provides via Catalina:type=ThreadPool,name="ajp-bio-8019" -\> currentThreadsBusy)

I saw on web that this Jetty **util** class will expose used threads and usage of AJP threads similar to Tomcat/Catalina ones. We often have problems with users not being able to connect to the Fisheye server while it looks Fisheye engine itself works fine. If we get such stuck on threads this ends in most cases in Fisheye restart. Application will not recover itself from this issue in most cases :-(

Having more Jetty MBeans exposed will let us to do better monitoring/root cause analysis.

I am not an expert so asking if simple extra options passed to java will enable more MBeans to be exposed or this is strictly Java code modyfication is the only way (so would this be possible?)

Facts:

4.4.1 version, Java 1.8, beefy server (many cores, 64G of RAM etc). Current threads used config.xml:

\<web-server context="/fisheye" site-url="<https://odyssey.apps.csintra.net/fisheye>" min-threads="250" max-threads="400"\>  
\<http bind=":8060" proxy-port="443" proxy-scheme="https" proxy-host="xxxxxxx"/\>  
\<ajp13 bind=":8061"/\>  
\</web-server\>

<br />

Our Apache uses proxy pass to AJP

\<Location /fisheye\>

....

ProxyPass ajp://%FECRU_HOST%:8061/fisheye timeout=300  
ProxyPassReverse ajp://%FECRU_HOST%:8061/fisheye  
\</Location\>


Answers:
author: Felipe Kraemer
body: Hi [@Krzysztof_Paprzycki](/t5/user/viewprofilepage/user-id/612838),

It really doesn't seem possible to add/use the MBean **org.eclipse.jetty.servlet.utils**.

In the other hand, please note that according to [Proxying Atlassian server applications with Apache HTTP Server (mod_proxy_ajp)](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_ajp-830284354.html), starting from version 4.0, Fisheye has stopped support for the AJP authentication, so this should no longer be used. Maybe this is the root cause of the problem about users being unable to login?

According to [Fisheye 4.0 user directories migration](https://confluence.atlassian.com/fisheye/fisheye-4-0-user-directories-migration-815241247.html) (under **Custom / AJP authentication** section), users with the custom, AJP or host-based authentication type have been migrated to the internal directory, although their passwords are reset.

This means that you can likely remove the *\<ajp13 bind=":8061"/\>* setting from *config.xml*.

Regards,

Felipe
Retrieve last login date for users to FishEye
Asked by Anastasia:

Hi!

how can i retrieve last login date for users to FishEye? I have Oracle DB.

I have seen users in FishEye Admin, but there was no last login dates. Crowd Auth.


Answers:
author: Caterina Curti
body: Hi Anastasia,

The information about the last login can be retrieved by following the steps / running the query on the following article:

- [How to query for inactive/idle users in FishEye/ Crucible](https://confluence.atlassian.com/pages/viewpage.action?pageId=949244076)

Cheers,

Caterina - Atlassian


author: daniele_carcasole
body: Hi Anastasia,

The information you are searching for is not present in the Fisheye DB.

We had a similar question in the past and as a workaround a query to provide last activity per user was provided.

You can find it at [Get list of users sorted by last login or last activity date.](https://community.atlassian.com/t5/Fisheye-Crucible-questions/Get-list-of-users-sorted-by-last-login-or-last-activity-date/qaq-p/270323)
> the following:
>
> ```
> select cru_user_name, to_timestamp( max(cru_last_viewed)/1000), count(cru_user_name) from cru_recently_visited group by cru_user_name order by max(cru_last_viewed) desc;
> ```
>
> Should give you roughly what you need.
>
> It wont give you logins per-se, however will let you know which users recently viewed an 'entity' in FishEye/Crucible. An entity is: a repository, a project, a review or a user page.
>
> You could also consult the cru_login_cookie table to get the last time a login cookie was created for any given user.

<br />

Hope this helps  
Daniele


Tags: login

user
In Crucible, ldap config How can LDAP SSL type changed to TLS1.2
Asked by Ganesh Kumar Annadasu:

Is there a place SSL type of LDAP authentication is changed to TLSv1.2?


Answers:
author: Lonnie
body: Hello, As you may already know when adding a user directory you can check the SSL box and change the port 686

To enforce TLS1.2 Please review the following KB:

<https://confluence.atlassian.com/fisheye/configuring-ssl-cipher-suites-for-jetty-414188522.html>

Hope this helps

Lonnie
SmartCommit link OK, but not for transition or time
Asked by Nicolas Schmitz:

Hi,

When I commit with

DEMAT-18 #close fix this

for example, the commit is linked with the JIRA issue, but the transition is not effective (stay in "TO DO".

Any advice on this ?

Thx in advance !

Nicolas


Answers:
author: Felipe Kraemer
body: Hi [@Nicolas Schmitz](/t5/user/viewprofilepage/user-id/1208369),

This typically suggests that the Application Link between Fisheye and Jira is not working as expected.

Do you see a green "Connected" label next to the remote application when you go to the each instance's Application Links page?

Also, can you please check if the user executing the smart commit exists in both applications and is allowed to close issues and work on issues in Jira side?

I hope this helps!

Cheers,

Felipe
How many Fisheye license should we buy?
Asked by Anastasia:

Hi! Have a difficulties to understand how many Fisheye license should we buy for our company if we have 10 000 users in Jira but less than 2 000 users in Fisheye?

Autentication via Active Directory.


Answers:
author: Bryan Bai
body: we have 2000 jira/confluence and 100 fisheye/crucible.

if you are using crowd/jira as centralized user management, you just need setup the "Access Type" under global permission to indicate which group/user will have license count.

comments: author: Anastasia
body: Hi, Bryan Bai! Get it. Thank you!


author: Suren Raj
body: Hi, Anastasia.  

JIRA and FishEye are licensed completely separately so you can have different tiers of licenses for each product.

We would suggest buying 501-2000 Users tier. :)

<br />

Hope it helps.

<br />

<br />

comments: author: Anastasia
body: Hi, Suren Raj! At first Thank You for your answer. And want to clarify some moments.

Should we make a FishEye directory for users in AD? And if we have a FishEye plugin in Jira to watch commits will it still works for users that have no license in FishEye?


Tags: jira

licence
retain perforce full history during migrating from perforce to git
Asked by ajay142:

Hi Team,

How we can retain full perforce history(30 years) during migration from perforce to git?

if it is not possible, how we can get at least for 5 years ?

thanks in advance


Answers:
author: Rodrigo M
body: Hey Ajay!

I'm not sure if this is a questions directly related to Fisheye. Fisheye just points out to the repository that you set on the configuration repository and will consume it's data.

You will find useful information regarding migrating from Perforce to Git, including the history, on the articles below:

[Migrating from Perforce to Git](https://www.atlassian.com/git/tutorials/perforce-git-migration)

[Git and Other Systems - Migrating to Git](https://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git)

[Perforce to Git - why to make the move](https://www.atlassian.com/git/tutorials/perforce-git)

Regards!

Rodrigo
Fisheye com.cenqua.fisheye.rep.RepositoryClientException
Asked by Agile Technology Solutions:

Repository paused due to error com.cenqua.fisheye.rep.RepositoryClientException: java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E150000: 'https://svnurl/trunk' does not exist in revision 6,764 java.lang.IllegalStateException: Can't overwrite cause with org.tmatesoft.svn.core.SVNException: svn: E150000: 'https://svnurl/trunk' does not exist in revision 6,764 org.apache.subversion.javahl.Cli


Answers:
author: Themis
body: Hi there,

The article [Errors When Trying to Add or Index a Repository - non-existent in revision](https://confluence.atlassian.com/fishkb/errors-when-trying-to-add-or-index-a-repository-non-existent-in-revision-193790128.html) may be relevant in your case! It offers three potential causes with their respective solutions.

We hope one of them will work for you!

Best,

Themis

comments: author: Agile Technology Solutions
body: [@Themis](/t5/user/viewprofilepage/user-id/1173469) I solved the above problem by changing SVN URL from https://rootpath/projectname/trunk to https://rootpath/ and adding projectname in the path.

Now i am facing another issue. The indexing process is taking a lot of time, it started indexing yesterday (April 10,2018) at 11:00 PM UTC and only indexed 5.7% as of (April 11 ,2018 10:00 PM UTC). Please let me know.


author: Themis
body: Hi,

glad that the initial problem is solved!

As for long indexing times, it is not unexpected that the initial scan and indexing of a repository takes a long time, depending on the size of the repo, and the size of the changesets.

Having said that, it seems you are using the https protocol, which is slower compared to svn: or file: You can consider mirroring your repository locally to be able to access it with the file:// protocol. You can find more information here to [improve the Fisheye scan performance.](https://confluence.atlassian.com/fisheye/improve-fisheye-scan-performance-298977087.html)

Also, here are a few more resources that may help you troubleshoot slow svn indexing:

* [Initial scan and page loads are slow in Subversion](https://confluence.atlassian.com/fisheye/initial-scan-and-page-loads-are-slow-on-subversion-298977064.html)
* [Troubleshooting SVN indexing issues](https://confluence.atlassian.com/fisheye/troubleshooting-svn-indexing-issues-in-fisheye-and-crucible-336170246.html)

Hope this helps!

Best,

Themis
Download 3.4.10
Asked by robertmattauch:

Hello, where c an i download the sourcetree download version 3.4.10


Answers:
author: Vipin Yadav
body: Hi,

You can find it from here:   
<https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.4.10.exe>

Thanks,

comments: author: robertmattauch
body: Thanks


author: Stew Stryker
body: Thanks for this direct link. I tried using the Update feature in 3.4.9, but it failed with the error:

```
Method not found: 
'Void SharpCompress.Readers.IReaderExtensions.WriteEntryToFile
(SharpCompress.Readers.IReader, System.String, 
SharpCompress.Readers.ExtractionOptions)'.
```

comments: author: G W
body: I got the same error and going to <https://www.sourcetreeapp.com/> prompts me to download 3.4.9 when I click to download the program.  
Searching on the internet for 3.4.10 (since the program itself told me there was an update to 3.4.10), I found this page and the direct link.


author: Stew Stryker
body: Instead of Googling for the link, I just used the one that [@Vipin Yadav](/t5/user/viewprofilepage/user-id/4426727) provided above. I didn't have to worry if it would take me to malware. :-)


author: Natchiar Venkatachalam
body: Hi [@stew](/t5/user/viewprofilepage/user-id/3840728)  
We are still in the process of releasing the 3.4.10 version and hence the website is still not updated with the 3.4.10.   
The direct download link will help users by giving a early release of the 3.4.10.  
Once all the process for the release of 3.4.10 is completed, the website will be updated.

Thanks,


author: petr-f
body: The same error when try to update from the user app. The current app v3.4.9 should not notify users to update to 3.4.10 when it is still not ready.
I want to replace ssh key on source tree, But I do not see tools options in mac book
Asked by vijaybmakrubiya:

please help me how can I replace ssh key in source tree.

I can not see tools option any where in my app in mac book

also I can not have any options to remove old key   
when there was not key at that time I did not see option to add key but only see option to create key in source tree where pop up box for under account option.

I have private and pub key in my mac already and I want to use that key in source tree as keys are already linked to Git.

please help me to remove key from source tree and also help me to add which I have in my mac.

Thanks


Answers:
author: Todd Lucas
body: Not sure if you're still looking for an answer to this or not ...

Windows 7 64-bit, SourceTree V 3.4.11

I modified the "LastSSHKeyPath" setting value in the following file:

```
C:\Users\YOURUSERID\AppData\Local\Atlassian\SourceTree.exe_Url_vfgapqzknjyobvhwji4wqlbfzwn5d4xz\3.4.11.0\user.config
```

Just remove the SSH key paths from that value.

**Example Old Value:**

```
<setting name="LastSSHKeyPath" serializeAs="String">
  <value>C:\Users\Todd\.ssh\id_rsa;C:\Users\Todd\.ssh\thlucasi7_id_ed25519;C:\Users\Todd\.ssh\thlucasi7_id_ed25519.pub;C:\Users\Todd\.ssh\thlucasi7_id_ed25519.ppk;C:\Users\Todd\.ssh\id_ed25519.pub;C:\Users\Todd\.ssh\id_ed25519;C:\Users\Todd\.ssh\id_rsa;C:\Users\Todd\.ssh\id_ed25519;C:\Users\Todd\.ssh\id_rsa;C:\Users\Todd\.ssh\thlucasi7_id_ed25519</value>
</setting>
```

**Example New Value:**

```
<setting name="LastSSHKeyPath" serializeAs="String">
  <value>C:\Users\Todd\.ssh\thlucasi7_id_ed25519;</value>
</setting>
```

Hope it helps!
sourcetree won't start
Asked by Leor Amikam:

Windows 10 build 19044. Sourcetree did an update, and now it won't start. I click on the app, no error, nothing. Nothing in a log file that I can see. What to do?


Answers:
author: Leor Amikam
body: reinstalled it and it worked


author: Fahad
body: I'm facing the same damn problem. It doesn't start. No warnings. No error messages. No error events that I can find in the Event Viewer.

Update: trying to run this on Windows 10 Pro Build 19043.

comments: author: Fahad
body: And I just reinstalled it, and it's working.


author: Anam Ahmed
body: What version worked for you? We are having similar issues, we tried older versions but got similar results. We get the splash screen, and then nothing happens. Also, the log file is empty.

Any help is much appreciated.


author: Fahad
body: [@Anam Ahmed](/t5/user/viewprofilepage/user-id/4984279) : I checked my version. It's 3.4.10.

The latest as of right now is also 3.4.10.

The [changelog for 3.4.10](https://product-downloads.atlassian.com/software/sourcetree/windows/ga/ReleaseNotes_3.4.10.html) also says:  
"*Fixed: Sourcetree failed to update from 3.4.9 to latest version*"
Unable to git status in Sourcetree and GitHub, failed with code -1
Asked by vilola:

I feel like crazy, but I have new mac and I transferred all settings from my laptop, where everything work just fine. But on the new pc Sourcetree is not able to 'git status' on repo. In terminal it is just fine.  

In Sourcetree settings I do have "Use system Git".  

I have my GitHub account in Sourcetree accounts with generated personal access token. I tried also logging in with OAuth, but even it saved the account, it did not work either.  

I do have my ssh key saved, linked to ssh config with "use keychain", added to agent and also saved in GitHub account.  

And it still fails with "Error encountered" - "'git status' failed with code -1:"  

It even do not tell what error is it and where is the problem :(   

(As it is ne computer, Sourcetree and git has the newest version)


Answers:
author: Marc S
body: Did you ever resolve this?

I have a similar problem: [Sourcetree can no longer access github.com](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-can-no-longer-access-github-com/qaq-p/2239720)


Tags: git

github
Cannot add multiple accounts to Sourcetree
Asked by Energy Renaissance:

When I try and add a 2nd account to Sourcetree (connect Account) it redirects to a webpage which asks "Do you want to allow this page to open "Sourcetree"?" which I allow and then nothing happens. Have to cancel add request.

Mac: M2 Air 12.6

Sourcetree: 4.2.0


Answers:
author: Energy Renaissance
body: After much mucking around the problem is that you have to login to Bitbucket first with the account you want to add. Then when you add the account you still get the blank webpage that appears to have done nothing, but now if you go back to Sourcetree the account is added.

Very bad user experience, though it does work, and the documentation is incomplete and therefore misleading.
Update from 3.4.9 to 3.4.10 fails
Asked by Renaud Fivet:

Failure seems to be related to Squirrel updater

Method not found: 'Void SharpCompress.Readers.IReaderExtensions.WriteEntryToFile(SharpCompress.Readers.IReader, System.String, SharpCompress.Readers.ExtractionOptions)'.


Answers:
author: Natchiar Venkatachalam
body: Hi All,

Sorry about the issue occurred. We are already working on fixing it.  
We will be releasing an updated version at the earliest!

Thanks!  
Natchiar

comments: author: Renaud Fivet
body: Staying on 3.4.9 for now until the fix is available. Upgrade did corrupt the installation but the left-over folder app-3.4.9 helped me to get back to working.


author: Nicolas Clemeur
body: Downloading sourcetree from <https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.4.10.exe> and installing again did fix it for me

comments: author: ProMac
body: Thks for the Tip , helped


author: kacx9c
body: Worked like a charm.


author: sapfir63
body: ?????????? ????????? ?? ????? ?????

<https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.4.10.exe>


author: Rob Farthing
body: Same here. did you find a fix? Deleting the 3.4.10 files in C:\\Users\\Username\\AppData\\Local\\SourceTree\\packages didn't fix it for me. Very annoying.

comments: author: NDE-Agentur
body: You have to delete the app-3.4.10 folder.


author: Adam Conway
body: Having tried and failed to install the .10, it seemed to still work. until I restarted my computer - then SourceTree doesn't start at all. Deleting the packages and app folder for .10 fixed that, so i can start the .9 version at least.

[@Natchiar Venkatachalam](/t5/user/viewprofilepage/user-id/4683333) : It's not just that the update fails but the failed update breaks the current install.


author: Natchiar Venkatachalam
body: Hi [@Adam Conway](/t5/user/viewprofilepage/user-id/1916839) ,

We have identified the root cause and have releasedan early updated fixed version of 3.4.10.   
This can be directly downloaded from the below url:  
<https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.4.10.exe>  

Please note that if you are in 3.4.9 the check for updates will not work \& hence we recommend you to use this fixed 3.4.10 version by directly downloading from the url.  
If you are in 3.4.8 or lesser versions you use check for updates feature and update to 3.4.10.  

Thanks,
Submodues
Asked by Robert Adsett:

I've apparently been able to add a submodule but it doesn't show up in the sidebar.

Sourcetree Rev 3.4.9


Answers:
author: Robert Adsett
body: OK, submodules (even the heading) don't show up until committed.

I can't say as I'm a fan of that user interface decision. It provides zero feedback as to the current state.
Sourcetree is taking a LOT of time to stage files
Asked by Rafael F_:

Since the past few months I noticed sourcetree started taking a lot of time to stage files, this is very odd, no other operation has this issue.  

Just tried reinstalling and the problem persists.  

I simply click Stage and it freezes, sometimes for 30 seconds, doing nothing (not even using cpu).  

Does anyone know why? How can I even fix or debug this?  

<br />

update: It doesn't matter how many files I'm staging, 1 or 100, sourcetree freezes the same way.  

update 2: Just tried using system Git (with latest version) instead of the embedded git and it's still freezing when I click stage.


Answers:
author: Rafael F_
body: Update 3: I still haven't figured out why this happens, but I noticed that this does not happen when I have my company VPN connected.  

Which makes no sense because I cannot see what the VPN would have anything to do with staging files on git...

comments: author: Rafael F_
body: So after all this time today I discovered the issue is Git LFS.  

Not sure yet why/how/where.  

But I have another repository with a lot more files but without git lfs active, and it's blazing fast to stage files.
How come I am not able to download
Asked by Andreu Woolsey:

I am not able to download SourceTree on Windows 11, when I run the install, the logo sits in its blue box then disappears and nothing happens. I have tried uninstalling the full path of SourceTree, deleting the backups and reinstalling the software all over again and it still does not complete the download. Each time it just loads then disappears.


Answers:
author: Isaac Heslop
body: I am having the exact same issue. Have reinstalled and deleted all files multiple times but still does nothing. It shows that the sourcetree app is installed, but i cant use it and there was no install options when running the installer.
Not able to authenticate with bitbucket + Sourcetree + Mac
Asked by Christopher Wodarczyk:

Related to this link, but I have tried everything there and I still cannot get Sourcetree to properly authenticate anything:

<https://community.atlassian.com/t5/Sourcetree-questions/Getting-quot-fatal-Authentication-failed-for-quot-error/qaq-p/624663>

I have deleted the password file, I have removed the user in the Accounts tab, I have removed all the keychain passwords that were mentioned, uninstalled Sourcetree, rebooted my laptop more times than I can count, reinstalled Sourcetree, it prompts for my password, which I enter (and it is correct since I can login into the website with it), it accepts it, I try to do anything else, authentication is still failing.

Interestingly, I observe that when I add a user back using Sourcetree it is still pulling my username / password from someplace because it just auto adds it in. Where this information is, I cannot fathom as I feel I have deleted everything I can.

This is using the Mac version trying to connect to a bitbucket repository. Any help will be greatly appreciated!

Thanks!


Answers:
author: Christopher Wodarczyk
body: Seems I followed this path:

\*) Removed all keychain access items

\*) Removed the user from the accounts tab.

\*) Uninstalled the application and removed the installer from downloads

\*) Rebooted the laptop

\*) Made sure the keychain access items were still gone for bit bucket

\*) Downloaded the source tree installer and reinstalled

\*) Added my user back to source tree under the Accounts tab using

\*) OAuth

\*) SSH

Seems to have worked now, but I feel I did this same thing 3 times yesterday? :) Do not want to try this again as I lost 1.5 days on this, but maybe this checklist will help someone else! Let me know if it does!
Clone multiple projects to another PC
Asked by Ruben Garcia:

Hi Atalassian community!

I have around 200 git projects stored in my GitLab account and all of them managed through SourceTree

I got a laptop to work sometimes outside office and I'm trying to clone all those projects to that laptop (keeping active the ones in my desktop)

Copy pasting folders works, but I need to add them one-by-one to SourceTree, is there any option in SourceTree to scan a folder to automatically detect all projects inside?

Thanks in advance!


Answers:
author: Danish Mughal
body: I never met with this kind of issue while managing 20+ project like [Snpl Complains](https://sngplbill.pk/sngpl-bill-complaint/). Realated to GitLab Which is formerly at high

comments: author: Ruben Garcia
body: Sorry I do not understand exactly what you mean...