youngmon/atlassian-qna huggingface dataset:
Artifacts encryption
Asked by Mark Hegedus:

Are Bitbucket Pipleines artifacts encrypted at rest? I can't find any information about this in the documentation. I wonder what the best practice is when dealing with potentially sensitive artifacts (for example Terraform plan files, which might contain sensitive data in plain text).


Answers:
author: Caroline R
body: Hi, [@Mark Hegedus](/t5/user/viewprofilepage/user-id/4556522)! Welcome to the community!

Bitbucket Cloud data at rest is currently not encrypted, however, we are in the progress of supporting this and the work is estimated to be completed by Q3 of 2021. This is referenced on our [roadmap](https://www.atlassian.com/roadmap/cloud?selectedProduct=bitbucket) under the 'Security' section:
> Bitbucket encryption at rest  
> Support for ensuring your repositories are encrypted when on disk

While this is not implemented yet, you can use the secured variables to store the sensitive data instead of directly writing it into the file. From the repository, you can [manage repository variables](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/) in**Repository settings** \>**Pipelines** \>**Repository variables**.

Secure variables are encrypted at rest using aes128 symmetric keys and stored in AWS DynamoDB tables in us-west-1. They're only ever sent over-the-wire via TLS (encrypted in transit). Bitbucket Pipelines is run in a SOC2 compliant environment, with the compliance report available via <https://www.atlassian.com/trust/compliance>

The variables are injected into the Docker containers environment variables list, making them available to all processes run from bitbucket pipelines.

Variables are masked in logs when uploaded, so log data never contains sensitive information; however anyone that can modify your build process could encode the value, for example using base64, and that base64 encoded value will not be detected and masked.

I hope this helps, but do let me know if you have any questions.

Kind regards,  
Caroline

comments: author: Mark Hegedus
body: Thank you for your answer. Unfortunately this is not a solution for my use case - working with Terraform -, but I am glad a solution is on the way, and apparently will soon be ready.


author: Mark Hegedus
body: [@Caroline R](/t5/user/viewprofilepage/user-id/3934006)Can you provide any update on this issue? The roadmap you linked still says Q4 2021.


author: Andreas Steinwachs
body: For anyone else reading this, encryption at rest was announced in March 2022.

See <https://bitbucket.org/blog/bitbucket-cloud-is-encrypted-at-rest>

Quote: "We are happy to announce that work has been completed and ***all*** source code and customer data stored on Bitbucket now resides on hosts with encryption at rest."


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Unable to find the bitbucket-pipeline runner working directory
Asked by stb-build:

I have configured linux server as runner to my workspace it is running and online. I added bitbucket-pipeline.yml file to one of the repo and started the build, when i login to the runner server i can see it is running as docker container as "docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner". Now when i check the logs it is showing the cloning path as '/opt/atlassian/pipelines/agent/build' but did not find that path i can only "/opt/atlassian/pipelines/runner " path. kindly Please suggest me where the code is cloning.


Answers:
author: Theodora Boudale
body: Hello,

The following container that you mentioned you can see:

```
docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner
```

is the Docker container of the runner.

When you run a Pipelines build on your local runner, another Docker container starts specifically for the build (which gets removed once the build is finished). The repository is cloned in */opt/atlassian/pipelines/agent/build* in that container. However, I'm afraid that it's not possible to access the clone directory from the host machine.

Could you please let us know why you are trying to access it, and what are you trying to achieve?

Kind regards,  
Theodora


Tags: bitbucket-pipelines

cloud
Bitbucket Authentication Fail
Asked by JJ???:

Hello,

I cannot clone my repository from bitbucket due to invalid password.

As a site admin for Jira, Confluence and Bitbucket, I cannot reset my password on my own.

An email with the recovery link does not arrive to my mailbox as well...

I went on the below page to reset my password. However, it requires my current password.

<https://id.atlassian.com/manage-profile/security>

Is there any way that I can recover my password?

Thanks,


Answers:
author: Caroline R
body: Hi, [@JJ???](/t5/user/viewprofilepage/user-id/4542902)!

Thank you for reaching out to Atlassian Community!

I performed an analysis on our logs and verified that your email had a block on the server that prevented emails from being sent to this recipient:

```
550: 550 5.1.1 Requested action not taken: mailbox unavailable 
```

This is the reason you didn't receive the email with the recovery link. So, I went ahead and removed the block from this email. Could you please test this again and confirm if you receive the email now?

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

Kind regards,  
Caroline

comments: author: JJ???
body: I have received the email and reset my password.

Thanks,


author: Caroline R
body: Hi, [@JJ???](/t5/user/viewprofilepage/user-id/4542902)!

Thanks for your confirmation, I'm glad to know everything is working as expected now.  
Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Cannot receive Invitation Email
Asked by hoangbxrikkei:

Hi,

Seen many posts on this and assume the same is happening here. Is the email address \<email_removed\> on a bounce list as they are not receiving invite to repositories?

Any assistance much appreciated.


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

I checked in our system and I saw a hard bounce event for the email you mentioned with the message
> 550: 550-5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient's email address for typos or unnecessary spaces

I went ahead and removed the email from the suppression list, could you please ask one of your admins to resend any invitations now? A new invitation needs to be sent, as the previous ones were dropped.

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

Please feel free to let me know if things are ok now and if you need anything further.

Kind regards,  
Theodora


Tags: bitbucket-cloud
Unable to access the pullrequest option
Asked by Sasikala Subramanian:

### Below is the error, i am receiving it when i access it. {#toc-hId-1284042089}

### Something went wrong {#toc-hId--523412374}

Wait a few moments, then try again. If this keeps happening, check the current operational status of Bitbucket Cloud at [bitbucket.status.atlassian.com](https://bitbucket.status.atlassian.com/)

`8df30010802b432ea9c3a9d1d9bb1529`

If the problem persists, contact Support and include the code displayed above, if one is provided.


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

I checked the error code you provided in our system, but I'm afraid I couldn't find any events associated with it. I also checked our logs for any website events by your user, related to pull-requests and with a status of 5xx, and that search didn't yield any results either.

Could you please let me know:

* Does this issue occur while you are logged in to the Bitbucket Cloud account that has the same email as your community account?
* I can see in our system that this account has access to repos of a workspace that is on a paid billing plan. Does the pull request that has this issue belong to a repo of that workspace?

If the pull request belongs to a repo owned by a workspace on a paid billing plan, you can create a ticket with the support team and provide them with the URL of the PR, so they can investigate further. You can create a support 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 feel free to let me know if the issue occurs when you're using a different Bitbucket Cloud account (with an email different than your community account). I will let you know then what info we need to investigate further.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Possible to show Repository descriptions in Project repository listings?
Asked by Paul Kirkaas:

We use JIRA and Bitbucket on the bitbucket/atlassian cloud. JIRA has great options for customizatin - but I don't know if it is possible to customize the web views on the bitbucket cloud.

In particular, we have several hundred repositories on bitbucket for multiple types of applications, all of which appear in the multiple pages in main <https://bitbucket.org/dashboard/repositories> view and it's a bit overwhelming to navigate - particularly since no one bothered to add descriptions to the repos.

So I painstakingly went through them all, added useful descriptions, then created multiple projects to categorize related repositories together.

But when I go to the repository listings view in my new projects - the repositories are listed WITHOUT the descriptions I painstakingly added.

Is there any way in the web app to customize/set the project Repository Listing page to display the repository description as well as the repository name, size, etc?


Answers:
author: seanaty
body: Unfortunately there is no way to customize this. IMO there should be a project filter on the list of repositories for a given workspace. This page includes the repository descriptions.

<https://bitbucket.org/{workspace}/workspace/repositories>


Tags: bitbucket-cloud

cloud

project

repository

request
Bitbucket Code Search Not Working
Asked by nwallace:

I am getting an error when I use the code search on Bitbucket cloud.

"Expecting value: line 1 column 1 (char 0)"

Is there something that has happened in the last few days that changed something?

Thank you for your help.


Answers:
author: seanaty
body: Do you have a screenshot or more details?

comments: author: nwallace
body: This is all I get.

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


author: Luke Choe
body: Could you share your Bitbucket username/workspace if you don't mind sharing?

Thanks,  
Luke


author: nwallace
body: I can't because it is a private company setup, however I just opened a support ticket with all those details and more info. Thank you for your help.


author: s_shima
body: I have encountered the same problem, but if I specify the repository using "repo:", it seems to work fine.


Tags: bitbucket-cloud

cloud
repository size exceeds limit
Asked by Priya:

hii..

My repository size becomes over the limit of 4gb. So I reset the branch to commit before the large commit and gave git push --force. The large files were deleted now but repo size if still 4.8 gb.


Answers:
author: Caroline R
body: Hi, [@Priya](/t5/user/viewprofilepage/user-id/3813974)!

I ran the GC against your repository and managed to reduce its size to 1.2 GB.

I also would like to share with you that we already have a feature request to allow users to mark repositories for git GC, as you can check here:

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

Please consider adding yourself as a watcher to receive the updates as we make progress with this. If you are not familiar with our Feature Request Policy, you can read more about it [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

Feel free to share any additional questions or concerns regarding this case.

Kind regards,  
Caroline

comments: author: Priya
body: Thanks Caroline!!!


author: Harsh Sharma
body: Hello [@Priya](/t5/user/viewprofilepage/user-id/3813974) ,

Thank you for reaching out to Atlassian Community!  

Doing a force push after rewriting history locally will mark the remote repo with unreferenced objects and replace it with what you have pushed. The size will increase because it includes the local size and your remote size. In such cases, we run the garbage collector to remove the unreachable objects to reduce repository size. Kindly contact support in order to get GC executed on your repo.

Additionally, I would like to suggest to refer this [KB page](https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/) that explains the steps to reduce the repository size.

Moreover you can enable the Lab under personal account settings "Delete dangling commits when over size limit", use below steps to enable the lab.

* Hover over "**Your profile and personal settings** " at the bottom left on the Bitbucket Landing page, now click on tab "**Personal Settings**".
* Under personal settings go to "**Labs** " tab and there will be lab with the name "**Delete dangling commits when over size limit**".
* Just enable this (it will perform the automatic garbage collection in future when a force push or history re-write is performed).  

Hope that helps!!

Thanks!  
Harsh Sharma

comments: author: Priya
body: Thanks Sharma...


Tags: bitbucket-cloud

cloud
Not receiving Accept Repository Transfer Email
Asked by Scott Pfeifer:

A coworker is attempting to transfer a repository to me and is seeing the "Repository transfer in progress message" but I am never seeing the email to accept the transfer. I checked spam/junk folders and didn't see anything and to double check there isn't something amiss with my email, I transferred a repo from by personal account to this same account and I immediately got the email.

The only thing I can think of that could be a problem is that I am currently on a free plan but my co-worker has a premium plan.


Answers:
author: Scott Pfeifer
body: The emails were being placed in "quarantine" by outlook. I am not sure why transfer request emails from one person were not quarantined but others were. Regardless, it had nothing to do with bitbucket.


Tags: bitbucket-cloud

cloud
SourceTree sync settings
Asked by Timur Zanagar:

Hi folks,

Where are the SourceTree settings saved (Windows). I would like to sync the Repository entries with my Dropbox.


Answers:
author: stevestreeting
body: There are 2 locations:

* %USER%\\AppData\\Local\\Atlassian\\SourceTree - this is all our custom data like bookmarks lists, currently open tabs etc
* %USER\\AppData\\Local\\Atlassian\\SourceTree.exe_Url_somelargehash - this is where the options are stored (location is a .Net thing, hash is generated depending on where you install the binary)

HTH
Sourcetree doesn't show list of uncommitted changes
Asked by jayasimhan:

Hi,

I've been using Sourcetree on my Mac since it was released in beta. I use Mercurial for source control. Recently I've not been able to get the list of files in uncommitted changes. I only get to view the changes. I'm able to see the list for committed changes. Is it something expected or is something wrong with my setup? I've not made any settings changes to Sourcetree.

The problem is that its hard to merge conflicts and see which files have conflicts. It would be great if you can help.


Answers:
author: jayasimhan
body: Found it. Its a non issue. The file list section was shrunk to 0px width. I had to drag it out of sidebar.

comments: author: KieranA
body: Hi Jayasimhan,

Sorry about that, there is an open issue to fix this problem to make it more obvious that section is closed.

Glad you've got it working.

Thanks
Google Drive icon file issues with SourceTree
Asked by Tim Scullin:

I am having some issues with the google drive 'icon' files.

I get the error:

'git status' failed with code 128:'fatal: Reference has invalid format: 'refs/Icon

Ive updated the global ignore list and the git repo ignore list but no luck..

Is there anything else I can do?

Thansk!

Tim


Answers:
author: Tim Scullin
body: Ok so git repo's get corrupted if you add *any* other files inside .git?

And since we can't set google drive to ignore it will always error :( Only way would be to use some kind of script that would detect and delete icon files in .git folders, wait for google to set up ignore settings or move git repos out of google drive..

I think the latter may be the way to go.

Thanks!

comments: author: stevestreeting
body: Not any other files, there are some locations you can add things (such as hooks), but you're definitely not allowed to add random files inside of the .git/refs area because thats effectively a database of branches / tags etc and any new files will be iterepreted as the same thing, which is why they corrupt the repo.


author: stevestreeting
body: Ok, if Google Drive is adding files of its own inside the .git folder, it's always going to corrupt Git repositories. The only answer if you can't stop Google Drive doing this is not to put git repo's there.


author: Manuel Klarmann
body: by deleting the Icon? file in .git I got it working again - but this is really just a temporary solution. Any idea for permanent?

comments: author: KieranA
body: It's not a question for SourceTree unfortunately as it's Google Drive causing the problems with your .git directory. It sounds like the solution is to not use Google Drive as it adds metadata to important directories which shouldn't be changed in any way.


author: Tim Scullin
body: It's in a local google drive folder and the drive app creates "Icon" files in each folder which is used to update the folder icon (uploading, complete, shared etc). So each folder created in drive gets the Icon folder.

And thats what "refs/Icon" is refering to.

I want to ignore the icon file, but I can't see a work around..

And there's no way to do ignor folders in google drive either :S

comments: author: ellery-mckenzie
body: I wonder if we could do some file permissions trickery so that google drive only has read access to the repository?


author: stevestreeting
body: I'm not sure it's actually the files on disk (working copy) that are the issue here, there seems to have been an invalid reference set in the repository itself, under .git/refs/Icon, which is causing the repo to be corrupt. Do you know how those got there? It's usual to have just heads/remotes/tags/stash dirs underneath .git/refs.
This is not a valid source path / URL.
Asked by Joseph Jennings:

I've been using sourcetree for over a year with no problems. I had issues running brew update and ended up reinstalling brew. Since then I get the message "This is not a valid source path /URL" when trying to clone any repository from our gitHub repos using SourceTree. The details show this:

launch path not accessible

launch path not accessible

abort: repository git@github.XXXXXX.com:ion-testing/ion_ui_automation_lego.git not found!

launch path not accessible

I have access to the gitHub repo via a webbrowser and I can clone down repos using command line git.

Any thoughts on why SourceTree thinks the URL is not valid/accessible?

Also, I've lost access to all my currently cloned repos in SourceTree (I can still interact with them with git command line) , I get this error when trying to open them in SourceTree:

'git log' failed with code -1:'launch path not accessible

Thanks in advance for advice!

-Joseph


Answers:
author: Joseph Jennings
body: This issue was that somehow my version of git was updated and sourcetree did not get updated to point to an available version of git. I found the solution here: <https://coderwall.com/p/cjovtq>


author: Michael Stewart
body: I also had this error because I hadn't enabled git support.
Error encountered when I'm offline / not at work
Asked by Matthieu Balmes:

Hi,

I installed SourceTree on my laptop at work where we have multiple remote drives mounted and somehow SourceTree chose to store some of its configuration in one of these drives.

Now, when I'm not at work, everytime I try to open a panel in SourceTree by clicking on one of my projects versioned with Git, or by trying to commit, I get an error popup saying :

'Summary failed' with code 128: fatal: unable to access H:\\/.config/git/config': Invalid argument.

I tried to find where to change this in the settings but couldn't find it.

Please help...


Answers:
author: Tomas Gradin
body: SourceTree is trying to read $HOME/.config/git/config

It seems your home is set to H:\\ and this is why it fails. Try changing it.


author: KieranA
body: Hi Matthieu,

It sounds to me like you're using a network file share as your repository location that SourceTree is trying to use. As your H:/ drive is no longer connected SourceTree is trying to access that for loading/committing your project.

Check your H:/ drive is available still, however if it's not and you have repositories within SourceTree you'll probably want to remove them. Alternatively you can change the SourceTree settings so it doesn't query remotes.

Cheers


Tags: git
Does SourceTree supports long path names under Windows ( > 256 chars )
Asked by Martin Papy:

When I check out the source code of Confluence on Windows, I have 3 files missings. It seems to happen because those files are located in a very far subdirectory.

Is there a way for SourceTree to support long file names under Windows ? I know there are some workarrounds when using Git under Cygwin (it is using the UNC annotation `\\?\)`  


Answers:
author: Damien Brock
body: I suggest you try long path tool its good to deletes, copies and renames files or folders.


author: Corey lean
body: I dont know about sourcetree but windows here might be creating problem for you. Since it does not allow files larger than 255 charcters. To solve this error you can try GS Richcopy 360. Stop wasting your time on different solutions. Go for it!


author: stevestreeting
body: We mostly support the Msys port of Git right now since that's the one you get from [git-scm.com](http://git-scm.com), but looking at it it seems that both might have the ability to use the \\\\?\\ workaround. Have you tried using that as a destination when cloning?

Even if that works you'd probably still have issues if you tried to manipulate those particular files. This is a bit of an edge case but we might be able to add support for that later, please raise a feature request at <https://jira.atlassian.com/browse/SRCTREEWIN>


Tags: windows
update-server-info on the server?
Asked by Didier Malenfant:

I switched my login info into my Kiln repository from SSH to HTTPS and get the following error:

"git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin develop:develop master:master

Pushing to https://\*\*\*\*\*\*\*\*.kilnhg.com/Repo/Repositories/Group/\*\*\*\*\*\*\*\*\*\*

fatal: https://\*\*\*\*\*\*\*\*.kilnhg.com/Repo/Repositories/Group/\*\*\*\*\*\*\*\*\*/info/refs not found: did you run git update-server-info on the server?

Completed with errors, see above"

(I replaced some URL info with \*\*\*\*)

which seems to be indicating a login error. SourceTree can login to the Kiln server though as it seems to retrieve the list of repositories ok in the 'Repositories on all of your hosted accounts'.

How do I go about diagnosing the issue here?


Answers:
author: KieranA
body: Hi Didier,

It sounds like when you changed from SSH to HTTPS you may have accidentally changed the repository name slightly or the account name in the URL. Just double check by using Kiln that the repository URL is correct. The following image shows where you can find it:

![](http://img189.imageshack.us/img189/5437/screenshotzd.png)

Make sure it's that exact URL and try again if it even slightly differs.

In some cases you can't just switch the "ssh://" to "https://".

Cheers


author: Didier Malenfant
body: I could have sworn I cut and pasted it right from there but obvisouly this is user error on my part.

The path to the git repository via HTTPS is /Code/ and not /Repo/

Thanks for the quick response.