youngmon/atlassian-qna huggingface dataset:
Error Encountered While Pushing Code - Account Exceeded User Limit
Asked by mmulay:

Hi Team,

We are encountering an issue while attempting to push code to our repository.

remote: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
remote: \[ALERT\] Your push failed because the account has exceeded its  
remote: \[ALERT\] user limit and this repository is restricted to read-only access.  
remote: \[ALERT\] To restore write access, ask an account administrator to upgrade their plan.

Could you please assist us in resolving this issue?

Thanks.


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

I can see in our system that the payment for your Bitbucket Cloud workspace failed. The workspace was then downgraded to the Free plan, and if there are more than 5 users on a Free workspace, then pushes are blocked.

I suggest contacting the credit card provider (of the credit card you use in Bitbucket Cloud) and asking for more details on why the payment failed and how this can be resolved. When the issue with the credit card is resolved (or if you have another credit card and change it in Bitbucket Cloud's payment details), you can upgrade the billing plan of the workspace from **Workspace settings \> Plan details**.

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Is the range of Ips updated
Asked by quoc Vo:

Look like bitbucket already increase the power by 4x, 8x. And IP ranges for pipeline is changed. But maybe not update. Do you guy know anything about this?

<https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/#Valid-IP-addresses-for-Bitbucket-Pipelines-build-environments>


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

There are no immediate changes in the range of IPs for 1x and 2x steps. On September 17th, 2024 we will migrate steps with these sizes to the new Pipelines runtime. If you use IP allowlisting to control access to your internal networks from Pipelines, then you need to update to the new IP address ranges as listed in the documentation you linked prior to that date.

If you use steps with size 4x or 8x, please check the section **atlassian-ip-ranges** in the documentation you linked.

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Why can't I use conditions in a step with an outer stage?
Asked by Lukas Weilguny:

Why can't I use conditions in a step with an outer stage?

There are many ways in which this can be made even better, and I don't know why this should be restricted.


Answers:
author: Theodora Boudale
body: Hi Lukas and welcome to the community!

This is not restricted, it is not implemented as a feature yet.

We have a feature request in our issue tracker:

* <https://jira.atlassian.com/browse/BCLOUD-22216>

I suggest adding your vote to that ticket (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for features. You are more than welcome to leave feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
The PR edit button missing
Asked by Michael Ortiz:

I'm not able to see the edit button on a PR. What setting controls this?


Answers:
author: Theodora Boudale
body: Hi Michael,

There is no setting that controls this. We have removed the **Edit** option and the **Update pull request** page:

* <https://community.atlassian.com/t5/Bitbucket-articles/Bitbucket-Cloud-is-removing-the-Update-pull-request-page/ba-p/2730344>

You can make changes from the pull request's main page. If you click on the title or description, you can edit them, and reviewers can be added or removed from the right sidebar.

Kind regards,  
Theodora

comments: author: Michael Ortiz
body: Thanks for the information... FYI we did experience an issue with at least one PR where we were not able to update the target branch using the PR's main page. This seems to not be an issue with new PRs.


author: Theodora Boudale
body: You are very welcome, Michael. If you still have an open PR where this issue occurs and you would like us to investigate, you can create a ticket with the support team and share the link of the affected PR.

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: philbolo
body: What about the ability to close the source branch when the PR is merged? This checkbox could be changed on the Edit page. It doesn't look like this option is on the PR's main page. I am aware that it is an option in the modal right before merging the PR, but this is not the same. It requires you to actually merge the PR. As it stands, I need to decline the PR and open a new one just to change this setting.


Tags: bitbucket-cloud

cloud

edit

pull-request
Is there a way to compare files in the same branch in Bitbucket?
Asked by Jamie Malangyaon:

I know that we can compare files between branches and commits but I am wondering if there is a that we can compare different files that are in the same branch.

For example, we have 1 branch with 2 folders in it (DEV and SUP). I want to compare a file in the DEV folder and a file in the SUP folder - these two folders/files are in the same branch.

Is there a way that bitbucket can do this the same way that they compare the commits/branches?

We normally compare files using notepad++ but it would be convenient if we can just do it directly from bitbucket.


Answers:
author: Theodora Boudale
body: Hi Jamie,

Bitbucket doesn't offer the option to compare two different files in a repository. I can create a feature request about this in our public issue tracker for our development team to consider. Please feel free to let me know if you'd like me to do that.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How can I set runner specific environment variables?
Asked by Duncan Tyrell:

I need to be able to set a number of environment variables in order to configure an android development environment to gain access to physical android devices.

It is not sensible to set the PATH, ANDROID_HOME, and JAVA_HOME environment variables in repository or workspace variables as the installation of the SDK may have variance from runner to runner.

Is there are way I can get the runner to use the .zshrc or .bashrc or otherwise set runner specific variables?

If we do not have the capability our pipelines will be very brittle.

I have tried sourcing the .bashrc manually in my pipeline however I got an error:  

```
source ~/.bashrc 

bash: /root/.bashrc: No such file or directory

```

Strangely the HOME environment variable is not set for the runner.

This is on a linux-shell runner, version 2.4.0.


Answers:
author: Theodora Boudale
body: Hi Duncan,

A Linux Shell runner uses bash to run pipelines steps on your Linux machine, so it has access to the files on the host device.

It is not possible to set runner-specific variables, but you should be able to source files that exist on the host machine.

The error you get indicates that the bash cannot find the file. Does the .bashrc file exist in the /root directory on the machine where the runner is running? If not, could you try providing the path to the file in the source command?

Kind regards,  
Theodora

comments: author: Duncan Tyrell
body: Thanks, I think this is probably caused by my attempts to run the runner as a systemd service to auto start the runner.

I was confused as to why the \~ directory was /root since I was thinking about the working directory property of the runner command.

I've moved onto a different approach for now but I may revisit this.


author: Theodora Boudale
body: Thank you for the update, Duncan. Please feel free to reach out if you ever need anything else!


Tags: bitbucket-cloud

cloud
Error during deployment to Azure app service - pipe: microsoft/azure-web-apps-deploy:1.0.4
Asked by rajputj3@bv.com:

I am getting following error. Can someone please help me?

I am using following pipe.

pipe: microsoft/azure-web-apps-deploy:1.0.4

INFO: Starting deployment to Azure app service... az webapp deployment source config-zip --resource-group oneclick_002_test --name web-oneclick-test-02 --src drop.zip ERROR: Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke cmd_result = self.invocation.execute(args) File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in execute raise ex File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 386, in _run_jobs_serially results.append(self._run_job(expanded_arg, cmd_copy)) File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 379, in _run_job six.reraise(\*sys.exc_info()) File "/usr/local/lib/python3.6/site-packages/six.py", line 693, in reraise raise value File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 356, in _run_job result = cmd_copy(params) File "/usr/local/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 171, in __call__ return self.handler(\*args, \*\*kwargs) File "/usr/local/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 441, in default_command_handler return op(\*\*command_args) File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 271, in enable_zip_deploy response = _check_zip_deployment_status(deployment_status_url, authorization, timeout) File "/usr/local/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 2054, in _check_zip_deployment_status res_dict = response.json() File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 897, in json return complexjson.loads(self.text, \*\*kwargs) File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) INFO: Web App URL: <https://web-oneclick-test-02.azurewebsites.net> ? Deployment failed.

pipe: microsoft/azure-web-apps-deploy:1.0.4

pipe: microsoft/azure-web-apps-deploy:1.0.4

pipe: microsoft/azure-web-apps-deploy:1.0.4


Answers:
author: rajputj3@bv.com
body: I got some success using following pipe.  

pipe: atlassian/azure-web-apps-deploy:1.2.1


Tags: bitbucket-cloud

cloud
Bitbucket pipeline not correctly installing image.
Asked by Ernesto Bastidas:

I have this bitbucket pipeline:  

<br />

image: ubuntu:latest

pipelines:  
branches:  
master:  
- step:  
name: Upload  
script:  
- sudo apt-get update \&\& apt-get install -y openssh-client jq curl  
- cat /opt/atlassian/pipelines/agent/ssh/id_rsa \>\> ec2_private_key.pem  
- chmod 600 ec2_private_key.pem  
- echo "Fetching modified files from Bitbucket API using diff endpoint"  
- \|  
curl -s -H "Authorization: Bearer $API_TOKEN_BEARER" \\  
"<https://api.bitbucket.org/2.0/repositories/$BITBUCKET_REPO_FULL_NAME/commits/master>" \\  
\| jq -r '.values\[0\].hash' \> latest_commit.txt  
- COMMIT_HASH=$(cat latest_commit.txt)  
- \|  
curl -s -H "Authorization: Bearer $API_TOKEN_BEARER" \\  
"<https://api.bitbucket.org/2.0/repositories/$BITBUCKET_REPO_FULL_NAME/diff/$COMMIT_HASH>" \\  
\| grep '\^+++ b' \| awk '{print $2}' \| sed 's/\^b\\///' \> modified_files.txt  
- echo "Modified files:"  
- cat modified_files.txt  
- while IFS= read -r file; do  
scp -i ec2_private_key.pem -o StrictHostKeyChecking=no -r "$file" ubuntu@$EC2_HOST:$PATH"$file";  
done \< modified_files.txt  
- ssh -i ec2_private_key.pem -o StrictHostKeyChecking=no ubuntu@$EC2_HOST "cd $PATH \&\& sudo docker-compose up --build -d"  

But in the build setup phase of the pipeline I get this error, so the image is not installed properly and I can't use any commands that come by defect in ubuntu.  

This is the error in the build setup:  

<br />

Images used:  
57
build : [docker.io/library/ubuntu@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98](http://docker.io/library/ubuntu@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98)  
58
bash: dircolors: command not found  
59


Answers:
author: Ben
body: Hi [@Ernesto Bastidas](/t5/user/viewprofilepage/user-id/5529886)

Welcome to the Bitbucket Cloud community!

I have pulled that image locally and found that dircolors is installed as part of the coreutils package as you would expect.

Do you have a repository/deployment/workspace variable called PATH configured anywhere? If so, this can break your pipeline steps. This happens because the shell uses PATH to find commands, so if you replace its usual list of locations then utilities like dircolors won't work anymore. More information and a bug ticket can be found below:  

* <https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/>
* <https://jira.atlassian.com/browse/BCLOUD-20162>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Archiving a branch
Asked by Gaurav Agrawal:

I am looking for an option to archive a particular branch that has been created for POC but temporarily I am not working on it due to some other priority tasks but at some later point when I will have band width, I will be restarting with that branch so that's why I am trying to archive that instead of deleting that branch.


Answers:
author: Ben
body: Hi Gaurav,

A branch archival feature was proposed to our development team some years ago, but did not receive enough votes to be considered for implementation and therefore there are no plans to include this functionality at this stage, unfortunately.

You may leave feedback on the following feature request ticket as feedback is still observed (even on closed tickets) regarding this development decision:

* <https://jira.atlassian.com/browse/BCLOUD-14551>

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Gaurav Agrawal
body: Hello Ben,

Thanks for answering my query, I have given the feedback in reference to the mentioned card. I am excited to see this feature being rolled out in upcoming updated from bitbucket.


Tags: bitbucket-cloud

cloud
How using different pipeline step size affects cost?
Asked by Sergio S?nchez Gonz?lez:

How using different pipeline step size 1x, 2x, 4x, or 8x affects cost?  

If cost is based on minutes running why not using always 8x?


Answers:
author: Alexandre L?veill?
body: Hi [@Sergio S?nchez Gonz?lez](/t5/user/viewprofilepage/user-id/4672531)

Cost is indeed based on the minutes used.

The cost for 1x and 8x will be the same only if a pipeline runs eight times faster on a 8x instance, which is not always the case.

If you pipeline is 50% faster on an 8x instead, the total cost will be 4x.

Eg:

- A pipeline take 14 minutes on a 1x instance. You will be charged for 14 minutes.

- The same pipeline takes 7 minutes (50% faster) on a 8x instance. You will be charged 7 \* 8 = 56 minutes (so, four times the cost of 14 minutes).

When building applications, having more CPU isn't necessarily better because some compilers or unit-test frameworks can't make the most of *N* CPUs.

I suggest you experiment with sizing to see what fits your pipeline the best. Perhaps the best cost/time ratio will be a 2x for a pipeline and 4x for another (also keep in mind that 2x will be [migrated to the new architecture sometime in August](https://bitbucket.org/blog/evolving-bitbucket-pipelines-to-unlock-faster-performance-and-larger-builds))


Tags: bitbucket-cloud

cloud
Why are tags no longer showing in commit overview?
Asked by Kevin Willems:

The commit overview of a repository used to show tags next to the commits. This is no longer the case, so I was wondering why they were removed and if it's possible to get them back in the overview?


Answers:
author: Kris Willis
body: Unfortunately, this was announced a few days ago...

<https://community.atlassian.com/t5/Bitbucket-articles/Bitbucket-Cloud-is-removing-tags-links-and-lozenges-from-the/ba-p/2721140>

comments: author: Connor Wiegmink
body: This has now been rolled back!


author: Connor Wiegmink
body: I have the same issue, tags suddenly stopped showing in the commit list

comments: author: Marcus Hunger
body: We have the same issue


author: smuppavaram
body: Same here! Anyone have any information on this??


author: Dhony Priniardi
body: same, I also show the same condition


Tags: bitbucket-cloud

cloud
Not receiving email to complete 2FA for BitBucket
Asked by Nirajan Kunwor:

I am able to validate the authentication code but unable to get any email. It's not on junk as well.


Answers:
author: Theodora Boudale
body: Hi Nirajan and welcome to the community!

Your email address was in our suppression list, because we received a hard bounce response from your mail server when we attempted to send another email in the past. The message in the bounce event was:

```
554 5.7.1 [internal] recipient address was suppressed due to customer policy
```

This may occur if:

1. The address is invalid (address does not exist)
2. The user clicked the list-unsubscribe header
3. The user clicked one of our emails and flagged it as SPAM.

I went ahead and removed your email address from the suppression list. If your email account is active and you can receive emails from others now, can you please try setting up 2FA one more time? You need to follow the process again so a new email gets sent, as the previous ones were dropped.

Kind regards,  
Theodora

comments: author: Nirajan Kunwor
body: Thanks Theodora. I am able to receive emails and enable 2FA now. Thanks for the help.


author: Theodora Boudale
body: You are very welcome, Nirajan. Please feel free to reach out if you ever need anything else!


Tags: bitbucket-cloud

cloud

mfa
CAPTCHA
Asked by Peter Zhang:

![image.png](/t5/image/serverpage/image-id/331778i6607381062671117/image-size/large?v=v2&px=999 "image.png")

Why can't I get the CAPTCHA?


Answers:
author: Andy Heinzer
body: Hi [@Peter Zhang](/t5/user/viewprofilepage/user-id/5529352)

Sorry to hear about this. However we have had other reports from some users about this. Are you by chance located within China? If so, the great China firewall has been reportedly at fault for the captcha information being unreachable for end users located within China.

If you can connect to an external vpn, this might allow you to then be able to see the captcha. We have had a previous tracking issue around this in [ID-6228 China Users Face "Google Recaptcha Failed to Load" When Logging In](https://jira.atlassian.com/browse/ID-6228)


Tags: bitbucket-data-center

data-center
Bitbucket pipelines docker load command fails with EOF error
Asked by Srijan Chapagain:

We have a bitbucket pipeline setup where docker image is temporarily saved as artifacts and retrieved in other parallel steps but recently in one of the branch we started seeing unexpected EOF error when running \`docker load\` command. Upon adding sha sum check between docker save and docker load, there is difference to sha values and if we create another branch out of this branch, it is working fine. So, is this some bitbucket pipeline issue ? Found similar concern here, not sure if it has been addressed somewhere?  

<br />

<https://community.atlassian.com/t5/Bitbucket-questions/All-pipeline-builds-fail-with-unexpected-EOF-what-can-I-do-to/qaq-p/1053898>


Answers:
author: Theodora Boudale
body: Hi Srijan and welcome to the community!

It's hard to say what is happening without looking at the build logs. Since the workspace is on a paid billing plan, I suggest creating a ticket with the support team for further investigation.

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.

Please provide in the ticket the URL of the Pipelines build that fails with this error and also the URL of the successful build from the other branch you created. The ticket will be visible to you and Atlassian staff only, so anything you post there won't be publicly visible.

Kind regards,  
Theodora

comments: author: Srijan Chapagain
body: Thanks will do that..


author: Srijan Chapagain
body: Created a ticket. Meanwhile, could this be issue with latest updates on runners? I feel like, we started seeing this issue since updating to v2 (runners) and docker v25


author: Theodora Boudale
body: Hi Srijan,

Based on the info you have provided, it sounds like the tar archive of the Docker image may have been corrupted.

I'm not sure if it's related to the runner version, we will need to check logs for more info.

Kind regards,  
Theodora


author: Srijan Chapagain
body: Hi Theodora,  

I have created a ticket yesterday but have not heard anything for follow up. This issue has been preventing us moving forward into taking into use bitbucket pipelines as it is randomly throwing this EOF error while loading docker image.

Kind regards


author: Theodora Boudale
body: Hi Srijan,

The ticket was created with Priority Level 3 and the initial response time is 1 business day as per our [support offerings](https://confluence.atlassian.com/support/atlassian-support-offerings-193299636.html).

If the impact of this issue requires a different level of urgency, you can escalate the ticket and share the business impact to define the most appropriate priority for this case.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Bitbucket base url refused to connect
Asked by Woodpecker:

I have installed bitbucket linux server and i also accessed it but now i am trying to access the url but its showing error_connection_refused / 192.168.1.18 Refued to connect


Answers:
author: Pramodh M
body: Hi [@Woodpecker](/t5/user/viewprofilepage/user-id/5529353)

Have you checked whether the port is in listening mode?

Check the process whether it is successfully running.

Ensure the port is open

Reference - <https://community.atlassian.com/t5/Jira-questions/jira-base-url-connection-refused/qaq-p/928946>

Thanks,  
Pramodh


Tags: bitbucket-data-center

data-center