youngmon/atlassian-qna huggingface dataset:
SSL Error pull/push the repository code
Asked by paramvirsingh:

Hi,

I have been working in SourceTree for over a year now and never encountered this error:

When I try to Push/Pull any code change I get the following error (I have purposely oerwritten some text with 'xxxx' in the below url ):

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin  
fatal: unable to access 'https://paxxxxxh@bitbucket.org/wxxxxxs/bxxxxxtes.git/': SSL certificate problem: unable to get local issuer certificate  
Completed with errors, see above.

Could you please send the ca-bundel.crt or let us know how to generate one i.e. the possible solution. The whole team is impacted by the error.

Thanks


Answers:
author: Ana Retamal
body: Hi Paramvir! This issue has been documented in our knowledge base, can you follow [SSL certificate problem unable to get local issuer certificate](https://confluence.atlassian.com/bitbucketserverkb/ssl-certificate-problem-unable-to-get-local-issuer-certificate-816521128.html) and let us know if it worked for you?

Cheers,

Ana

comments: author: paramvirsingh
body: Thanks Ana for the quick reply.

I spoke to my Infrastructure team and they suggested that they do need the ca certificate from the provider (in this case BitBucket).

Regards,


author: Ana Retamal
body: Hi Paramvir, I've checked with the team and they confirmed that we don't provide these certificates. You will need to get it using the browser, as explained at [Resolving SSL self signed certificate errors](https://confluence.atlassian.com/sourcetreekb/resolving-ssl-self-signed-certificate-errors-284368425.html).

You can also refer to [Securing Bitbucket Server](https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-with-tomcat-using-ssl-776640127.html#SecuringBitbucketServerwithTomcatusingSSL-cacert) for instructions regarding the CA Certificate.

Let us know if there's anything else we can assist you with.

Hope that helps!

Ana
Can't install sourcetree
Asked by Vincent Christaldi:

downloaded your installer for sourcetree and when I try to open it i get an error that says windows cannot open the file. I scoured the internet and cannot fid any answers. I need this program for my current class in school. I opened your website, clicked download for windows. I did not change anything, not the name of the file or nothing. When it was completed I tried to install it and I get that error. When I choose the internet it brings up nothing that helps. When I choose on my computer, again nothing helps. I need this resolved ASAP. Please help me.


Answers:
author: Ana Retamal
body: Hi Vincent! You said you downloaded it on Windows, are you using Internet Explorer by any chance? We've seen cases were IE changes the name of the file (including the extension) and as a result, Windows can not execute it properly. The file you download should be a .exe.

Can you try using a different browser, like Chrome or Firefox for example, and let us know if you could proceed with the installation? :)

Regards,

Ana
Number of pulls/pushes never showing for repo
Asked by indextwo:

I currently have four separate repos, and three of them are behaving in Sourcetree as expected, but one is not, and it's causing a lot of confusion.

I created a local repo while waiting for the BitBucket account to be set up. Once that was done, a couple of days later, I hooked my repo up to the remote account. Everything works and I can push \& pull without issue... however, the numbers for pushes and pulls never, ever display (by this, I mean the numbers that appears as notifications next to the buttons, or alongside the branch names). No matter how many commits, fetches or branch merges I do, those numbers never, ever display. It's getting really confusing because I'm almost daily having to do a blind pull just in case there's anything on the remote; and I keep losing track of how many commits I have locally that have yet to be pushed, and to which branch.

Any ideas on how to rectify this?


Answers:
author: indextwo
body: **Resolved.** It turns out that, unless the name of the remote source was 'origin', then it would fetch, push, pull and pull without issue, but never show any pending numbers. I had to change the name of the remote and then do a fetch, and that seems to have solved it.

comments: author: minnsey
body: Thanks for letting us know.


author: minnsey
body: Hi,  

I've not seen this behaviour. Is there anything different about this repo?  

HTTP vs SSH for the url?  
Private vs public?  
etc

comments: author: indextwo
body: The only thing that's different is that I created it as a local repo initially and did some local commits while I was waiting for the BitBucket repo to be created. Then I added the remote repo after the fact. Other than that, it's identical to all other repos that work fine (all BitBucket, on the same account, private repos).

The only thing I've noticed that was different is the remote name, which was something custom. I've now just checked 'default remote', but it hasn't made an initial difference.


Tags: bitbucket
Can't Install SourceTree on Windows 7 (LogIn Error)
Asked by Mirabeau:

Hi !  
(Sorry for my bad english)

<br />

i would like to use **bitbucket.org**, so i create a account with my address Email  
I can access to the dashboard etc...  

Next !  

I download the tools from [**sourcetreeapp.com**](https://www.sourcetreeapp.com/) and try to install it.  
*(I'm under Windows 7 64bits whitout Any problem at all)*   
The problem come in... from the install  

++On the screen install i have 2 choices:++   
1/ Use a existing account  
2/ Go to "My Atlassian"  

When i try **"2/"** i go to a page where i see a Licence Number with my address Email use to create the account on "*bitbucket.org*"  

When i try **"1/"** and entered the ++same++ Email / Password from *"bitbucket.org"* the application answer me "*Oops, you've made a malformed request*"  
Hups !  

So, i try to Log In ++directly++ to "**[www.atlassian.com](http://www.atlassian.com)** " with ++same++ Email / Password... and i can log in !! i got well my profile account (use it to write this post).  

I try to reset my password, receive a email, and change password.  
But on the ++install screen++ i always get the same message error.  

*To Resume...*   
- With the ++same++ Email / Password++i can LogIn++ on "[www.atlassian.com](http://www.atlassian.com)" and on "bitbucket.org"

- With the ++same++ Email / Password on installation of "Source Tree" ++i can access++ to "My Atlassian" Licence PageWeb,

-With the ++same++ Email / Password **++i CAN't login++** to my account from the install software "SourceTree" -\> "*Oops, you've made a malformed request*"

<br />

So, No i don't make a "*Malformed Request*", i only want to install a "simple" software  

And Now.. what can/must i do more ?!

Thank's


Answers:
author: Mirabeau
body: Do not bother giving me a hand ...  
I read a lot about the problems (random or not) of use on different services of Atlassian, and I think it is better (for my part) to turn to something else.

**++Note to Atlassian Managers++** *(if you read...)* **++:++** Installing a Tool is the first "contact" with a new service.  
If from the beginning, problems arise, it is not a good signal for the minimum confidence necessary to the discovery of your services.

**I can not engage my company** in an adventure that starts so badly.

Good luck !
SourceTree requires login for every pull and commit
Asked by murphytrueman:

Any time I go to pull, push, or commit in SourceTree, it fails. I end up having to go into preferences, and reconnecting my account, even though I've never logged out or disconnected.

Noone else in the office has these issues and we all have the same Auth Type, settings etc.

It probably wouldn't bother me too much, but because I swap between 10+ repos each day, it kind of adds up.

Does anyone have a fix?

Running the latest version of ST and on Mac OS Sierra 10.12.6 if that matters?

![Screen Shot 2017-11-23 at 1.08.34 pm.png](/t5/image/serverpage/image-id/9907iFBD59E9CFAA031A8/image-size/large?v=v2&px=999 "Screen Shot 2017-11-23 at 1.08.34 pm.png")


Answers:
author: Manju
body: Can you please remove the account once, remove any items written by sourcetree in keychain and then add the account afresh?

This gets rid of any duplicate keychain items you may have and fixes the issue 9 out of 10 times.

Thanks,  
Manjunath  
Sourcetree Mac Developer

comments: author: murphytrueman
body: It didn't seem to fix anything unfortunately. I'm not sure what it could be.
Sourcetree crash after upgrade to 2.3.5
Asked by Sandeep:

After i upgraded my source tree it goes on to setup screen and after finishing it it just pops up a BugSplat screeen asking me to send the crash report.

I re-installed multiple times wiping off the old installation but no help. If I go back to an older version say 2.2.5 then it works fine.


Answers:
author: Ana Retamal
body: Hi Sandeep, have you tried a clean install already? You can do that following the steps:

1. [Wipe Sourcetree preference](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html)s.
2. Uninstall Sourcetree (if it shows on the App\&Features list)
3. Backup then delete the directory below before proceeding with next step:
   * Navigate to *C:\\Users\\\<UserName\>\\AppData\\Local* and delete *Sourcetree* \& *Sourcetree-Settings* folder
   * Navigate to *C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian* and delete all *Sourcetree Files/*folder.

4. [Download SourceTree](https://www.sourcetreeapp.com/) and install it.

When you get the crash report, do you get any error message? If so, can you send us a screenshot?

Have you checked the logs for possible errors? On Windows, the SourceTree log file is located at `C:\Users\<username>\AppData\Local\Atlassian\SourceTree\sourcetree.log. Note that the` `AppData` folder is hidden by default on *Windows Explorer*.

Let us know!

Ana

comments: author: Sandeep
body: Thanks. WIping the source tree preferences and re-installing helped


author: Ana Retamal
body: Glad to hear that Sandeep :)

Have a good day!

Ana


Tags: windows
Source tree .gitignore to ignore everything but specific directories
Asked by David:

I've seen many examples and they pretty much say the same but for some reason I cannot get it to work using SourceTree.

My folder structure shown below, i want to ignore everything except for folder3 and all it's content, folder2_3_2_1 all it's content and the .ignore file.

> folder1  
> *++folder2++* folder2_1  
> folder2_2  
> *++folder2_3++*   
> folder2_3_1  
> ++*folder2_3_2*++   
> **folder2_3_2_1**   
> **someOtherFile1.php**   
> **someOtherFile12php**   
> **someNewFolder**   
> folder2_3_3  
> folder2_4  
> **folder3**   
> **.ignore**   
> somefile.php  
> somefile2.php

in my .ignore I have the following

```
# Ignore everything
/*

#except for
!.gitignore
!folder3/
!folder2/folder2_3/folder2_3_2/
```

Strange thing is, if I don't ignore anything and I'm able to see all my files in my unstaged files panel, if I right click and ignore someOtherFile.php and select the option to ignore everything beneath, it does the opposite, it ignores it's folder (i.e. folder2_3_2_1) and everything within!

Sourcetree V 2.3.1.0

Thank you in advance


Answers:
author: Ana Retamal
body: Hi David! It looks like you're using the wrong name for the file, it should be called .gitignore not .ignore. Can you fix that and try:

```
# Ignore everything
/*

# Except for
!.gitignore
!folder3/
!folder2/folder2_3/folder2_3_2/*
```

Apart from that, keep in mind that `.gitignore` will prevent untracked files from being added, however git will continue to track any files that are already being tracked. This means, if the files were tracked before, they will continue to be tracked even though you added them now to the .gitignore. To stop tracking a file you need to remove it from the index, you can achieve this with the command:

    git rm --cached <file>

The removal of the file from the head revision will happen on the next commit.

Lastly, you can try all of this directly in the terminal instead of Sourcetree, so we can determine wether this is some kind of issue in Sourcetree, or the problem is somewhere else :)

Let us know if this helps!

Cheers,

Ana
Source tree licencing
Asked by La Boumerde:

Hi,

I work as a consultant for a corporation which is an atlassian customer (jira, bitbucket, confluence).

I read on atlassian website that sourcetree is free on windows and mac platform. Great news !

But when installing sourcetree and registering with this corporation email, a test licence is given. I don't understand why, as the software is free (as in free beer) and the corporation is an atlassian customer.

The question : what do I have to do to use sourcetree when registering to atlassian with this corporation email address ?

Regards


Answers:
author: Ana Retamal
body: Hi! Sourcetree has been free for a while so it shouldn't be asking you for a license :) Are you downloading it from [our website](https://www.sourcetreeapp.com/)?

Can you let us know which OS version are you using and send us a screenshot when you're asked for the license?

Cheers!

Ana

comments: author: La Boumerde
body: * Download : from your website
* OS : windows 2k7
* Screenshot : I'll send it directly to you (confidential information). Can I have your professional email address ?


author: Ana Retamal
body: Hi! I've talked the developers and they told me that was used for the previous versions, it has no functional use anymore and is not required for installation. Since 1.7, the license is no longer necessary so you can just ignore it. At the moment we're only using that redirection to determine if an Atlassian account owner is a Sourcetree user, and it will be removed soon.

Sorry for the confusion!

Best regards :)

Ana
File status on dark theme is white so it breaks the dark theme experience
Asked by castus:

The white area covers much of the screen and it doesn't play well with dark theme. In my opinion it should be dark with little white details.

Please make this screen in dark theme too :)

![Screen Shot 2017-11-22 at 13.24.35.png](/t5/image/serverpage/image-id/9877i965FE448397606E6/image-size/large?v=v2&px=999 "Screen Shot 2017-11-22 at 13.24.35.png")


Answers:
author: bgannin
body: This is a known bug on High Sierra which we'll address in a future compatibility update for that OS.

Brian Ganninger  
Senior Mac Developer, Sourcetree
can't install sourcetree
Asked by Trung V?:

![error.PNG](/t5/image/serverpage/image-id/9834i0D522469956F8CD1/image-size/large?v=v2&px=999 "error.PNG")

win7/64bit


Answers:
author: minnsey
body: Hi  

Can you try the following:  

Workaround

At a minimum IE needs to be configured as follows:  
- Cog/Internet options/Security settings need to be enabled  
- Misc/Access data sources across domains  
- Misc/Allow META-REFRESH  
- Scripting/Active Scripting  
- The browser mode set to 10  
- The document mode set to 10  
These can be set using the F12 developer tools.  
Those are the settings that matter. It should also be able to set them indirectly by:  
- making sure <https://id.atlassian.com> is NOT set to be rendered in Compatibility Mode  
- Set Cog/Internet options/Security to Medium-High
Sourcetree installation not working
Asked by Kiran Barik:

Log in with Atlassian account

We tried to load scripts but something went wrong.

Please make sure that your network settings allow you to download scripts from the following domain:

**<https://common-admin-cdn.atlassian.com/atlassian-id/front-end/2.1.3>**


Answers:
author: minnsey
body: Hi  

Were you able to complete you registration?  

If not please try the following:  

Workaround

At a minimum IE needs to be configured as follows:  
- Cog/Internet options/Security settings need to be enabled  
- Misc/Access data sources across domains  
- Misc/Allow META-REFRESH  
- Scripting/Active Scripting  
- The browser mode set to 10  
- The document mode set to 10  
These can be set using the F12 developer tools.  
Those are the settings that matter. It should also be able to set them indirectly by:  
- making sure <https://id.atlassian.com> is NOT set to be rendered in Compatibility Mode  
- Set Cog/Internet options/Security to Medium-High

comments: author: BrunoSaraiva
body: Came to this thread after facing the exact same problem.

The answer above implies that the PC have Internet Explorer.

Our company's PC do NOT have IE installed in our Windows machines. Is that a requirement for using SourceTree?


author: minnsey
body: We are actively investigating into this area but for current releases, yes IE is a requirement.  

The WPF webview component in use in Sourcetree relies on IE.  


author: BrunoSaraiva
body: Thanks Michael,

I eventually created a new post specifically asking about IE as a requirement, and marked the reply there as accepted.

However, allow me to share the thought that "it gets worse than this": I ended up installing IE just to use SourceTree, much to my dislike...

If you follow the sign-in process, being IE a browser that has never been used in this PC, Google prompts the user to enter not only the email, but next the Google password. There is ZERO visual notice that one is actually in a secure Google site - that window could be anything fishing for one's gmail pwd!

I won't question Atlassian's integrity, I'm sure the page I see there is Google's - but in a word of digital threats, it would be much safer to stop the process and give up (again) on SourceTree.

Just trying to help with a feedback.

Regards

Bruno


author: minnsey
body: Thanks for the additional feedback, this is an area we are actively looking at currently.
SourceTree Installer Hanging on Login
Asked by Jamie Cox:

I have been trying to re-install ANY version of SourceTree after having issues with an old install. Everytime I reach the Atlassian Account portion of the install process and enter my login details, the installer hangs and the circular progress bar continuously spins and I am stuck on the screen in the image below. ![Hanging Login.PNG](/t5/image/serverpage/image-id/9818i7B0598F1A9BB2C39/image-size/large?v=v2&px=999 "Hanging Login.PNG")


Answers:
author: ashwin iyer
body: ++Hey Jamie-

1)Please do a full unstall of the entire software

2)Remove all the files under (folder Sourcetree)

C:\\Users\\\<username\>\\AppData\\Local

3)Do a fresh install again of the latest version

Hope that helps-Thx

Ash


Tags: install

login
Latest Git is not getting extracted
Asked by ashwin iyer:

Hi

Post downloading the latest installer for sourcetree software.exe(2.3.5.0) and installing it

Post registration step, the Git is not getting installed when i try getting it enabled from

Tools\>options\>Git\>Enable Git Support ( i get the below error)

Unable to extract C:\\Users\\username\\Appdata\\Local\\Atlassian\\SourceTree\\PortableGit.7z  
System.Net.WebException: Unable to connect to the remote server  
System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond XXX.XXX.XXX


Answers:
author: minnsey
body: Do you have a proxy/firewall in place?  

If you manually install Git from <https://git-scm.com> and run Sourcetree it should find the version of Git installed on your OS.
How can I see all active blogs on our site?
Asked by Wendy Emerman:

I am looking to publish a list of blogs across our site that interested users can follow (WATCH).


Answers:
author: Laurie Sciutti
body: Hi [@Wendy Emerman](/t5/user/viewprofilepage/user-id/323800) \~ try inserting the Blog Posts macro on your page and remove the "Restrict to these Spaces" entries to include all Blog Posts across the entire site. You can also remove the Labels restrictions, if applicable. HTH

![Snag_f111516.png](https://community.atlassian.com/t5/image/serverpage/image-id/295263i07DA15B8BF25F971/image-size/large?v=v2&px=999 "Snag_f111516.png")


Tags: cloud

confluence-cloud
Pervious published versions have disappeared.. Draft history is visible but the published is gone!
Asked by Erin Naismith:

We have a Page which was Originally created and first published more than 2 years ago.

The record in the **draft** version of the document activity is visible, however all history from the published version has disappeared. The version number is 1, and it should be 5. The Version 1 which I can see in the Published, is the same as our Draft Version 67 which means it is the result of the same draft, or produced from the same draft, and yet the history is just gone. Also Document activity in the published is gone. Any Idea what has happened and if there is a way to fix it?

Best, and Thanks in advance!

Erin


Answers:
author: Marc - Devoteam
body: Hi [@Erin Naismith](/t5/user/viewprofilepage/user-id/5242033)

I suggest to reach out to Atlassian Support.

They are able to check you instance and see logging.

comments: author: Erin Naismith
body: Thank you!


Tags: cloud

confluence-cloud
I am unable to access the link for the documents. It is asking me to contact my administrator.
Asked by Chhaya Patel:

I get an error message asking to contact my administrator when I click on the link to access the documents on Confluence.


Answers:
author: Brant Schroeder
body: [@Chhaya Patel](/t5/user/viewprofilepage/user-id/5375485) Welcome to the Atlassian community

There are a couple of things that could cause this. Most likely the issues is that the document resides on a page or space that you do not have access to. I would suggest working with your admin to see where the document resides and confirm that you have access to it.

comments: author: Brant Schroeder
body: [@Chhaya Patel](/t5/user/viewprofilepage/user-id/5375485) if this was helpful can you please accept?


Tags: cloud

confluence-cloud
Do restricted pages show up in the menu?
Asked by Susan Bohanon:

If you restrict a page from a certain group of users does the page still show in the menu? Are they still able to see a page exists, just not able to access it? Or are restricted pages hidden from menu views?


Answers:
author: Laurie Sciutti
body: Hi [@Susan Bohanon](/t5/user/viewprofilepage/user-id/5375480) and welcome to the Community! Not sure what menu you are referring to but restricting access should restrict everywhere.

comments: author: Susan Bohanon
body: Thanks [@Laurie Sciutti](/t5/user/viewprofilepage/user-id/1137433) ! Yes, I said "menu", but really meant the side navigation.


Tags: cloud

confluence-cloud
Not able to load data from confluence
Asked by Arnav Sharma:

ERROR:atlassian.confluence:'message'  

Code:  
os.environ\["CONFLUENCE_API_TOKEN"\]="api"  
os.environ\["CONFLUENCE_PASSWORD"\]="pass"  
os.environ\["CONFLUENCE_USERNAME"\]="use"

base_url = "<https://hi.atlassian.net/wiki>"  
space_key = "\~space_key"

reader = ConfluenceReader(base_url=base_url)  
documents = reader.load_data(space_key=space_key, include_attachments=True)


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Arnav Sharma](/t5/user/viewprofilepage/user-id/5375346) and welcome,

please could you provide us more information about context, scenario and your question?

Fabio


Tags: unknown-hosting-type
Communal as default filter for Spaces
Asked by Martin Fruensgaard:

Hi all,  
Is there a way to make it so that the Space filter is set to Communal per default? I need for my coworkers to be able to see the list of spaces without all the personal spaces. I have already turned off the creation of personal spaces for when new users are created.


Answers:
author: Brant Schroeder
body: [@Martin Fruensgaard](/t5/user/viewprofilepage/user-id/5375324) Welcome to the Atlassian community

Personal spaces should only be visible to the user who's space that is or administrators by default. Did you change permissions on personal spaces so they show for everyone?


Tags: cloud

confluence-cloud