youngmon/atlassian-qna huggingface dataset:
Windows Runners very slow
Asked by Poat:

We're really grateful for Windows Runners since it's solved our on premise deployment issue. Also it's allowed us to finally build / deploy some older .NET Framework projects that aren't dockerized.

My only issue is that it seems the runner isn't too reliable. Or it could be our CI/CD server - I'm just not sure how to tell. Issues I see randomly through the day

* some star network error in the pipelines saying it can't communicate to the runner
* the runners just super slow to start up
* new pipelines waiting in Queue for a long time when nothing else is building
* sometimes there will be super large time gaps in between steps - but the step still says it's fast
  * i.e step takes 10-15 minutes to complete an "echo" but once it completes it says 3s

I just restarted the CI/CD server and it takes several minutes to do it's first heartbeat

```
[2022-04-29 18:01:27,936] Runner version: 1.313
[2022-04-29 18:01:28,195] Runner runtime: windows-powershell
[2022-04-29 18:03:33,624] Starting websocket listening to RUNNER_UPDATED events.
[2022-04-29 18:03:56,263] Updating runner status to "ONLINE" and checking for new steps assigned to the runner after 0 seconds and then every 30 seconds.
[2022-04-29 18:04:22,110] Updating runner state to "ONLINE".
[2022-04-29 18:04:44,136] Updating runner state to "ONLINE".
[2022-04-29 18:04:45,715] An error occurred whilst updating runner state to "ONLINE".
com.atlassian.pipelines.stargate.client.core.exceptions.StargateConflictException: Response Summary: HttpResponseSummary{httpStatusCode=409, httpStatusMessage=Conflict, bodyAsString={"key":"agent-service.runner.conflict","message":"Simultaneous state updates were attempted for runner with id: {1ff233e2-333a-5921-a31b-00b7ac6cfbf3}","arguments":{}}}
```

I just deployed the same project twice and it took 28m the second time vs 1m the time before. here's a project using runner's durations for a few deploys - about 1-2m is what I'm expecting

* 28m 36s
* 1m 32s
* 3m 30s
* 1m 42s
* 7m 3s


Answers:
author: Theodora Boudale
body: Hi [@Poat](/t5/user/viewprofilepage/user-id/4191888),

I would suggest creating a ticket with the support team so we can check both the logs of the runners and also of the builds in question, otherwise, it's hard to troubleshoot this.

You can create a ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.

You can copy-paste the information from your post in the ticket description, and also please add the URL of the builds (the one that took \~1 min and the other one that took 28 minutes).

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-runners

cloud
What does the Workspace privacy setting offer?
Asked by MikeH:

Hello,

New to Bitbucket admin, which I have been tasked with looking at. I have question about the privacy setting for a workspace, what does it do beyond the privacy settings for the project and the repository?

If we have set the project and/or repo as private do we need to set the workspace that contains them as private also, if we don't I presume our workspace is publicly visible all the content within is not?

In Bitbucket cloud is there any issues to setting the workspace to private, all required users have been assigned to the workspace with appropriate privileges?

Thanks


Answers:
author: Theodora Boudale
body: Hi [@MikeH](/t5/user/viewprofilepage/user-id/4807575) and welcome to the community.

If the workspace privacy setting is unchecked, then someone who visits the workspace URL will be able to via a list of all public repos and public projects of this workspace, and also any public snippets.

If you don't have any public repos, projects, and snippets, a user with no access will see an empty list.  
When the workspace is set to private, a user with no access will not be able to view even that empty list of repos/projects/snippets.

If all repos, projects, and snippets are private it won't make any difference, but you can still set the workspace to private just in case someone accidentally creates a public repo, project, or snippet so that it won't be visible to someone by visiting your workspace URL.

The access you have granted to users is not affected by that setting.

Kind regards,  
Theodora

comments: author: MikeH
body: Thank you for taking the time to respond Theodora, much appreciated


Tags: bitbucket-cloud

cloud

privacy

private

workspace
Send an email to Jira's email from an application
Asked by javier:

Hi,

I need to send an email to jira's email to create a ticket in the panel from an application that I am doing.

Can I do that? any documentation to have a look?

Thanks


Answers:
author: Craig Nodwell
body: Hi [@jg](/t5/user/viewprofilepage/user-id/4889010) have a look at Issue Collectors.  

