youngmon/atlassian-qna huggingface dataset:
Cannot change password on custom remote repository
Asked by jpatitucci:

I for the life of me cannot update my password in Source tree for a custom repository.

Please advise ASAP as I can't push code to the server


Answers:
author: Ana Retamal
body: Hi Jennifer! How are you trying to update your credentials?

Sourcetree stores its credentials in Windows Credential Manager, or Vault. You can clear out all credentials by deleting any prefixed by:

'git:' for git repos

'hg:' for mercurial repos

'Sourcetree:' for REST apis

They're all also stored in are stored in %localappdata%/Atlassian/SourceTree/accounts.json.

Let us know if you have any questions!

Ana

comments: author: jpatitucci
body: Thank you for your response. I did find this data in the same area however a different file was needed to make the change. The "passwd" file needed to be cleared as it becomes cached with the data. Thanks for your help!
Password to repo not recognized on Mac but works on PC
Asked by Tim Janko:

I have two workstations, a Mac and a PC. I'm able to clone, pull, push, etc from our repository without a problem on the PC. However, when trying clone on the Mac (same repo, same credentials) it appears to not recognize the password.

This shouldn't be a saved password issues since I've been inputting the password each time.


Answers:
author: Manju
body: Answering these questions will help us help you

1. Have you added the account in Preferences - Accounts?

2. What protocol is used to add the account?

3. What protocol was used for cloning the repo? Check the remotes to know the remote URL.

Thanks!

comments: author: Tim Janko
body: Thanks for your reply.

I saw that Stash is now known as BitBucket Server (it's a Stash repo).

I have it set up as Basic, using my username and password, and the protocol is HTTPS.

The protocol used to clone the repo is HTTP.

It should also be noted that when trying to fetch from a previously cloned repo, the password is constantly rejected. This is not an issue on the PC.
Using SourceTree when the repository is located on a virtual machine
Asked by Christian Jensen:

I am working on a Windows machine with most of my project placed on that.

I also have a single project on a virtual PC.

The virtual machine is not always running.

I seems that SourceTree is trying to contact the project on the virtual machine when it is not running even if the project is not opened in SourceTree. This causes SourceTree to block most of the time and makes is useless.

Now I have to have my virtual machine running all the time or use another GUI for that one project.

Is there a way to make this work for me?


Answers:
author: minnsey
body: Hi   

Can you try turning off the Check default remotes option in the Tools/Options/General tab.  

We are investigating an issue where Sourcetree doesn't clear all the resources when a tab is closed, so can you also try this, after closing that particular repository tab and then restarting?


Tags: virtual-machine

windows
SourceTree 2.4.8 hangs on login
Asked by pereirae:

I'm running Win 10 and SourceTree 2.4.8. I can login through <https://id.atlassian.com>, but when login in with SourceTree, it hangs. There's no related issues in the event viewer.


Answers:
author: pereirae
body: Hello,

I've managed to solve the issue by copying the file *accounts.json* (AppData\\Local\\Atlassian\\SourceTree) from another computer I have with SourceTree installed.

Took the tip from the question "[SourceTree 2.4.8 Offline Installation](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-2-4-8-Offline-Installation/qaq-p/738678)", in which it is suggested to install an older version of SourceTree just to create the accounts.json file.

Thanks.

comments: author: Ana Retamal
body: Happy to hear you figured it out, Eduardo! Have a good day :)

Ana


author: Ana Retamal
body: Hi Eduardo, can you check if you're on the latest version of Internet Explorer? Sourcetree relies on it for the authentication part, and we've seen it causing this issue before.

Let us know!

Ana

comments: author: Brian Whelan
body: Ana,

I have the exact same issue. I have an active Atlassian account. I am trying to install SourceTree for the first time on my Windows 10 Pro machine. It is patched to the latest version. Internet Explorer is also patched to the latest version. I can log into the <https://id.atlassian.com> website with IE, Edge, and Chrome without issue. I have also tried clearing the c:\\users\\\<username\>\\AppData\\local\\SourceTree folder, as mentioned in other posts, and have no success.

What else can be done? I would like to start using SourceTree.

-Brian


author: Ana Retamal
body: Hi [@Brian Whelan](/t5/user/viewprofilepage/user-id/640540)! So what happens in your case? Do you get a blank screen? An error message?

