youngmon/atlassian-qna huggingface dataset:
Looking for a solution for Bitbucket storage migration to cloud AWS
Asked by Usha Kiran Vissapragada:

Hi team,  
We want to run Bitbucket server on AWS for High Availability to achieve deployment in Multi Availability zones. We are looking to use AWS EFS service as it is Highly available file system service on AWS. But, when looking through Atlassian documentation, the only thing we noticed regarding EFS is "You can't use Amazon Elastic File System (EFS) for Bitbucket server's shared home directory.  
What is Atlassian's recommendation to run Bitbucket on AWS with Multi region \& Multi AZ environment to achieve HIgh Availability \& Fault Tolerance?


Answers:
author: Pramodh M
body: Hi [@Usha Kiran Vissapragada](/t5/user/viewprofilepage/user-id/4688581)

Welcome to the Community!!

Have the NFS Server installed on VM with attached Disk, which then replicates the data to EFS if you need.

But you have to manage the NFS Server and all its resources monitoring via AWS Monitoring.

Let me know if you need any further inputs

Thanks,  
Pramodh

comments: author: Usha Kiran Vissapragada
body: Hi Pramodh,  
Thanks for your response on our query.   
In such case to to run Bitbucket on AWS with Multi region \& Multi AZ environment :   

Could you please clarify on the below things:   

1. Do we need to install NFS server in each Availability Zone (AZ)?  

2. If need to install NFS in one AZ and EFS for replication in other AZ, then read \& write operations will be done in NFS? or EFS also ?  

3. If possible, can you share us a sample documentation \& a simple diagram which can explain more in detail about this architecture . Also, Please note that the existing Bitbucket Data Center migration page has single AZ deployment   

4. As we need to implement a multi-region \& multi-AZ Bitbucket data center deployment to achieve High Availability \& fault tolerance. Please guide/suggest on this requirement standards   


author: Pramodh M
body: Hi [@Usha Kiran Vissapragada](/t5/user/viewprofilepage/user-id/4688581)

It depends on NFS Server Architecture if it's standalone, there's no need for AZ otherwise you can go with multiple AZ with at least two nodes.

Only NFS will be read and written, EFS will be used as backup here

Here's the Reference for NFS Installation

<https://bitbucket.org/atlassian/atlassian-azure-deployment/src/master/bitbucket/scripts>

Thanks,  
Pramodh


Tags: bitbucket-cloud

cloud
How to create an app password?
Asked by AlexGorobets66:

Hi,  
I was notified that I will need an "app password". The description says to add it under "Access management". There is no "app password" under Access Management whatsoever.  
Any advice, what should I do?


Answers:
author: hiro
body: I don't have such option. There's nothing under the question mark. What should no do?


author: Pramodh M
body: Hi [@AlexGorobets66](/t5/user/viewprofilepage/user-id/4722900)

Welcome to the Community!!

Navigate to bitbucket.org and login to your account

Once you are though that

Follow the steps here

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

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

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

Give the access based on requirement or select the one's which is as shown below![ZQ4.png](https://community.atlassian.com/t5/image/serverpage/image-id/179254i3EBC9A9A4DCD2938/image-size/large?v=v2&px=999 "ZQ4.png")

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

Use is for authenticating with you repo

Thanks,  
Pramodh

comments: author: Pramodh M
body: Hi [@AlexGorobets66](/t5/user/viewprofilepage/user-id/4722900)

Were you able to create the App Password


author: AlexGorobets66
body: Yes,

Thanks,


Tags: bitbucket-cloud

cloud
How to restrict users to access code rep by filtering mac addresses
Asked by subhakar palla:

Hi guys,

i want to restrict users to access code reps through mac addresses filtering.   

i.e., only a whitelisted mac addresses can access the code. If it is not in whitelisted then it should block.

Please suggest.


Answers:
author: Vishwas
body: Hey [@subhakar palla](/t5/user/viewprofilepage/user-id/4722431)

Welcome to Atlassian Community !!

No we can not do that yet, there is a feature request open please check that and provide an vote there <https://jira.atlassian.com/browse/BCLOUD-14199>

