youngmon/atlassian-qna huggingface dataset:
Not receiving link for account verification
Asked by Ana de Oliveira:

Hello!

<br />

My coworker is trying to access his Atlassian account (email: \<email_removed_for_privacy\>), but every time he tries he receives a message that says "Check your inbox to finish sign-up" with a link to re-send the link. He recently switched email addresses in my organization.  
He requested the link to be sent to his inbox multiple times, but he hasn't received anything yet. I had a similar issue in the past, where I wasn't getting the invite to my organization's workspace, and the reason was that my account had been flagged as "non-existent" or something of the sorts in Bitbucket, because the invite was sent immediately after the creation of the email account. So, possibly my colleague is having the same issue.  

Please let me know how to proceed.


Answers:
author: Syahrul
body: G'daym [@Ana de Oliveira](/t5/user/viewprofilepage/user-id/5025656)

Based on my observation the user's Bitbucket account has been signing up and has access to your Bitbucket workspace. So can you verify if the user still have any issue with verification of the account?

Regards,  
Syahrul

comments: author: Ana de Oliveira
body: Hello Syahrul,

I just talked to him and asked him to try to login and he said he's still receiving the account verification message and can't access anything: Bitbucket, Jira, or Atlassian Community.

Thanks!


author: Syahrul
body: Hi Ana,

Noted. I have proceeded to raise a support ticket on behalf of you to continue the investigation. You can view your support ticket at our support portal

