youngmon/atlassian-qna huggingface dataset:
Cannot log into Bitbucket
Asked by Matt:

Hello, I cannot log into bitbucket. I used to be on a while back and now I cannot log in. When I google this issue, I see that it sometimes occurs when my account is deactivated and needs to be re-activated. I'm not sure if there is another go-around for it.

Message I get reads as follows

We couldn't log you in  
You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.


Answers:
author: Patrik S
body: Hello [@Matt](/t5/user/viewprofilepage/user-id/5433239) ,

thank you for reaching out to Community!

Your account was indeed inactive due to a long period of inactivity.

I went ahead and set it to active again, so you should be able to log in and access Bitbucket Cloud as usual now.

In case you are still facing any issues, please let us know so we can assist you further.

Thank you, [@Matt](/t5/user/viewprofilepage/user-id/5433239) !  
Patrik S

comments: author: Matt
body: It works great, thank you!


author: Nikola Perisic
body: Welcome to the community [@Matt](/t5/user/viewprofilepage/user-id/5433239) !

Yes, you are correct that the account needs to be reactivated. This is a standard procedure that Atlassian, when accounts are not active for some time, they get deactivated.

Reference: <https://community.atlassian.com/t5/Bitbucket-questions/Can-t-log-into-BitBucket/qaq-p/2402029>

Sadly, there is no workaround for this rather than raising a ticket for Atlassian.

I will also tag them, to get this ticket a higher visibility.

comments: author: Matt
body: Much appreciated!


Tags: atl-rvw

bitbucket-cloud

cloud
GC Request
Asked by bagusnl:

Hello Team,

Can I request GC to a repo that I have admin access to? I had to use BFG earlier but the repo size increased rather than decreased.

The repo is https://bitbucket.org/\<redacted\>