Is there any more information in [the logs](https://confluence.atlassian.com/sourcetreekb/sourcetree-logfile-location-675384748.html)?

Let us know!

Ana


author: pereirae
body: Hi Ana, my Internet Explorer version is 11.1770.14393.0 with which I can login in [https://id.atlassian.com](https://id.atlassian.com/?_ga=2.1906993.1638492906.1520957224-1023190548.1520957224)

Thanks.
SourceTree Checkout Commit Identification
Asked by Yacob Hassidim:

How can I identify the checkout-ed commit in SourceTree?


Answers:
author: Yacob Hassidim
body: Hello Brian,

Thank you for your answer.

Yacob Hassidim.


author: bgannin
body: The current branch has a circular indicator next to it in the sidebar; the current commit's text should be bold compared to the rest. HTH.

Brian Ganninger  
Senior Mac Developer, Sourcetree
[Windows 10] Source tree won't update or install (the older version of SourceTree cannot be removed)
Asked by Adam Buckner:

When I run the newest version of SourceTree I keep getting the warning:

<https://gyazo.com/a1c29d0046f897ecceb365972cb3da44>

Souretree has found older versions installed. It's recommended that you uninstall older versions as only this version will receive futre updates and support.

The following installs were found: 1.8.3 - (C:#Program Files (x86)#SourceTree#) Help

But...

... There is nothing there.

I have also checked and cleared out C:\\Users\\\*\*\*\\AppData\\Local#Atlassian and finally deleted the empty Atlassian folder.

I have also checked and removed two stale shortcuts in case this was what the launcher was seeing.

I have restarted several times just to clear the unclean... but still I get the warning every time I launch.

Now, I could just \*ignore\* this warning, but I'd rather have everything clean.

Hints or Suggestions?


Answers:
author: Adam Buckner
body: Poop - I was searching the database and it seems that the Answers site renamed my thread to the most recent search - :-/ Go figure.

It was supposed to read:

SourceTree warns me about non-existent older version on launch.


Tags: uninstall
The login window always shows up and wont let me login
Asked by VinRobHD:

Dear Atlassian Team,

Our Team is working together in Unity and to merge our Project we use sourceTree, so to Keep working a fast answer would be really appreciated by me.

2 Teammembers have the Problem, that while using source tree the Login window will Pop up when trying to fetch or pull and even when the right data is entered the window just Pops up again.

I already reinstalled Source Tree but the Problem isnt solved, my account is authenticated when i check the remote/edit account section.

Greetings Robin M?chtel


Answers:
author: Ana Retamal
body: Hello Robin! Can you try the following:

1. Remove the account via the options screen
2. Try pulling again
3. Insert your username + password

If that doesn't work, try adding your account with OAuth:

1. Options \> Accounts
2. Add a new account, but set "Authentication" to "OAuth"
3. Login, switch back to Sourcetree
4. Try pulling again

If you're still having issues, let us know which OS and Sourcetree version are you using.  
Best regards!  
Ana  

comments: author: VinRobHD
body: Hello Ana thanks for the quick reply,

I now tryed both Options, but None of them fixed the Problem.

Im using Windows 10 and Source Tree is on Version 2.4.8.0, the Authentication Window tells me that the Authentication is Ok.

Greetings Robin


Tags: windows
Can't enable Git support by any means
Asked by Jack JackD:

SourceTree suddenly stopped working for me today. When I first started it up, it couldn't find my Git install. Downloading embedded Git didn't work. Sourcetree would download the files then the popup would come up again (tried this 3 times. Trying to manually locate Git did nothing. Clicking the option just brings the popup back immediately and plays and error noise as does trying to let sourcetree look again. I've updated Sourcetree to 2.48 and Git 2.16.2 64 bit.


Answers:
author: Jack JackD
body: I've narrowed down part of the problem. After updating Windows, sourcetree started working but the update caused my computer to become unstable and crash randomly so I had to uninstall it once again rendering sourcetree unusable with Git.

comments: author: minnsey
body: Hi  

Sourcetree will look in some known locations for git, e.g. accessible via the PATH or in standard install folders in c:\\program files\\ or c:\\program files (x86).  

It if finds a git.exe it will try running  

git.exe version  

It will try to parse the output to check it gets an expected result and is a supported version, essentially any 1.x or 2.x version.  

I suspect you are getting some error when trying to run git.exe version  

Can you see if there are any errors relating to running git version?


author: minnsey
body: Hi  

Can you check to see if embedded git appears to be installed in %localappdata%\\Atlassian\\Sourcetree\\git_local ?

<br />

Do you have Git installed on your PATH? When you try to locate Git it will check the PATH first it is possible that it s finding git.exe on your PATH but then failing to run it properly.  

Is there anything in the %localappdata%/Atlassian/Sourcetree/sourcetree.log?

comments: author: Jack JackD
body: ![gitlocal.png](https://community.atlassian.com/t5/image/serverpage/image-id/16514iEE5F4CCD58818CFF/image-size/large?v=v2&px=999 "gitlocal.png")Heres what I have in git_local. My sourcetree.log file is pretty excessively lengthy and repetitive. Is there a specific error I should be looking for or should I just be posting the hundreds line of text here?  

Again, part of the problem is that I don't seem to be allowed to manually direct Sourcetree to git. When I do, the alert window just pops back up without ever giving me the option to locate my git install.


Tags: windows
Installation Nightmare
Asked by John Sarracco:

I don't have any questions. I just want to say that I have helped multiple people install Sourcetree and it is the shittiest experience I have ever had. To make an installation fail or not complete because of your crappy authentication and requirement to setup an Atlassian account or login is just stupid. I am still not able to install SourceTree in a windows VM, because of some ridiculous browser cookie issue. I have had it, that is the last time I will install Sourcetree and use my time on learning command-line git. Thanks for all the waisted time and extra push to learn something new so I don't have to do this ever again.


Answers:
author: minnsey
body: Hi  

I'm sorry you had a poor experience. We continue to review the installation and registration process and address issues as they are reported. We have not experienced issues installing or registering in a VM, but if you were able to provide any additional details we would investigate.  

Thanks  

<br />
I am a beginner and need to know how to open my branch in visual studio
Asked by Nila Niroula:

I am new to visual studio and Bit bucket as well as source tree. For last two weeks, I have tried to create my branch and open it in source tree. I do not know how to open my branch. I need really very basic steps on how to open my branch in visual studio and do coding. I went through so many tutorials but nothing helped me.


Answers:
author: Mike Corsaro
body: Hello!

To learn about how to use Sourcetree to create a new branch, please take a look at our how-to articles. We have an easy-to-use step-by-step illustrated guide that will walk you through making your first commit on Bitbucket, [which you can find here](https://confluence.atlassian.com/bitbucket/tutorial-learn-sourcetree-with-bitbucket-cloud-760120235.html) ?. If you need additional help with this guide, please let me know.
Login problems with GitHub and Two-factor authentication
Asked by Marc K?llmer:

Hi,

friday we can not sign in to GitHub anymore with SourceTree. Even the attempt with the Personal access tokens does not work. Problem exists only with the two-factor authentication.

Sourcetree Version 2.4.8 Windows 10 64-bit


Answers:
author: Mike Corsaro
body: Hello!

This issue is caused by Sourcetree's embedded Git client using git-credential-manager v1.12, which no longer works with Github since they disabled TLS 1.1 on their site (*and didn't bother to tell anyone* ). Due to this, **only the latest version** of Git for Windows will work with Github.

To use the latest version:

* Download and install Git for Windows
* Open Sourcetree, the go to Options \> Git
* Click the "Use System Git" button
* Additionally, check "Enable TLS 1.2" under "Network"

comments: author: b b
body: Works! after hours of searching for a solution! Thanks!


author: Ross Tesoriero
body: Thank you, this also worked for me. One small thing that confused me.  
I was not able to select the "Use System Git" button, it appeared to be disabled / greyed out .... but as it turned out it was disabled because it was already selected / default


author: Abby Johnson
body: Phew! I was also able to solve this on the Mac app by clicking "Use System Git" via Sourcetree Preferences \> Git


author: Marc K?llmer
body: Hello ,  
thank you very much it worked.


author: Christy Plommer
body: Thank-you. Worked like a charm.


author: SunnyChow
body: it's amazing that there was a time 3 git hub login panel pop up at the same time in my pc


Tags: 2-factor-authentication

github
Pulling from a private repo in github using git LFS
Asked by MadNarsell:

I'm trying to make a pull from a private repository on github, but as soon as SourceTree tries to download the LFS files, it says "Git credentials for https://XXX not found".  

So i finally tried making the repo public, then pulling again and it worked, i don't understand, sourcetree does not prompt me about credentials, and my github account its loged in the source tree app.  

Thank you for your time.


Answers:
author: minnsey
body: Hi  

Depending on what version of Git you are running you might be effected by this <https://githubengineering.com/crypto-removal-notice/>  

GitHub removed support for TLS 1.0 and 1.1 if you haven't already you should upgrade to Git 2.16.2 and GCM 1.14.0


Tags: git-lfs

github

permission

repository
Visualizing history in Source Tree
Asked by Oscar Alvarez _Alvargon_:

hi there, I have some problems with source tree, before I can create a branch an see it in the graph, but now all the branches are in the same place, master. What could be the problem? Maybe am I doing something wrong?

Look the img, 90% o fthe comits are branches:

![Captura.PNG](/t5/image/serverpage/image-id/15883iF6EDF6AF2B3F05BD/image-size/large?v=v2&px=999 "Captura.PNG")


Answers:
author: minnsey
body: Hi  

Have you made any commits to those branches? If not they will just appear as markers against the commit they were branched from.

comments: author: Oscar Alvarez _Alvargon_
body: I have 3 even 5 commits in some branches .


author: minnsey
body: if you run   

\>git log --graph  

what do you see?


author: Oscar Alvarez _Alvargon_
body: Hi, similar to the first imagen, only one line of commits and branches.


author: minnsey
body: OK, so Sourcetree is correctly reflecting the git view of the repository?  

Do you get any difference if you change the graph between data and ancestor order?


Tags: branch
Failed to Extract mcmw.zip
Asked by Yensid:

Often, when I start Source Tree, I get the error "Failed to extract file" for the file mcmw.zip. Based on other suggestions found on this forum, I've tried manually extracting the file but I'm still getting this error on a regular basis. When I receive the error, I shut down Source Tree, and start it up again and, usually, the error disappears.


Answers:
author: minnsey
body: There is a bug addressed in 2.5.0, which is currently going through beta testing, which means the process of installing the MCM runs more times than necessary, so that should improve you situation. Extract only usually fails if the target files are in use, do you use Mercurial and HTTPS urls?

comments: author: Yensid
body: I use Git not Mercurial and I do not use HTTPS URLs. I don't know what else would be using the files.
unstable jira links
Asked by Anna Radina:

Hi!  
I experienced some troubles with jira links on the confluence page.  
There is a table with links on jira tasks, and they are constantly refreshing. It means that the link changes its view from "https/...." to the name of the task EVERY second. The lenghts of link is changing, so is the size of each field in the table, everything is dancing and it is impossible to edit.  
I tried to clear browsing data (nothing), swithed browsers from Chrome to Edge (worked, but only for one week).  
Other users of this page dont have this problem.  
Maybe not related, but the "Inspect" section of the site shows numerous errors:  
- Failed to load resource: the server responded with a status of 409 ()  
- Uncaught (in promise) Error: Missing event.source  
at l (eventValidation.ts:80:11)  
at u (eventValidation.ts:101:3)  
at tn.sendTrackEvent (analyticsWebClient.ts:767:5)  
at analyticsListener.tsx:35:47


Answers:
author: Nic Brough -Adaptavist-
body: Hmm, Confluence does not have a refresh function like that, could it be a browser extension or an app you have added to Confluence?


Tags: cloud

confluence-cloud
Is there a way to create an event on a Confluence calendar when a Confiform form is approved?
Asked by Shevondalyn Robinson:

I want to build a form that the team will use for requesting time off. However, we already have a Confluence team calendar everyone uses to input their time off. The goal is to have the time off tracked in one place, but have the process automated with the request being the trigger.


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Shevondalyn Robinson](/t5/user/viewprofilepage/user-id/5267504) and welcome to this community

Unfortunately Confluence Calendars dont have the APIs... <https://jira.atlassian.com/browse/CONFSERVER-51696> :(

Alex


Tags: confiforms

confluence-server

server
Is Confluence vulnerable to the Apache Struts 2 CVE-2023-50164 ?
Asked by Justin Roysdon:

I see that in Confluence 8.0 you moved to Apache Struts 2.

Is Confluence vulnerable to this RCE and do you have a mitigation until you release a patch?

<https://www.cisa.gov/news-events/alerts/2023/12/12/apache-software-foundation-updates-struts-2>

<https://www.akamai.com/blog/security-research/apache-struts-cve-exploitation-attempts>

<https://nvd.nist.gov/vuln/detail/CVE-2023-50164>

Confluence moves to Struts 2 <https://confluence.atlassian.com/doc/struts-2-upgrade-1155473773.html>


Answers:
author: Justin Roysdon
body: <https://www.paloaltonetworks.com/blog/prisma-cloud/cve-2023-50164-custom-rules/>

More details.

Would be nice to see a public indication from Atlassian that they have confirmed Confluence is not vulnerable to this.

comments: author: Kensuke Karukomi _?? ??_
body: Agreed.

I'm annoyed with Confluence and CVE-2023-50164.

I asked Atlassian support to confirm whether CVE-2023-50164 affects to Confluence 8.7.1.   
The answer is: CVE-2023-50164 doesn't affect to Confluence 8.7.1.

<br />

However, there is no detail information and official statement about CVE-2023-50164 by Atlassian so far. Hence, it's difficult for me to explain this to Information Security dept.


author: Justin Roysdon
body: The affected version appears to be installed in the latest Confluence 8.4.14.

# find / -name \\\*struts\*.jar

/opt/atlassian/confluence/confluence/WEB-INF/lib/com.atlassian.struts2_struts-compat-6.2.0.jar

/opt/atlassian/confluence/confluence/WEB-INF/lib/com.atlassian.struts2_struts-support-3.0.1.jar

/opt/atlassian/confluence/confluence/WEB-INF/lib/org.apache.struts_struts2-core-6.3.0-atlassian-8.jar

/opt/atlassian/confluence/confluence/WEB-INF/lib/org.apache.struts_struts2-velocity-plugin-6.3.0-atlassian-8.jar

comments: author: Alex Medved _ConfiForms_
body: Not trying to tell that org.apache.struts_struts2-core-6.3.0-atlassian-8 includes a fix to CVE-2023-50164

But org.apache.struts_struts2-core-6.3.0-atlassian-8 is different to pure org.apache.struts_struts2-core-6.3.0

So, I guess only Atlassian team could confirm that

Alex


author: Justin Roysdon
body: They may have added some custom things to it. But that was released before this vulnerability was announced. So, I'm not super confident this has been patched.

There may be some other reason why it does not impact Confluence though.

Atlassian could confirm it. Or some other organization that has tried the Proof of Concept (PoC) against it.


author: Justin Roysdon
body: I wouldn't be surprised to see it in their next patch cycle Jan 4-6 ish.


author: Justin Roysdon
body: See here for move to Struts 2 <https://confluence.atlassian.com/doc/struts-2-upgrade-1155473773.html>


Tags: confluence-server

server
Confluence DC Full Summary
Asked by Alejandro Ontiveros Alquicira:

We are trying to get a full summary of our Confluence DC instance

Apps (Add-on) Usage

Pages and Child Pages names, usage, and macros in use

Is there a way to get that?


Answers:
author: Matt
body: Information on which macros are being used can be found via the "Macro Usage" report:  
**Administration \> General Configuration \> Macro Usage.**

For understanding app usage, that depends on what the apps do/provide. If the add-on provides new macros, that usage can also be found through the macro usage report. Outside of that, it really depends on what functionality the app provides to understand how it is used. To understand what apps are installed, you can view that through:  
**Administration \> General Configuration \> Manage apps.**

With regards to Page/Child-page names... and the macros used on each page. I'd recommend making use of the REST API and script some type of auditing to automate reporting to get the exact information you need; in the format you prefer. Other than that, there may be an app already available which can help with this.  
[https://marketplace.atlassian.com/search?category=Admin%20tools\&hosting=dataCenter\&product=confluenceAdmin tools apps \| Atlassian Marketplace](https://marketplace.atlassian.com/search?category=Admin%20tools&hosting=dataCenter&product=confluence)  


author: Andy Gladstone
body: [@Alejandro Ontiveros Alquicira](/t5/user/viewprofilepage/user-id/5389961) Welcome to the Atlassian Community. I'm sorry for the belated welcome message.

You have posted on the Questions for Confluence collection - which is specifically for the Atlassian owned App - Questions for Confluence. I'll move your post to the Confluence Questions collection where more eyes will be on it and you should receive the help you are looking for.

Good luck!

comments: author: Alejandro Ontiveros Alquicira
body: Thanks a lot [@Andy Gladstone](/t5/user/viewprofilepage/user-id/3498028)


Tags: questions-for-confluence

server