[Jira Cloud use-the-issue-collector](https://support.atlassian.com/jira-cloud-administration/docs/use-the-issue-collector/)

[Jira Server / Data Center using-the-issue-collector](https://confluence.atlassian.com/adminjiraserver/using-the-issue-collector-938847338.html)   

Here's the doc's on creating issues from emails.  
[jira-cloud create-issues-and-comments-from-email](https://support.atlassian.com/jira-cloud-administration/docs/create-issues-and-comments-from-email/)

[Jira Server / Data Center creating-issues-and-comments-from-email](https://confluence.atlassian.com/adminjiraserver/creating-issues-and-comments-from-email-938847641.html)

And there's this post from the community with a great answer from [@Paloma Fondon Araujo](/t5/user/viewprofilepage/user-id/1167919) for reference:  
[Jira-Software-questions Creating-jira-tickets-via-email](https://community.atlassian.com/t5/Jira-Software-questions/Creating-jira-tickets-via-email/qaq-p/1769735)

Hope this helps

comments: author: javier
body: Thanks Graig.


Tags: bitbucket-server

jira

server
EOF Error while uploading commit with bigger files
Asked by Daniel Scherer:

Hey,

in a project we have a Patcher System which creats builds, patches etc.  
For better use I decided to zip the builds, patches etc. These zip files are 2-5 gig in size and will get bigger in the future.

I created commits and uploaded with no real issues. Sometimes I have to push again but in total it uploaded the commit with the bigger files.

Last week I was not able to upload those commits anymore. After some seconds (ca. 30) the upload stops with EOF error. I tried on different days and times (because e.g. friday afternoon the server seem to be very busy) but I'm not able to push such large commits anymore .

I'm using SourceTree and we have a paid workspace with lfs and the zip is in the .gitattributes.  
Has something changed? So that you can only upload till a specific commit/file size?

The SourceTree Error message is following:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c lfs.customtransfer.bitbucket-media-api.path=git-lfs-bitbucket-media-api push -v --tags origin master:master  
Pushing to bitbucket.org:WORKSPACENAME/REPOSITORYNAME.git  
Uploading LFS objects: 50% (1/2), 2.3 GB \| 132 MB/s, done.  
EOF  
error: failed to push some refs to 'bitbucket.org:WORKSPACENAME/REPOSITORYNAME.git'  
Completed with errors, see above.

Thanks for help in advance.  
Cheers

Dans


Answers:
author: Daniel Scherer
body: As a short note:  
I have seen the post "Git push size limits are coming...." [Git-push-size-limits-are-coming-to-Bitbucket-Cloud-starting](https://community.atlassian.com/t5/Bitbucket-articles/Git-push-size-limits-are-coming-to-Bitbucket-Cloud-starting/ba-p/1987977)

But it should not prevent me from uploading via LFS. Also tried the 'git count-objects -vH' command, this is the result:  
$ git count-objects -vH  
count: 691  
size: 3.09 MiB  
in-pack: 9  
packs: 1  
size-pack: 5.24 KiB  
prune-packable: 0  
garbage: 0  
size-garbage: 0 bytes


Tags: bitbucket-cloud

cloud

sourcetree
Repositories missing
Asked by gary schaetz:

I had some repos under the bitbucket account \<username_removed\> and i can't find them after the migration happened to Atlassian login. I wasn't using the email login before but had \<email_removed\> as the email. Any way they are still there just not showing?


Answers:
author: Theodora Boudale
body: Hi Gary,

The Bitbucket account with the username you mentioned is a new account, it was created only a few days ago. The email you mentioned is an alias to this account (please note that login is only possible with the primary email now, and not with any of the aliases).

Is it possible that you had another Bitbucket account with a different (but similar) username?

My suggestion would be to try logging in to <https://bitbucket.org/> with any of the other email addresses you own and see if that gives you access to the account you are looking for. If you get asked to create a username when you try to log in with a certain email, this means that there is no account with that email as a primary, so you can skip the process for that email.

Just a heads up, I removed the username and email from your post to protect your privacy.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
NOt able to login
Asked by Raghavendra:

Hi Team,

i have for get my email and password but know the repository url, please help out of it repository url : \<url_removed\>

Thanks.


Answers:
author: Theodora Boudale
body: Hi Raghavendra,

Due to our privacy policy, we cannot disclose the email of a Bitbucket account when a user reaches out to us with an email not associated with said account.

My suggestion would be to try logging in to <https://bitbucket.org/> with any of the other email addresses you own and see if that gives you access to the account you are looking for. You can request a password reset email for a certain email address via this link: <https://id.atlassian.com/login/resetpassword>

If you get asked to create a username when you try to log in with a certain email, this means that there is no account with that email as a primary, so you can skip the process for that email.

Just a heads up, I removed the URL from your post to comply with our privacy policy.

Kind regards,  
Theodora


author: Fabio Racobaldo _Herzum_
body: Hi [@Raghavendra](/t5/user/viewprofilepage/user-id/4902153) ,

welcome to the atlassian community!

You need to ask to your Site Manager. He should be able to reset your account password <https://support.atlassian.com/user-management/docs/make-changes-to-a-managed-user-account/>

Hope this helps,

Fabio


Tags: bitbucket-cloud
Enable automatic merging
Asked by Ashish Sharma:

I have set up the merge checks, and they are passed. But auto-merge is still not working. Please help me to solve this issue.

Thanks,

Ashish


Answers:
author: Ozan Hazer
body: This feature rarely works. Most of the time, the schedule merge button does not appear at all...

There's a related bug: <https://jira.atlassian.com/browse/BCLOUD-22882>

comments: author: Theodora Boudale
body: Hi Ozan,

Thank you for reaching out.

The bug you linked occurs when automatic merge has been configured in a Project's branch restrictions (the Bitbucket Project where one or multiple repos belong) instead of a repo's branch restrictions. I have added details in the bug report on how to add a branch restriction to a repo instead.

There is also another bug where automatic merge does not work if the source branch's commit is associated with multiple builds: <https://jira.atlassian.com/browse/BCLOUD-22828>

If your branch restriction is set up on repository settings (and not on project settings), and if your use case is not the same as the scond bug I linked, you can reach out to the support team to look into your issue.

You can create a ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.

Kind regards,  
Theodora


author: Theodora Boudale
body: Hi Ashish,

I believe that you are referring to the feature mentioned in this blog post?

* <https://bitbucket.org/blog/automatic-merging-when-builds-pass>

Could you please confirm the following:

**1.** Have you set up the branch permission for the destination branch of your PR?

**2.** In this branch permission, have you checked both options

- Check the last commit for at least X successful build and no failed builds  
- Allow automatic merge when builds pass

**3.** Have you selected any additional options in the branch permissions, and if so, which ones?

**4.** Have you selected the **Merge** option in the Pull Request? You still need to select Merge in the Pull Request, so that the automatic merge will happen when builds pass.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Upgraded from git 2.33 to 2.36 and now can't access repos
Asked by Vince:

I upgraded from git 2.33 to 2.36.0.windows.1 today, and suddenly I'm unable to clone or pull from BitBucket. I get the following error:

git@"domain": Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists

I have found several solutions online (including these forums) and no luck so far. I've recreated SSH keys, made sure they are in my ssh-add/uploaded to BitBucket, etc. Still, no luck. It worked fine immediately before I did the git upgrade.

Has anyone experienced this with the upgrade to 2.36 or have other suggestions on how to get this to work?


Answers:
author: Divakar
body: The problem is with ssh keys.

Git 2.33 and above, rsa keys are disabled by default.

You need to use `ed25519. You need to generate ssh key usinng `

**`ssh``-keygen -t`` ed25519`**

It will solve the problem


author: Tom Schleyer
body: I have experienced this after upgrading to Git 2.36.0 and using Bitbucket 7.17.1. I was not able to resolve the issue but, upgrading Bitbucket to 7.21.2 fixed it.


Tags: bitbucket-server

server
Why is my Resolve Conflict option grayed out
Asked by Yueh:

I am trying to push my code into my created branch. Before doing "Push changes immediately to origin/freature/xxx", I think I need to "Resolve Conflicts" by using such as "Using theirs" or "Using mine". But all these options are grayed out when I right-clicked the file and tried to do Resolve Conflicts option.

Can you shed some light?


Answers:
author: Seth
body: Resolve conflicts is only used in one situation: You've performed a merge, and SourceTree has notified you that conflicts arose during the merge that couldn't be resolved automatically. A conflict is usually a situation where the same portion of a file was edited differently in the two branches that are being merged.

What makes you think you need to be resolving conflicts?

comments: author: Yueh
body: Seth,

Thank you for your answers.

I am fresh to the SourceTree and using the version control software such as GIT.

My original plan was to send out "Pull Request" but curious about how to resolve conflicts. Now, it seems that I should worry about "Resolve Conflicts" when I try to merge my modified code into the "master".

So, now I guess my question has been changed to "how to merge the master code into my modified code in the sourcetree then I can resolve the conflicts"?

Thanks, again!


author: Seth
body: If you are new to Git, you should read relevant portions of the Git Book: <https://git-scm.com/book>

I recommend you focus on 1.1 through 1.3, and chapters 2 and 3. Once you understand the basics of how git works, the SourceTree UI is very easy to use.
Unable to get Source Tree to ignore some folder hierarchies
Asked by Don Clark:

My .gitignore file, in a project file, contains /Carthage/Checkouts/, but Source Tree won't ignore the folder hierarchy that exists in that project folder at Carthage/Checkouts. I've also tried:

Carthage/Checkouts/

/Carthage/Checkouts/\*

/Carthage/Checkouts/\*\*

None of these cause Source Tree to ignore that folder hierarchy. What is the magic syntax that I'm missing?


Answers:
author: Seth
body: Are there files in that folder that have already been committed to Git? If so, you need to "remove" them from Git before they can be ignored.

comments: author: Tim Crall
body: Yeah, that's my first thought as well

Use

```
git rm --cached &lt;filename&gt;
```

to remove a file from the repo without deleting it from your working directory.


author: Tim Crall
body: Once you've done that, any one of your examples should work
How do I pull a single file from repository and not the whole repository using SourceTree?
Asked by David Berry:

I have a fairly large repository that I am working with and I would like to pull just a single file from the repository and not the full repository itself. I did not know if this was possible using SourceTree.


Answers:
author: Seth
body: Not that I know of. GUIs like SourceTree that wrap command line utilities aren't typically designed to enable you to do everything you might ever want to do. Just pop open the terminal and run a command for something like that.

comments: author: Johannes Kilian
body: You're right - SourceTree does NOT support this,


author: Johannes Kilian
body: You can not do this with Sourcetree but with git commandline, using the command *git archive.*   

To be able to use *git archive* your repository server needs to support this as well, Using Bitbucket Server as repository host, you need to have installed the plugin <https://marketplace.atlassian.com/plugins/com.atlassian.stash.plugin.stash-archive/server/overview> on your Bitbucket server.  

Having installed this plugin on your Bitbucket server, you are able to retrieve a single file:  

*git archive --remote <ssh://git@bitbucket.vitronic.de:7999/bma/uploadadditional.git> HEAD [README.md](http://README.md)*   

The main restriction is you have to use the SSH-Protocol with this (no HTTP-Protocol support)
Can I download SourceTree for MacOS 10.9?
Asked by Valentino Zocca:

I would like to install SourceTree without upgrading my Mac. I am currently running MacOS 10.9, but your latest product requires MacOS 10.10. Is there an older version I can download?


Answers:
author: 105349
body: Hey Valentino!

Just a cursory search brought up this issue:

<https://jira.atlassian.com/browse/SRCTREE-3437>

With these download links for v2.1:

Windows: <https://t.co/j0tSDPZEmC>  
Mac: <https://t.co/kkmVfvKMxA>

Good luck!
Folders are gone from Staging?
Asked by Thomas Estess:

Finally updated SourceTree and now I don't have the option to Commit an entire folder. All I see now are all of my files without their visual structure, Am I missing a setting somewhere?


Answers:
author: Seth
body: Atlassian removed the Tree View from version 1.8. It had been causing lots of performance issues, so they decided to disable it completely until they get around to resolving the performance problems.

Follow progress here: <https://jira.atlassian.com/browse/SRCTREEWIN-4690>

Please vote it up if you want tree view back. Please do not comment on it unless you have something to add that helps developers identify what the performance problem might be ("I'm downgrading" - useless; "Tree view only performed badly for me in my repository that was 10 levels deep" - useful)
Why am I getting an error dialog box asking, "Are you sure you want to cancel SourceTree installation?"
Asked by Full name:

I'm trying to install the latest version of SourceTree for Windows, version 1.8.3.

But I keep getting an error dialog box asking, "Are you sure you want to cancel SourceTree installation?"


Answers:
author: Full name
body: No. Apparently Windows Vista isn't supported by SourceTree.


author: Paresh
body: Same with me. Were you able to install?


Tags: install

windows
How to set the default clone folder?
Asked by Mark Koetse:

When I try to clone a new repo that I have saved online, by default it tries to put it into my Documents folder, and I would rather it put it into another folder, say one called Projects. Is there a way to set this somehow?


Answers:
author: Tim Crall
body: On Mac, setting the "Project folder" on the SourceTree-\>Preferences-\>General tab seems to work.

Screen Shot 2016-05-06 at 10.30.19 AM.png

On Windows, the same setting is Tools-\>Options-\>General  
[](https://community.atlassian.com/t5/Sourcetree-questions/How-to-set-the-default-clone-folder/qaq-p/176629?attachment-id=5540){#link_11692d0e7acd76}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/5189/1/Screen%20Shot%202016-05-06%20at%2010.30.19%20AM.png){#display_11692d0e7acd76_0}

comments: author: Seth
body: Good find. Deleted my own, incorrect answer.
Sourcetree will not refresh after git pull, stage/unstage files
Asked by Bhupendra Mishra:

Recently I upgraded to Sourcetree 1.8.3 for windows. I am using windows 7 with decent hardware. Earlier I was using sourcetree 1.6 and it was fine. With latest update, sourcetree will not refresh after git pull has been completed, or if I have staged files or unstage files. If I restart sourcetree, it updates the screen.


Answers:
author: Seth
body: I don't know why that's happening, but others have reported similar refresh issues. You might search jira.atlassian.com for related bug reports.

In the meantime, a much easier workaround is to hit F5 to force SourceTree to refresh (instead of restarting the software).

comments: author: Bhupendra Mishra
body: I have tried refresh from menu and using F5. Both doesn't not seem to be doing the job for me.


author: Seth
body: Definitely sounds buggy to me. JIRA will be your best bet.
Can't clone from remote git
Asked by Bryce Dixon:

I just downloaded Sourcetree tonight and already have a pretty major issue. I made a repository on Github and cloned it to my Windows desktop without a problem, but when I tried to do the same thing on my OS X laptop, I get this:

```
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree clone https://BtheDestroyer@github.com/BtheDestroyer/Space-Bar.git /Users/*********/Documents/Space-Bar?Cloning into '/Users/*********/Documents/Space-Bar'...warning: templates not found /Users/mbasaralusrinivasa/workspace/git-scm/git-274/share/git-core/templates/Users/*********/Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git: line 1: ../../bin/git: No such file or directoryfatal: The remote end hung up unexpectedlyCompleted with errors, see above
```

(I censored my user with asterisks)

For some reason, it calls a "templates not found" error referencing the user "mbasaralusrinivasa" which isn't a user on the laptop nor have I ever heard of them. Can someone give me some insight?


Answers:
author: Seth
body: The "templates not found" is just a warning, and isn't causing your problem (it is strange that its referring to a non-existent user though).

I recommend you focus on the next error:

```
/Users/*********/Applications/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git: line 1: ../../bin/git: No such file or directory
```

Sounds like there may be a problem with your git installation, or maybe something PATH related.


Tags: github

mac
How do I send all Comments to a file?
Asked by ralvy:

Is there a way to send all Comments in the entire tree to a file? I'd like to use that output for composing a changelog.txt for the user. If so, can it be confined to a single Release? Etc.

I'm using SourceTree with Mercurial.


Answers:
author: Seth
body: SourceTree doesn't have a feature like that, but it is probably possible to craft a mercurial command to do so. That's pretty advanced usage, though, and is probably a more appropriate question for a larger, mercurial-focused forum.


author: Andrii Tkachenko [BeastieHut]
body: Hello Ralph.

If you need to export all comments from a page to a file (pdf or MS Word), you can form the table of comments on any page from other pages with <https://marketplace.atlassian.com/1219786> plugin and then export this table.

Sorry if this is not relevant to your issue.

Thank you


author: ralvy
body: Got it. I'll ask on the Mercurial listserv.


Tags: mercurial