Please also delete the branch \`main2\`, it was created when I attempted to push the BFG'd branch manually but it was a fail.  

Thank you


Answers:
author: Patrik S
body: Hey [@bagusnl](/t5/user/viewprofilepage/user-id/5433175) and welcome to the Community!

I've manually triggered a Garbage Collection on your repository which managed to reduce its size back to \~400MB!

Now that GC is completed, I would highly recommend you have everyone on your team remove their old copies of the repository and do a fresh clone of it. Since the old clones have a dirty history, it's better to delete them, so you don't risk pushing the dangling objects back into your cleaned repository, which would increase its size again.

As for the branch deletion, while we are not able to do it on our side, you can easily delete a branch from the UI by navigating to your repository and following the below instructions :

* Click on the **Branches** option in the left-side navigation panel
* Look for the branch you want to delete
* In the line of that branch, click on the tree dot icon and select the **Delete** option

Hope that helps! If you have any questions, feel free to ask.

Thank you, [@bagusnl](/t5/user/viewprofilepage/user-id/5433175) !

Patrik S.

comments: author: bagusnl
body: oh, I was on the "Active branch" filter, unsure why my main2 is tagged inactive but nevertheless I managed to delete it.  

Thank you for the help!


author: Patrik S
body: It's usually tagged inactive when there are no new commits to that branch since it was branched off from its parent branch.

Happy to hear you were able to find and delete it :)

Feel free to reach out to the community if you ever need help!

Thank you, [@bagusnl](/t5/user/viewprofilepage/user-id/5433175) !

Patrik S


Tags: bitbucket-cloud

cloud

garbage-collection
BitBucket deployment on ubuntu server LAMP with private ip only
Asked by Ghazanfar Ali:

I have a ubuntu server(local VM) with internet access but only private ip on it and LAMP is installed on, also i have bitbucket source code and pipeline on bitbucket cloud, i want to deploy the pipeline code in that ubuntu server which only has private ip but internet access.  
I heard about ngrok will it help here?


Answers:
author: Patrik S
body: Hello [@Ghazanfar Ali](/t5/user/viewprofilepage/user-id/5432987) and welcome to the Community!

In case you are running your bitbucket pipelines using the Atlassian infrastructure, your Ubuntu server will need a public IP address, so pipelines will be able to reach your server from the internet.

If you don't have access to a public IP address, one option is to use self-hosted runners instead, where the pipeline build will run in your own infrastructure.

You can then execute the self-hosted runner in a machine in the same network as your Ubuntu server, so the runner will be able to access your server's private IPs.

For additional details on how to setup self-hosted runners, the following documentation might be of help:

* [Setup and use self-hosted runners - Linux docker](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/)

Thank you, [@Ghazanfar Ali](/t5/user/viewprofilepage/user-id/5432987) !

Patrik S


Tags: bitbucket-cloud

cloud
Self hosted runner fails while trying to pull image from docker-public.packages.atlassian.com
Asked by Nicol?s:

Hey community   

I'm getting this error today on a self-hosted runner.   

Unable to pull image: Head \\"[https://docker-public.packages.atlassian.com/v2/sox/atlassian/bitbucket-pipelines-docker-daemon/manifests/v25.0.2-multiarch-prod-stable\\](https://docker-public.packages.atlassian.com/v2/sox/atlassian/bitbucket-pipelines-docker-daemon/manifests/v25.0.2-multiarch-prod-stable\)": Get \\"[https://docker-public.packages.atlassian.com/api/docker/docker-public/v2/token?scope=repository%3Asox%2Fatlassian%2Fbitbucket-pipelines-docker-daemon%3Apull\&service=docker-public.packages.atlassian.com\\](https://docker-public.packages.atlassian.com/api/docker/docker-public/v2/token?scope=repository%3Asox%2Fatlassian%2Fbitbucket-pipelines-docker-daemon%3Apull&service=docker-public.packages.atlassian.com\)": net/http: request canceled (Client.Timeout exceeded while awaiting headers)  

If I try to pull this image locally, sometimes it works fine, others not, and it shows the same error.   

<br />


Answers:
author: Brian Engert
body: Same here trying to pull from aws us-east-2 and from a comcast connection in the midwest.

edit: there is now a incident <https://bitbucket.status.atlassian.com/incidents/lqkmx0j1fgl5>


author: Anton Dev
body: Same issue. Multiple locations, so not a local connectivity issue.


author: Daniele Tramotano
body: +1 Got the same problem


author: Tiago Jesus
body: +1 Very unstable today

comments: author: Tiago Jesus
body: Fixed!


author: Dhiogo Boza
body: Similar issue today: Unable to pull image: Get <https://docker-public.packages.atlassian.com/v2/>: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)


author: Walter Neto
body: Got the same problem


Tags: bitbucket-cloud

bitbucket-runners

cloud
I am trying to configure bitbucket with jenkins using git plugin via ssh
Asked by ChakradharReddy:

I copied the private key from the Jenkins machine running on Docker and ensured it is in the Jenkins user. I then pasted the private key into global credentials as an SSH user with a private key. Additionally, I copied the public key to the repository settings in Bitbucket under 'Access Keys'. However, when I tried to check the connection while configuring the pipeline, it threw an error stating 'STDERR: fatal: repository doesn't exist or you don't have access rights'. I checked various forums, but most solutions contain errors, while my issue is displaying code 128 and above


Answers:
author: Patrik S
body: Hello [@ChakradharReddy](/t5/user/viewprofilepage/user-id/5433166) and welcome to the Community!

The error output indicates an authentication issue between Jenkins and Bitbucket, so I suspect there's potentially some setting missing on Jenkins's side. I found the following article containing step-by-step instructions on how to configure the SSH connection on Jenkins that may be of help :

* [Integrate your Bitbucket with Jenkins using SSH keys](https://geekcontainer.wordpress.com/2018/02/12/integrate-your-bitbucket-with-jenkins-using-ssh-keys/)

If after following the steps in that article you are still not able to authenticate, I would suggest running the following command to test your connection to Bitbucket Cloud using the same SSH key you configured in Jenkins :

```
ssh -Tvvv -i <path to the private key file - the same key you used on Jenkins> git@bitbucket.org
```

This will provide further details on the SSH authentication and if the key is being recognized by bitbucket.

Thank you, [@ChakradharReddy](/t5/user/viewprofilepage/user-id/5433166) !

Patrik S


Tags: bitbucket-cloud

cloud
Not receiving email notifications
Asked by Thomas Perrin:

I am not receiving bitbucket email notification anymore

What do you think the problem can be ?


Answers:
author: Nikola Perisic
body: Hello [@Thomas Perrin](/t5/user/viewprofilepage/user-id/5339398)

First, have you checked your personal settings:

* Your profile avatar -\> Personal settings
* Make sure that you have the "Send me email notifications" dropdown selected
* Check all of the boxes that are related to your issues

If you've made sure that everything is in order, then you would need to open a ticket for Atlassian to unblock you from the supressioion list.

Here is the link where the same issue happened: <https://community.atlassian.com/t5/Bitbucket-questions/Stopped-receiving-email-notifications/qaq-p/2567341>

I will tag Atlassian for higher visibility.


author: Theodora Boudale
body: Hi Thomas,

I checked our email logs for the last seven days. Five Atlassian emails that were sent on 16th February were not delivered to your mail server because there was a temporary issue with domain name resolution. Several other emails were sent later that day, the days before, and also yesterday and today, that have been successfully delivered to your mail server.

If you haven't received any emails at all, I would suggest the following:

* check your Spam folder, in case our emails ended up there
* check if you have any filters in your email account that would make our emails skip your inbox

If you still don't see any emails, I would suggest reaching out to the administrator of your mail server and asking them to investigate why our emails don't make it from your mail server to your inbox.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Stuck in " We Couldn't log you in "
Asked by talhakhalid92:

I'm trying to get to my account , but i can't login to my account   
There is no mail in spam or any thing  
Any Guide?


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

Your Bitbucket Cloud account was deactivated because it was mistakenly marked as spam by our spam filters. Our apologies for the inconvenience caused by this.

I went ahead and reactivated it, could you please check if you can log in when you have some time?

Kind regards,  
Theodora


author: Nikola Perisic
body: Welcome to the community [@talhakhalid92](/t5/user/viewprofilepage/user-id/5432590) !

Were you able to login in the mean time? Reason that you were not (are not) able to login is because your account wasn't being active for some time.

Here is the reference with the same issue: <https://community.atlassian.com/t5/Bitbucket-questions/Stuck-in-quot-We-couldn-t-log-you-in-quot/qaq-p/2417702>

I will tag Atlassian for higher visibility, if you need to access your account right away, raise a support ticket for Atlassian to reactivate your account.


Tags: bitbucket-cloud

cloud
Issue logging to bitbucket.org
Asked by Danijel Marjanovic:

When attempting to login, i get the following error:

"You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again."

This happens repeatedly, even when using incognito tab in chrome.


Answers:
author: Nikola Perisic
body: Welcome to the community [@Danijel Marjanovic](/t5/user/viewprofilepage/user-id/5432480) !

Usually, this is because your account was inactive for some time and Atlassian will deactivate it in order to maintain clutter-free environment.

You can refer to this page here: <https://community.atlassian.com/t5/Bitbucket-questions/Problem-login-to-bitbucket-org/qaq-p/2502382>

I will tag Atlassian for higher visibility.

If this doesn't suit you, you can raise a ticket for Atlassian to reactivate the account for you.


Tags: unknown-hosting-type
The pipe bitbucket-pipe-release:5.6.0 fails to commit changes to the master branch
Asked by dillan:

I'm working on creating my first Bitbucket Pipe (<https://bitbucket.org/dillan/spectral-pipe>) and following the steps described in the documentation. When attempting to release I go to merge into \`master\` when trying to Push and Tag the release.  

It successfully goes to Docker Hub, but changes (e.g. CHANGELOG.md, pipe.yml) are not being committed back to the repository, failing with the following pipeline error.  

![Screen Shot 2024-02-18 at 4.50.17 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/307107i2BB30D1F67957D9F/image-size/large?v=v2&px=999 "Screen Shot 2024-02-18 at 4.50.17 PM.png")  

/[bitbucket-pipelines.yml](https://bitbucket.org/dillan/spectral-pipe/src/master/bitbucket-pipelines.yml)

```
image:
name: atlassian/default-image:3