[Support portal](https://support.atlassian.com/requests/)

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
N?o entendi uma cobran?a que aconteceu no meu cartao de credito.
Asked by rogeriofflima:

Bom dia,

Preciso entender uma cobran?a de $ 479,96 no dia 22/07/2023 ?

Minha assinatura ? de $ 719,94 que tambem esta sendo cobrado na fatura, que esta correto.

Aguardo retorno.

Obrigado.


Answers:
author: Theodora Boudale
body: Hi [@rogeriofflima](/t5/user/viewprofilepage/user-id/5286687) and welcome to the community!

Our Customer Advocate team can help you with any billing questions. I see that you have already created a support ticket with that team, they can provide you more info about this charge.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How do I access mysql server via mysql service in pipelines? I'm stuck at "Access Denied"
Asked by pcsdev:

pipelines file (edited):

image: amazon/aws-cli

definitions:  
services:  
mysql:  
image: mysql:latest  
environment:  
MYSQL_DATABASE: $MYSQL_DATABASE  
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD  
MYSQL_USER: $MYSQL_USER  
MYSQL_PASSWORD: $MYSQL_PASSWORD

pipelines:  
branches:  
develop:  
\[...\]  
- step:  
name: RUN IMAGE  
image:  
name: 1234567890.dkr.ecr.region.amazonaws.com/my-container:latest  
aws:  
access-key: $AWS_DEV_ACCESS_KEY  
secret-key: $AWS_DEV_SECRET_KEY  
services:  
- docker  
- mysql  
script:  
- apt update \&\& apt install -y default-mysql-client  
- mysql -V  
- echo $MYSQL_USER  
- mysql -h 127.0.0.1 -u $MYSQL_USER -p $MYSQL_PASSWORD -e "SHOW DATABASES"  
I get the following error with the show databases query:  

    Enter password: ERROR 1045 (28000): Access denied for user 'test_user'@'127.0.0.1' (using password: NO)

I have also tried with root user and the variable password as well as no password...

any ideas or insight appreciated.

thanks for reading.

edit1: I got this far from: <https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-use-MySQL-in-Bitbucket-Pipelines/qaq-p/461906> but it isnt the same issue...


Answers:
author: pcsdev
body: there cant be ansy spaces between the flag and the password.

-p $MYSQL_PASSWORD

should be

-p$MYSQL_PASSWORD


Tags: bitbucket-cloud

cloud
Can't clone my repo
Asked by Arjun Varma:

I'm trying to clone a repository on my bitbucket account, it's handled by company's IT department. While cloning the repo, I'm asked for my account's password. On my windows machine, I'm able to clone it without any issues after I provide the password. But on my Mac (I'm logged into the same account) it says that my credentials are invalid. I even tried SSH clone, but that didn't work either.

```
remote: Invalid credentials
fatal: Authentication failed for 'https://bitbucket.org/probe/probegtp.git/'
```

Every member of my team with a macbook faced this issue. I tried downloading the code and tried adding the origin to the repository, but that didn't work either. It says that I can not access this repository but clearly I have access on my windows machine.


Answers:
author: Charlie Misonne
body: Hi Arjun,

When you try to clone, do you get a password promt? Or did it remember your password from a previous login?

I'm not a Mac user myself but can you try clearing the credentials in you credential manager?

It's one of the steps in this procedure: [Authentication Error - "remote: Invalid username or password"](https://confluence.atlassian.com/bbkb/authentication-error-remote-invalid-username-or-password-942864127.html#:~:text=Make%20sure%20the%20Bitbucket%20username,your%20Bitbucket%20Personal%20settings%20page.&text=Clear%20stored%20git%20credentials%20on,credentials%20related%20to%20Bitbucket%20Cloud.)

comments: author: Arjun Varma
body: Yes, it did ask me for my password. I don't think there was any authentication error but I will try your solution and let you know if the problem still persists.  

Thank you for replying :)


Tags: bitbucket-cloud

cloud
Cloning repository error
Asked by alvir-sei:

Hi all, I would really appreciate if there's anybody could help me figure out this error I am getting every time I try cloning a repository from BitBucket... I attached a screenshot of the error... I am not very 'savvy' so I am really confused with what to do to fix it. Please help...

![](https://warehouse.activecollab.com/api/v1/files/2023-08%2F34697272a7196fc02217af8868f5745d742b7f4550d3767084b9058b36701a626e22dce00cb504e9bef12e46d3a9ca729bfc7da7a279f1fa66fcbf4796e1c54a.png/b17f00d1a19dd70d92716b3490298797/preview?intent=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvYXBwLmFjdGl2ZWNvbGxhYi5jb21cLzIzMjc5MiIsImlhdCI6MTY5MTM4NzkyOCwiZXhwIjoxNjkxNDc0MzI4LCJhdWQiOiJodHRwczpcL1wvd2guYWN0aXZlY29sbGFiLmNvbSIsImVtYWlsIjoiYWx2aXJAc2hhcnBlcmVkZ2UubmV0IiwiaW50ZW50IjoicHJldmlldyIsImFjY291bnRfaWQiOjIzMjc5Mn0.4BgVasC6cpU9QPKPkXCOkrnizveF73VY8m9ycVuXlug)


Answers:
author: Theodora Boudale
body: Hi [@alvir-sei](/t5/user/viewprofilepage/user-id/5286186) and welcome to the community!

Did you include an image with the error message in your post? Because the image now shows as broken.

Can you please copy-paste here the full output that you get when you try to clone a repo?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

sourcetree
Error HV000149 when adding a repository description
Asked by Matthias Kleinert:

After updating to BitBucket Server 8.12.0 we're not able to insert, update or change repository descriptions. We always end up with an HTTP 500 error that says "HV000149: An exception occurred during message interpolation". The content of the description doesn't matter, even when we insert a single dot it will have the same effect.

Anyone else with the same problem and an idea how to solve this?


Answers:
author: Kseniia Trushnikova
body: Hi [@Matthias Kleinert](/t5/user/viewprofilepage/user-id/492453)

It looks like this bug: <https://jira.atlassian.com/browse/BSERV-14143>

What language is selected in your profile?

comments: author: Matthias Kleinert
body: Hi [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830)

My language is set to the browser language which is german. When I set it to english I can change and save the description. That's at least a workaround, thank you!


Tags: bitbucket-server

server
4x build machine
Asked by Hemant Chigadani:

Bitbucket can provide us 4x or 8x machine at extract cost? If so what is the pricing please share.


Answers:
author: Mark C
body: Hi [@Hemant Chigadani](/t5/user/viewprofilepage/user-id/5286179),

Welcome to the community.

If you'd like to run your builds on Bitbucket Cloud Pipelines infrastructure, you can only use up to 8 GB memory (**size: 2x** ).  
However, if you're using [Bitbucket Cloud Pipelines self-hosted runners](https://support.atlassian.com/bitbucket-cloud/docs/runners/), you can configure your build to use up to 32 GB (**size: 8x**) without additional cost, given the self-hosted machine has the memory capacity.

Regards,  
Mark C

comments: author: Hemant Chigadani
body: Thank you [@Mark C](/t5/user/viewprofilepage/user-id/1210823) for the reply.  

I had previously tried self-hosted runners, in this approach an instance of runners always be running irrespective its used or not.   

Is there way I could spine up the runner as and then required based on the pipeline triggers/events?  

Thank you.


author: Mark C
body: Hi [@Hemant Chigadani](/t5/user/viewprofilepage/user-id/5286179)  

Would you be able to confirm if you're referring to autoscaling runners?  

Regards,  
Mark C


author: Hemant Chigadani
body: Yes [@Mark C](/t5/user/viewprofilepage/user-id/1210823)   

Thats correct autoscaling runners   
<https://bitbucket.org/bitbucketpipelines/runners-autoscaler/src/2.2.3/>

Or  
any other mean where bitbucket can support runner scalability zero to many based on bitbucket events,  

thanks


author: Mark C
body: Hi [@Hemant Chigadani](/t5/user/viewprofilepage/user-id/5286179),  

Unfortunately, we don't officially support auto-scaling in Pipelines runners at the moment.  
We do have an existing feature request for it that can be located through this link. - <https://jira.atlassian.com/browse/BCLOUD-21343>  
You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.  

As a workaround, you can use the [runners-autoscaler](https://bitbucket.org/bitbucketpipelines/runners-autoscaler/src/2.2.3/) script which only autoscale runners according to the current workload in the build.  
Sadly, there's no option to autoscale runners based on triggers or events.  

Regards,  
Mark C


author: Al Karama Technical
body: Thank you for the information, Mark.

I appreciate the clarification on the current limitations regarding auto-scaling in Pipelines runners. As someone who manages both a web development business and an appliance repair service (Al Karama [Washer Repair Services](https://alkaramatechnical.com/washing-machine-repair-in-dubai/)), efficient automation is crucial for maintaining smooth operations across various tasks. I'll look into the runners-autoscaler script as a temporary solution. Meanwhile, I've upvoted and will keep an eye on the feature request.

Best regards,  
Al Karama


Tags: bitbucket-cloud

cloud
Status 500 with container registery
Asked by David Ciampi:

##### Failed {#toc-hId--1535208111}

Status 500: {"message":"Get \\"[https://xxxx.zzzcr.io/v2/\\](https://xxxx.zzzcr.io/v2/\)": dial tcp x.x.x.x:443: connect: connection refused"}  

Occassionally, I see my self hosted runner report back with a failed status 500 message.   
Is there a work around for this or is there simply an error I need to take up with the regsitry provider?


Answers:
author: Ben
body: Hi David,

The error message relates to unsuccessfully establishing a connection over HTTPS to the destination container registry.

The error 500 indicates that this is occurring on the server-side, so I would suggest reaching out to the registry provider in this instance.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Is there a way to build a mirror repository on the company's local network in bitbucket cloud?
Asked by IkHyeon Jin:

hello.

My current company is using bitbucket.  
It often happens that new source code is received from Bitbucket Cloud while using a local build agent with many developers.

In this case, the company network speed delay occurs.  
I'm feeling the need to build a local bitbucket repository on-premise.

Looking through the documentation, it says that Bitbucket Cloud's Smart Mirroring is deprecated.

<https://support.atlassian.com/bitbucket-cloud/docs/use-smart-mirroring-for-bitbucket-cloud/>

Migrating Bitbucket Cloud to a data center or elsewhere is difficult.  
Is there any other way to configure on-premise local bitbucket repository?

We need a way to solve network delay.

- I don't have administrator role, so I'm looking for a way to build a new system.  
- Removal of LFS files from git repositories was not welcomed by developers.


Answers:
author: Theodora Boudale
body: Hi [@IkHyeon Jin](/t5/user/viewprofilepage/user-id/5232789),

I'm afraid that we don't have any alternative for smart mirroring.

Configuring something like this would mean building it from scratch. You could use a Bitbucket Data Center instance in order to import Bitbucket Cloud repos. You could then configure webhooks so that they are kept in sync and in order to also import any new Bitbucket Cloud repos to the instance.

Building and maintaining such an integration and resolving any issues that may arise may be quite time-consuming.

You could look into figuring out a solution on the network level instead.

Kind regards,  
Theodora

comments: author: IkHyeon Jin
body: Hello Theodora  
Thank you for your reply.

There is something I don't understand, so I'll ask more questions.

1. Can I use the mirror function when using a Bitbucket Data Center instance?  
Or do I have to push to the Bitbucket Data Center instance via a Bitbucket Cloud webhook? (Like performing a git push to another repository to the pipeline yml of the repos)

2. If I use a Bitbucket Data Center instance, are Bitbucket Cloud's user accounts and other permissions synced?

Please reply when you have time.  
Have a good day.


author: Theodora Boudale
body: Hi [@IkHyeon Jin](/t5/user/viewprofilepage/user-id/5232789),

A Bitbucket Data Center instance cannot mirror Bitbucket Cloud repos or sync Bitbucket Cloud user accounts and permissions. This is why I mentioned that you would need to build something from scratch and use webhooks for syncing.

Please feel free to let me know if you have any other questions.

Kind regards,  
Theodora


author: IkHyeon Jin
body: I appreciate your quick response


Tags: bitbucket-cloud

cloud
Why my pipe Azure ACR push image doesn't find image ?
Asked by Cl?ment Niot:

Hello,

I'm trying to use [ACR pipe](https://bitbucket.org/atlassian/azure-acr-push-image/src/master/) in my bitbucket pipeline, but it doesn't work. I just followed your examples but I still have an error : "Docker push error: An image does not exist locally with the tag: [epincregistry.azurecr.io/my-acr-image](http://epincregistry.azurecr.io/my-acr-image)"

Here my pipeline YAML.

![pipeline.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/273474iD9C83630FAC57E64/image-size/large?v=v2&px=999 "pipeline.PNG")

I have done everything you specified in your example and it still not working, I don't understand why. Please enlight me my mistake.

Please find logs :

![logs.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/273475iB6F0A2B563BD6C19/image-size/large?v=v2&px=999 "logs.PNG")

Thank you for your time.


Answers:
author: Igor Stoyanov
body: [@Cl?ment Niot](/t5/user/viewprofilepage/user-id/5286055) hi. The issue fixed in [0.1.1 release](https://bitbucket.org/atlassian/azure-acr-push-image/src/0.1.1/).  

Regards, Igor


author: Igor Stoyanov
body: Hi [@Cl?ment Niot](/t5/user/viewprofilepage/user-id/5286055) . There is a bug we can confirm. We will fix this and notify you.  

Regards, Igor


Tags: azure

bitbucket-cloud

bitbucket-pipelines

cloud
SSH always connect with 22 port
Asked by pusparaj767:

StrictHostKeyChecking=no -p 22 -p 65002

I added the extra args it's working fine it gives certain line in debug but it gives error like this ssh: connect to host xx.xxx.xxx.x port 22: Connection refused


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Port 22 is the default for SSH, but you can't connect to Cloud systems with SSH to get a command line, they're designed to be used interactively or with git SSH.


Tags: bitbucket-cloud

cloud
Discover BitBucket Cloud Administrator user
Asked by v8lust:

I have a BitBucket Cloud instance, migrated from Server (originally Stash), and I can't identify the Administrator. I have a separate admin account, where I can see the licenses for the all the other products, except BitBucket.

My greatest concern is that an admin user from the on-premise server has become the admin, with an email address that never existed.


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

If you are not already an admin of this workspace, you will not be able to see from the UI who the admins are.

You can ask your colleagues if they have admin access to this workspace.

If you still cannot figure it out, you can create a ticket with the support team and ask them to provide you with the name(s) of the admin(s). I cannot share that here due to our privacy policy, as this is a public forum.

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.

Please make sure:

* that you create the support ticket using the email of your Bitbucket account that has access to that workspace
* when you are asked for a workspace id, please make sure to provide the id of the workspace that is on a paid billing plan so that you can proceed with the ticket creation

Please feel free to let me know if you have any questions!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Who can delete from the Bitbucket Push Logs
Asked by Terraster:

The Push logs (<https://confluence.atlassian.com/bitbucketserver/push-logs-998882984.html>)  
are also kept for deleted branches.  

Who can delete this log entries?  

It looks like they stay forever, our bitbucket admins could not help us in this question.


Answers:
author: v8lust
body: I believe this report is based on the Git commit history itself and not a separate log in BitBucket. Assuming this is true, you can use *B* *FG Repo-Cleaner* open source tool. This is a JAR file which can hard delete from Git.  

Note: this is commonly used to removed Binaries or sensitive data that has been accidentally committed to Git.

comments: author: Terraster
body: In a test repositry I have used git reset HEAD\~n to squash to the repo to a single commit and push with force.   
After a test checkout the local history has exactly one commit and also the Bitbucket repository has exactly one commit

With the **exception** of the push logs (<https://confluence.atlassian.com/bitbucketserver/push-logs-998882984.html>)  
here you can see the force push and and also still the old old commits, you can easily reproduce with the method described above.

Again to clarify I'm talking about the push log (found under the repository settings)  
and not about the also available commit history of the repository.


Tags: bitbucket-server

server
Experiencing Inconsistent and Lengthy Code Clone Times in Bitbucket Cloud CI/CD: Seeking Solutions
Asked by Oguz Gurler:

![Translate](safari-extension://3B13A384-F5AB-437D-B178-9AFC539C38A4/icon.png)

Our Bitbucket Cloud CI/CD pipeline, utilizing self-hosted runners, occasionally faces significant code cloning delays leading to timeouts, even with depth 2 cloning. Any suggestions or experiences from the community to enhance the cloning process's consistency and speed?


Answers:
author: Theodora Boudale
body: Hi Oguz and welcome to the community.

There are several factors that could affect this and several things to look into.

**1.** What type of runners are you using and are you using a supported platform as per <https://support.atlassian.com/bitbucket-cloud/docs/runners/>?

I've seen a similar report when Linux Docker Runners were used in a MacOS (which is not officially supported for Linux Docker Runners). In the case of MacOS (and also Windows), Docker runs in a Virtual Machine which can affect performance.

**2.** Do you have more than one runner on the same host?

**3.** Do you run builds on multiple different repos? If so, does the issue seem to occur only with one specific repo, or not?

**4.** What is the CPU and memory usage of the host machine when the issue occurs? If they are close to the limit, this might slow things down.

**5.** What is the network bandwidth usage when the issue occurs? If that is high, it could also affect the clone times.

**6.** It is also possible that this occurs due to a network issue that doesn't have to do with bandwidth usage, but with routing from your network to Bitbucket.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Could not received recovery email for 2FA after 24 hours
Asked by saroj raut:

I am not receiving recovery email. It has been already 24 hours since I request recovery email.


Answers:
author: Ste Wright
body: Hi [@saroj raut](/t5/user/viewprofilepage/user-id/5284661)

Have you checked your spam folder?

If it's not there either, I'd either contact your company's internal Atlassian Admin for more help, or if that's yourself, Atlassian directly via <https://support.atlassian.com/>

Ste

comments: author: saroj raut
body: Yes i have checked the spam folder.I received the email after i have contacted atlassian support.


Tags: bitbucket-cloud

cloud
Branches not showing while pushing to BitBucket?
Asked by Kalim Ullah:

OS : Windows 10

Source Tree Version : 3.2.6

Using Git Flow I have just finished the Release, Now, when I am trying to push Changes to Bitbucket, It's not showing any branch in pop-up. It was working fine in previous version.

Please see this ([http://prntscr.com/p1maci)](http://prntscr.com/p1maci)?)


Answers:
author: Ana Retamal
body: Hi [@Kalim Ullah](/t5/user/viewprofilepage/user-id/2068879) ,

A similar issue was reported on [this other post.](https://community.atlassian.com/t5/Sourcetree-questions/After-upgrading-to-Sourcetree-3-2-6-the-push-dialog-doesn-t-show/qaq-p/1172305)

The issue seems to be caused by an older version of Git. The solution is to upgrade Git to 2.23.0. Please do that and let us know if it works for you now.

Cheers!

Ana

comments: author: David Badham
body: I have version 3.3.8 and it has the same issue. I keep having to go into a command line console to push even though the push icon in sourcetree has, say the number 2, when I click on push the branches to push dialog is empty.


Tags: windows
Is there a site with step-by-step instructions for using SourceTree?
Asked by Josh Winkelstein:

I know git from the Windows command line, and I know how I think SourceTree should work. However, SourceTree has proven that I am wrong about how it works. Does anyone know of a site where answers to questions like "I changed a file, how do I push that change to repository x?" can be found? A basic tutorial for SourceTree? Step-by-step would help me a lot.

We use GitLab rather than GitHub. I have successfully installed SourceTree on Windows 10. My machine has 8 GB of RAM and a 255 GB SSD with 1/2 unused so I don't think there is a hardware issue.

Thanks for the help!


Answers:
author: Josh Winkelstein
body: Thanks Yevhen, that is a good site. So is <https://rancoud.com/sourcetree-git-use/> which I found just after I posted this query.


author: Yevhen Rohovets
body: Hi,

Atlassian has good documentation about this product in [this link](https://confluence.atlassian.com/get-started-with-sourcetree)