But bitbucket access to private repository can be restricted for IP address in premium plan where we can do whitelist for IP Address please check the doc here <https://support.atlassian.com/bitbucket-cloud/docs/control-access-to-your-private-content/>

Regards,

Vishwas


Tags: bitbucket-cloud

cloud
How can i enable repo's 300+
Asked by Thomas Colpaert:

How can i enable repo's 300 +?

Thx in advance


Answers:
author: Caroline R
body: Hi, [@Thomas Colpaert](/t5/user/viewprofilepage/user-id/4722423), welcome to the community!

To give you some context around this behavior, this limit is set to prevent abuse, requiring us to validate if it's an actual person with a real need for that. I went ahead and exempted your workspace, so you should be able to create more than 300 repositories now.

Please let me know how it goes and feel free to share any additional questions or concerns regarding this case.

Kind regards,  
Caroline


author: Dirk Ronsmans
body: Hey [@Thomas Colpaert](/t5/user/viewprofilepage/user-id/4722423)

i'm going to link you to this question:

<https://community.atlassian.com/t5/Bitbucket-questions/Enable-more-300-repo/qaq-p/1919197>

It appears the 300 limit is set to avoid abuse so they need to verify you as an actual person to allow the limit to be lifted.

Since you are on the free plan you can't open any tickets so I'll escalate this question to the Atlassian Team so they can take a look here.


Tags: atl-rvw

bitbucket-cloud

cloud
Request for Garbage Collection
Asked by Mikina:

Hello!

We are having issues with garbage collection on one of our repositories

We have enabled the Garbage collection feature in the labs, but even after we reverted back to the largest file commit from history and forced push the changes, we are still unable to push back the rest of the repo. Can I please ask for manual garbage collection, if that fixes the issue?

Or, can we please get an option to push above 4gb limit? We have run some cleaning on the repo, converted more files onto LFS and the repo should now be small - after pushing the whole repo to another git provider, the whole size is only 1gb git and 3gb LFS, so that should not be an issue. We would love to push the repo back to bitbucket and continue working here.

Thank you!


Answers:
author: Norbert C
body: HI [@Mikina](/t5/user/viewprofilepage/user-id/2863850)

Thank you for contacting Atlassian Community. My name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet you!

Please excuse me for the late reply. I've already run the GC for you on 24/1, but I forgot to update this ticket. The size has decreased from 4GB to 1.2GB.

<br />

Unfortunately it's not possible to run a GC by yourself, yet. Currently we have a feature request for this as you can see in the link below:

\* [BCLOUD-11593 - Allow users to mark repositories for git gc (BB-13894)](https://jira.atlassian.com/browse/BCLOUD-11593)

Our development team will give a first-hand update on that ticket if there's any progress made so I would suggest keeping a watch and vote for it.

Do note however that there's no ETA on enhancement request, and all enhancements are implemented with this policy in mind: [Implementation of New Features Policy - Atlassian Documentation](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)  

Please let us know if you need any further assistance.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support

comments: author: Mikina
body: Thank you, that was exactly what we needed, the repository is all right now.


author: Norbert C
body: Perfect, you're welcome :). I'm glad to hear I was able to help.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


author: Vero Rivas
body: Hi [@Mikina](/t5/user/viewprofilepage/user-id/2863850)

Look at this post, maybe can help you

<https://community.atlassian.com/t5/Bitbucket-questions/Garbage-collection-Request/qaq-p/1787882>

Cheers

comments: author: Mikina
body: Hello,

while the post mentions exactly the same issue, the accepted answer is "We have ran garbage collection on your repository, it should be ok now". Which would help me, but there is no way how to run it manualy from our side and it has to be requested by posting a question (such as this one) and then someone from Atllasian Team has to run garbage collection on our specific repository.

Thank you for your answer, but I don't see how will looking at someone else's request for garbage collection for their repository help me with my repository. Maybe I'm just missing something, though.


Tags: bitbucket-cloud

cloud

garbage-collection
Why enabling pipelines in a repository requires SSH setup?
Asked by Bitwise DEVS:

As far as I remember, you are not allowed to enable Bitbucket Pipelines in Cloud unless you enable **SSH** in **Personal Settings**. Why is such configuration is required or recommended?


Answers:
author: Pramodh M
body: Hi [@Bitwise DEVS](/t5/user/viewprofilepage/user-id/3162676)

There's no setting like that!

Maybe your workspace is enforced to have 2FA in place which is causing this result

Here's a public repo I just tested it out without SSH Key --\> [Link here](https://bitbucket.org/devtoolsindia/pipe-1/addon/pipelines/home#!/results/1)

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

May I know the Bitbucket pipelines you have enabled has some tasks related to SSH Authentication?

Thanks,  
Pramodh

comments: author: Bitwise DEVS
body: Ohh yes, I do enable 2FA. Is that the whole reason? I do not have SSH authentication in my pipelines and its steps.


author: Bitwise DEVS
body: [@Pramodh M](/t5/user/viewprofilepage/user-id/3691224) But to enable pipelines we still need to enable 2FA, so its related.


author: Pramodh M
body: Yes, then 2FA is the reason!!


author: Bitwise DEVS
body: But why enabling pipelines need 2FA enable thus SSH setup became a requirements.


author: Pramodh M
body: No [@Bitwise DEVS](/t5/user/viewprofilepage/user-id/3162676)

We don't need a 2FA or SSH key to run pipelines!!

We need an SSH key in order to enable 2FA.

Can you please confirm whether you have added the SSH key?

Or try with adding an SSH Key and updating the 2FA setting, then work with repos you have in your workspace and all is working well and confirm once


author: Pramodh M
body: Maybe your workspace admin has made it required for the repos in your workspace

Try enabling 2FA and then running the pipelines?


author: Bitwise DEVS
body: My account is the owner and admin, I don't remember making it required in my repo, maybe because they were set to private.


author: Bitwise DEVS
body: Related question : <https://community.atlassian.com/t5/Bitbucket-questions/Cannot-create-Bitbucket-Pipeline-without-SSH-key/qaq-p/1729647#U1919841>


author: Pramodh M
body: Thanks [@Bitwise DEVS](/t5/user/viewprofilepage/user-id/3162676)

Yep, [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) has given the reason in the thread!! This is it.

To prevent abuse from misusing the Pipelines feature, these are some pre-checks that they have implemented.

So go ahead and enable SSH Key, 2FA on your account which makes it secure!!

Let me know if you have need any clarification.

Thanks,  
Pramodh


author: Pramodh M
body: FYI

I just created a Pipeline in my account with private access, I was able to run it.

May be if you are using the Bitbucket pipelines feature extensively, that is causing it to enable the SSH Keys


author: Bitwise DEVS
body: Great, many thanks! This is a helpful clarification.


Tags: bitbucket-cloud

cloud
Unable to add more than 300 repositories
Asked by Anshuman Tiwari:

I am getting this error while creating new repository "Your account now has more than 300 repositories. Don't worry! You can still create more for free, but in order to prevent Bitbucket misuse, we need to hear from you at - <https://support.atlassian.com/bitbucket-cloud/>."   

Kindly help and let me know how can I create new repositories.  


Answers:
author: Theodora Boudale
body: Hi [@Anshuman Tiwari](/t5/user/viewprofilepage/user-id/2776146),

We have this limit of 300 repositories for workspaces on the free plan to prevent abuse in Bitbucket Cloud, so that the admin of the workspace reaches out to us and we validate that it's an actual person with a need for more than 300 repos. I went ahead and exempted your workspace from that limit, so you should be able to create more repos now.

Please feel free to let us know if the issue is resolved now and if you need anything further.

Kind regards,  
Theodora


author: Pramodh M
body: Atlassian team, this user has created multiple tickets on creating 300+ repositories, this may be spam. Please look into it


author: Pramodh M
body: Why are you creating multiple tickets?

Is this a spam

comments: author: Anshuman Tiwari
body: I have got no response for my previous tickets or comments. I have not been able to use my account and it's frustration. It is costing me and my clients business loss. Hence it's a cry for help.


Tags: atl-rvw

bitbucket-cloud

cloud
Question on some Bitbucket Branch Permission
Asked by Bitwise DEVS:

I am currently reading the documentation [here.](https://support.atlassian.com/bitbucket-cloud/docs/suggest-or-require-checks-before-a-merge/)

But it seems incomplete thus I want to ask these checks.

![Screenshot 2022-01-22 110829.png](https://community.atlassian.com/t5/image/serverpage/image-id/179189iEF0B46792ACBC041/image-size/large?v=v2&px=999 "Screenshot 2022-01-22 110829.png")

I am assuming that the second one which is **Check for unresolved pull request tasks** means that it will check for any pending PR the author has? But which branch it will check, is it the specified branch only or on all branches? Thanks


Answers:
author: Pramodh M
body: Hi [@Bitwise DEVS](/t5/user/viewprofilepage/user-id/3162676) [@Bitwise DEVS](/t5/user/viewprofilepage/user-id/3162676)

While approving a pull request, you can approve the pull request, request changes, or just make a comment.

So the red ones you have marked are in reference to request changes.

If the approver requests changes, these are relevant and straightforward on how it works according to what it says!!

Let me know if you have any further queries

Thanks,  
Pramodh

comments: author: Pramodh M
body: FYI

More here

<https://support.atlassian.com/bitbucket-cloud/docs/bitbucket-cloud-premium-plan>


author: Bitwise DEVS
body: Thanks, I already get the request changes which basically means the PR still has some room for improvement or some modification that needs to be done. However can you explain the scenario on **Reset request changes when the source branch is modified**? What is the benefit of it?


author: Pramodh M
body: It works similar to the one with **Reset approvals when the source branch is modified**

If there are any changes to the source branch of the pull request, the pull request updates with no request changes and the reviewers have to review and approve the pull request again.


author: Bitwise DEVS
body: Great! many thanks


Tags: bitbucket-cloud

cloud
Switched credentials as instructed now can't access repo?
Asked by Steve Logan:

Per the message about changing credentials if you use bitbucket over https, we followed the steps <https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity> - and now we can't access our repos.

To test the credentials we added them under **Create app password** . Then from git bash tried git fetch / git pull. Worked fine, but didn't prompt for new credentials. Opened Windows Credential Manager, found the bitbucket entry as git:https://\[company\]@bitbucket.org. Deleted that. git fetch now pops open the Atlassian window for credentials, but the new ones created under "create app password" give a fatal error.

When looking in Windows Credential Manager I see two entries now - git:<https://bitbucket.org> with the new credentials and git:https://\[company\]@bitbucket.org with the old.  

What step(s) are we missing to get git bash / bitbucket / Jira on the same page with the new credentials?


Answers:
author: Norbert C
body: Hi [@Steve Logan](/t5/user/viewprofilepage/user-id/1536318)

Thank you for contacting Atlassian Community, I'm Norbert from Bitbucket Cloud Support, it's nice to meet with you!

I would like to ask if Curtis's suggestion has worked for you?

We're looking forward to hear from you.

Have a great day!

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


author: Curtis
body: You may have not given that App Password the correct permissions, for it to operate. You may need to create another one, testing the permissions until it works as expected, but doesn't have too many permissions either.

Another option, might be to create and use an [SSH key](https://support.atlassian.com/bitbucket-cloud/docs/set-up-an-ssh-key/) instead. The key can be used to either authenticate as a user, or added to a repository to grant access to that repository.


Tags: bitbucket-cloud

cloud
Enable more 300+ repo
Asked by PatricioSaldivar:

Hi!, I have this message when I try to create a new repo:

Your account now has more than 300 repositories. Don't worry! You can still create more for free, but in order to prevent Bitbucket misuse, we need to hear from you at - <https://support.atlassian.com/bitbucket-cloud/>.

I clicked on the link but I don't know what to do to enable it. I will appreciate some help with this!

Thanks


Answers:
author: Thomas Colpaert
body: Hi same problem over here


author: Caroline R
body: Hi, [@PatricioSaldivar](/t5/user/viewprofilepage/user-id/4721858), welcome to Atlassian community!

Just to give you some context around this behavior, this limit is set to prevent abuse, requiring us to validate if it's an actual person with a real need for that. I went ahead and exempted your workspace, so you should be able to create more than 300 repositories now.

Please let me know how it goes and feel free to share any additional questions or concerns regarding this case.

Kind regards,  
Caroline


author: Pramodh M
body: Hi [@PatricioSaldivar](/t5/user/viewprofilepage/user-id/4721858)

Welcome to the Atlassian Community!!

I have tagged the question to Atlassian, soon Atlassian team will reach out to you regarding the creation of 300+ repos

Thanks,  
Pramodh


Tags: atl-rvw

bitbucket-cloud

cloud
Any updates on when a new Bitbucket Server release is coming with ES min 7.16.2?
Asked by Kristian Lind:

Afaik ES 7.16.2 is using log4j 2.17  
<https://www.elastic.co/guide/en/elasticsearch/reference/current/release-notes-7.16.2.html>


Answers:
author: Stephen Garber
body: Hi Kristian,

Atlassian notes [here](https://confluence.atlassian.com/security/multiple-products-security-advisory-log4j-vulnerable-to-remote-code-execution-cve-2021-44228-1103069934.html) that they won't be able to update the bundled elasticsearch to a higher version due to licensing changes. The latest version of bitbucket includes mitigation for the log4j issue found inside elasticsearch. It's also included in the LTS version 7.17.4.

Here's the official ticket: <https://jira.atlassian.com/browse/BSERV-13088>

If you need to update elasticsearch you can always run elasticsearch on a separate server and connect it to bitbucket. Atlassian's got a great guide on how to do this here:

<https://confluence.atlassian.com/bitbucketserver/how-to-install-and-configure-a-remote-elasticsearch-instance-815577748.html>

Hope this helps.

comments: author: Kristian Lind
body: Thanks for the response Stephen.


Tags: bitbucket-server

server
Bitbucket Cloud and approvals
Asked by Phil Beckman:

Hello. Last weekend we finally completed our migration from an old Bitbucket Server instance to Bitbucket Cloud. Things went pretty smoothly but one last-minute difference we found is that with BB Server you could require that ALL approvers approve a PR before a merge and in Cloud it seems like the only option is to specific the number of approvers who must approve.

Am I missing something or is there no way in Cloud to require that ALL approvers approve regardless of the actual number of approvers?


Answers:
author: Mikael Sandberg
body: No, you are not missing anything, Bitbucket Cloud only has the minimum number of approvers, not all approvers. There is a request open to have that added, [BCLOUD-14510](https://jira.atlassian.com/browse/BCLOUD-14510), and I would recommend that you go and vote for it and follow it.


Tags: bitbucket-cloud

cloud
I no longer receive email notification from Bitbucket
Asked by Lo?c MERCIER:

Hi! I've been on Bitbucket for a few months, and I always received email notification until november. I stopped receiving email notification from Bitbucket without changing anything specific. There is nothing in my spam or anything like that.


Answers:
author: Caroline R
body: Hi, [@Lo?c MERCIER](/t5/user/viewprofilepage/user-id/4721479), welcome to the community!

I checked our logs and confirmed that your email had a block on the server that prevented emails from being sent to you. So I removed your email from this suppression list.

Could you please confirm if you receive the notifications now?

Kind regards,  
Caroline

comments: author: Lo?c MERCIER
body: Yes, it's working correctly now! Thx a lot!


Tags: bitbucket-cloud

cloud
Can't See Commit in List of Commits?
Asked by Jenny Smith:

This might be a very obvious question but I'm new to Bitbucket and am still learning. I got an email notification of a commit:

![Screen Shot 2022-01-21 at 9.34.15 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/179068i426A3B64E8D4E0E8/image-size/large?v=v2&px=999 "Screen Shot 2022-01-21 at 9.34.15 AM.png")

But when I look at our commits (all) I see my commit for ID: 89d2c08, not Alexandars:

![Screen Shot 2022-01-21 at 9.34.25 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/179069i4F9544D60A87954C/image-size/large?v=v2&px=999 "Screen Shot 2022-01-21 at 9.34.25 AM.png")

When I click into that commit ID, I don't see his changes at all:

![Screen Shot 2022-01-21 at 9.38.20 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/179070i880C43802F370EF8/image-size/large?v=v2&px=999 "Screen Shot 2022-01-21 at 9.38.20 AM.png")

What am I missing?


Answers:
author: Curtis
body: Most likely, the branch this commit was pushed to the repository on, was deleted from the repository, thereby deleting the commit.


Tags: bitbucket-cloud