test: &test
step:
name: Test
script:
- npm install -g bats
- chmod a+x test/*.bats
- bats test/test.bats
services:
- docker

push: &push
step:
name: Push and Tag
image: python:3.10
script:
- pipe: atlassian/bitbucket-pipe-release:5.6.0
variables:
REGISTRY_USERNAME: $REGISTRY_USERNAME
REGISTRY_PASSWORD: $REGISTRY_PASSWORD
IMAGE: myImage/$BITBUCKET_REPO_SLUG
services:
- docker

pipelines:
default:
- <<: *test
branches:
master:
- <<: *test
- <<: *push

```

<br />

According to the bitbucket-pipe-release README Details section, I should:  

> Configure repository ssh key pair and it will be safely used in pipeline to push to current repository.

<br />

I've done so in Repository Settings \> Pipelines \> SSH Keys as shown below:

![Screen Shot 2024-02-18 at 5.10.17 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/307108iF551831A8888460E/image-size/large?v=v2&px=999 "Screen Shot 2024-02-18 at 5.10.17 PM.png")

I double checked, and I do have a \`master\` branch created. How can I address this issue so that the changes are committed back to the repo and the pipeline can complete successfully?


Answers:
author: Theodora Boudale
body: Hi Dillan,

If you have generated an SSH key pair, then you need to add the public SSH key to your account's SSH keys here: <https://bitbucket.org/account/settings/ssh-keys/>

Alternatively, you can also delete the SSH key pair from the Repository settings, and then the http proxy and http origin will be used to push (no configuration is needed from your side).

Please feel free to let me know how it goes.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Bitbucket cloud issues with API to un approving pull requests
Asked by Robert Pavlovskiy:

Hello. I'm writing app to unapprove all approved pull request when new commits are pushed to the pull request's source branch, or the pull request is updated to target a different branch.

When I make an API request to '<https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve>'. I am facing two cases:  
1. I have a pull request approved through the UI by myself(I'm participant), and when I try to unapprove this pull request through the API request, I am faced with the fact that the request is success , but the change is not displayed on the UI.  
2. I have a pull request approved through the UI, and when I try to unapprove through the request API, I encounter the following response  
{  
"type": "error",  
"error": {  
"message": "You haven't approved this pull request."  
}  
}  

What can this be connected with and how to solve it?  
Thank you.


Answers:
author: Saxea _Flowie_
body: [@Robert Pavlovskiy](/t5/user/viewprofilepage/user-id/5432308)

The approve/unapprove API, perform on behalf of the authenticated user. i.e. You can't approve for a different user.

Assuming you are using connect with a team workspace, the user is going to be the app user, not you.

To perform it as you, you can use app passwords.

comments: author: Robert Pavlovskiy
body: Thanks


Tags: bitbucket-cloud

cloud
error trying to do a search in reviews
Asked by IT Registration:

Hi,

Keep getting this error when trying to do a search in Crucible Reviews

### The requested resource cannot be found. {#toc-hId-1477890517}

#### There is no Action mapped for namespace /cru and action name search. Check if there is such an action name with such namespace defined in the xwork.xml and also if such an action class exists. Check also the log to see if the action class is successfully loaded. {#toc-hId--1270779949}

Any help would be appreciated.

Robert


Answers:
author: lpater
body: Hi Robert,

How exactly are you accessing review search? What is the url you see in your browser?

Review search is accessible as a part of quicksearch (which can be started in the upper-right quicksearch box). The urls should look like [](https://fisheye1.atlassian.com/qsearch?q=test&t=5)[https://fisheye1.atlassian.com/qsearch?q=test\&t=5](https://fisheye1.atlassian.com/qsearch?q=test&t=5).

comments: author: IT Registration
body: Hi Lukasz,

I start in Jira, select the project, go to reviews and the type a keyword in the search box beside the Reviews in Crucible title and then I get the error. The path is <https://servername.domain.com/cru/search?query=test>.

Thanks for your help.

Robert


author: lpater
body: Unfortunately it seems that there's a bug (tracked at [](https://ecosystem.atlassian.net/browse/FISH-659)<https://ecosystem.atlassian.net/browse/FISH-659>) where that searchbox will lead to an incorrect url.

You can use the workaround [/qsearch?q=QUERY\&t=5](https://fisheye1.atlassian.com/qsearch?q=test&t=5) url or start the search from Crucible directly until it's fixed.


author: IT Registration
body: Hi Lukasz,

thanks for all your help.

Robert


author: gustavo_refosco
body: Hi Robert,

Searching for the error message in our [Knowledge Base](https://confluence.atlassian.com/display/FISHKB/FishEye+and+Crucible+Knowledge+Base+Home) I was able to find the following document describing your error and proposing a resolution: [](https://confluence.atlassian.com/pages/viewpage.action?pageId=280690989)<https://confluence.atlassian.com/pages/viewpage.action?pageId=280690989>

According to it, this happens when a proxy is in place and some configuration need to be adjusted.

comments: author: IT Registration
body: Hi,

It does not fix my issue, I have no proxy in place. It's a simple integration with Jira/Agile, the rest of software seems to work fine.

Thanks for your help

Robert


Tags: fisheye-crucible-administration
Crucible/Fisheye: not all included directories being shown
Asked by Brent Webster:

My "AP" repository's branch/directory structure is as follows

/trunk/  
/branches/release/xxx  
/branches/..other stuff..  
/branches/reviews/

I'm interested in submissions on trunk and on "some" subbranches under '/branches/release/' and everything under /branches/reviews/. When I configured the Includes/Excludes path for this repository, the following was specified

Under Includes, it was left blank while under Excludes the following branches were defined:

/branches/3rdParty  
/branches/private/  
/branches/release/10.x/  
/branches/release/11.x/  
/branches/release/12.x/  
/branches/release/13.x/

This leaves only the latest release branch /branches/release/14.x/ but when I try and view the changelog via [](http://wifi-inspect.xxx.com/changelog/AP/branches/release?max=30&view=cru)[http://wifi-inspect.xxx.com/changelog/AP/branches/release?max=30\&view=cru](http://wifi-inspect.xxx.com/changelog/AP/branches/release?max=30&view=cru), it will display /branches and /branches/release but nothing under /branches/release/...

If I look under the 'Commit Graph' tab (i.e. [](http://wifi-inspect.xxx.com/graph/AP)<http://wifi-inspect.xxx.com/graph/AP>), I can see submissions made to /branches/release/14.x/xxxxx and from there I can select "Go to changeset" and see the deltas/diffs of the files that were submitted. For each file, the entire directory path is shown and each subdirectory is individually selectable. (i.e. [](http://wifi-inspect.xxx.com/changelog/AP/branches/release/14.x/14.1.1.0/stuff/all_ppc_cards)<http://wifi-inspect.xxx.com/changelog/AP/branches/release/14.x/14.1.1.0/stuff/all_ppc_cards>) but nothing happens if I select these subdirectories.

Note: The repo was setup with "Store Diff Info" enabled.

Ideas?


Answers:
author: Gretchen
body: Under Excludes (but not includes) you can use the anti-glob wildcards (I think that's what they are called) Try adding

/branches/release/13.x/\*\*

instead of just

/branches/release/13.x/

It may actually be getting an error on the path without the wildcards which may be blocking the indexing.

One other thing to check out. Look to see if you're running into licensing issues. We hit this a month or so ago. It seems that there were more users who had historically committed to our svn repo than we were licensed for. (Yes it looks at the commit names as unique current users regardless of how old the checkin is).

Because the license levels were exceeded the indexing never completed and thus branches never appeared in the viewer.


Tags: fisheye-crucible-administration
Adding Stash repository with custom name
Asked by Sean Wisely:

Our Stash repositories are labelled on a per Stash Project basis e.g.

Project 1

- Server

Project 2

- Server

At the moment when you add Server from Project 1 it automatically gets the name "server". Not very informative or helpful.

When you then add Server from Project 2 you get the option to specify a name because this would cause a duplicate.

Is there a way to specify a name for the repository when using the Stash integration for the first addition? At the moment we have to add our Stash repositories manually because of this issue.

Even defaulting to Project-1-Server would be better.


Answers:
author: Piotr Swiecicki
body: Hi Sean,

I'm guessing you are referring to this [](https://confluence.atlassian.com/display/FISHEYE/Integrating+FishEye+with+Stash)<https://confluence.atlassian.com/display/FISHEYE/Integrating+FishEye+with+Stash>FishEye and Stash integration. Unfortunatelly there is no way at the moment to specify different name when creating a repository of unique name in FishEye. Only when existing FishEye repository of conflicting name is found application asks for a different name.

Feel free to raise a feature request in the jira.atlassian.com/browse/FE project if you think is something more users would be interested in.

Hope that helps,

comments: author: Sean Wisely
body: Thanks I have raised.

[](https://jira.atlassian.com/browse/FE-5264)<https://jira.atlassian.com/browse/FE-5264>


Tags: fisheye-crucible-administration
Cant upload file for pre-commit review (crucible)
Asked by Rahul Aich [Nagra]:

Hi

I created a patch file from our perforce repository,

I now want to perform a pre-commit review on the patch file; when i try to load the file using pre-commit reviews option, it fails and gives me this error

How do i proceed from here? I tried several encoding but it is still the same.

My patch file is named patch.txt

No files found in patch. If it is not a valid patch file, upload it as an attachment.

Rahul


Answers:
author: lpater
body: Hi Rahul,

how are you creating the patch file?

For Perforce you should be using:

Crucible 3.3.1 or earlier: `p4 diff -dcu > patch.txt`

Crucible 3.3.2 or later: `p4 -z tag diff -du > patch.txt`

See [](https://confluence.atlassian.com/display/CRUCIBLE/Creating+patch+files+for+pre-commit+reviews)<https://confluence.atlassian.com/display/CRUCIBLE/Creating+patch+files+for+pre-commit+reviews>for more details


Tags: review