youngmon/atlassian-qna huggingface dataset:
Changing git username in VS Code Atlassian extensio over Remote SSH connection
Asked by sandip:

Hi,

I'm using the Atlassian for VS Code extension with the RemoteSSH extension. I'd like to change the Bitbucket/JIRA username for a remote SSH connection in VS Code. How can this be done?

Best,  
Sandip


Answers:
author: Theodora Boudale
body: Hi Sandip,

First, allow me to say that I'm not familiar with the Remote SSH extension, could you please explain how you are using it with Atlassian for VS code?

Regarding the username: when you clone/pull from/push to a Bitbucket Cloud repository via SSH, you don't specify a username. Authentication is done with the SSH keys, so it's not very clear what username you want to change and why. Do you perhaps want to connect a different Bitbucket Cloud account in VS Code? We can better help you if you could share some more details about your setup and what you are trying to achieve.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

remote

ssh

user

vscode
Bitbucket Upgrade from 7.6.8 to version 7.6.12 -hook issue on pull req merge
Asked by vignes varan:

hook is configured to trigger a jenkins job which was working for the long time suddenly stopped working with pop up titled as "an error occurred" saying "Hook is not configured" on opening any open pull request.

direct commits to the repo triggers jenkins job.

but changes via pull request when merged is not notifying jenkins which was working earlier

we thought this version is causing such issue.

kindly give us a feedback

![2022-01-19_17h26_19.png](https://community.atlassian.com/t5/image/serverpage/image-id/178542i368EB02CF919524E/image-size/large?v=v2&px=999 "2022-01-19_17h26_19.png")


Answers:
author: George Eckman
body: Not an answer but we are also seeing this problem. How do we go about debugging it or cleaning it up?


author: vignes varan
body: \*

comments: author: abhishek v kadival
body: we are also affected with this issue , any workarounds .


Tags: bitbucket-server

server
Pulling error due to unusual file names
Asked by gbuday:

I got a tarball of files from a MacOS user. On my CentOS box I was able to git add the directory and I committed and pushed it to my Bitbucket repository.

Now, on a Windows 10 machine using git bash, I got the following error messages using git pull:

From bitbucket.org:gbuday/buday-r-d  
0bed1b5..1ef798d master -\> origin/master  
error: invalid path 'documents/logo/__MACOSX/budaygergo/gy?jt?s - k?p/._tools?'  
error: invalid path 'documents/logo/budaygergo/gy?jt?s - k?p/tools?/osszekot_bend500422_31069866.jpg'  
Updating 0bed1b5..1ef798d

and it aborted, it did not pull the files in the commit.  

What can I do now?


Answers:
author: Norbert C
body: Hi Gerg?,

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

Based on my observation your Git client is failing as it's trying to download files with a Hungarian accented characters (??), but it's failing as the combination of Git + Windows doesn't really support accented characters.

Can you let me know whether if you can successfully clone in a Linux or MacOSX? In case you can, can you rename the Hungarian accented characters to English characters? For example ?=a, ?=e, ?=i, ???=o, ???=u, Unfortunately \*nix systems and Git don't really like accented characters.

Please let me know how it goes.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support

comments: author: gbuday
body: Actually, the accented letters do not confuse bash and git on Windows, but the question mark in the filename. I removed these and now it works.


author: Norbert C
body: Hi Gerg?,

Thank you for your reply, we're glad to hear the issue is resolved for you.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

cloud
Upgrading bitbucket 5.1 to 7.19
Asked by TH IS:

Good day,

We are planning for the following scenario to upgrade our Bitbucket Server (currently installed on a Win 2012 R2) with external DB (MSSQL 2012).

We will start by cloning the current app server, create a new MSSQL server 2019 and backup -\> restore the DB on the new SQL server

Run an in-place upgrade of the OS to 2019 on the app server and upgrade Bitbucket to 7.19

Pointing the app server to the new SQL server and start testing functionality, integrations, add-on apps and so on.

The current setup (5.1 and SQL 2012) will still be running in prod while testing is ongoing on the new setup.

The one question we have now is that once everything is verified on the new setup we will then stop the current prod setup, make a final backup -\> restore of the DB, and a final delta sync of the application home directory from 5.1 to 7.19 and here where it's a little unclear whether the delta sync would actually work.

Found some info on this page regarding the content of the 'BUTBUCKET_HOME' directory: <https://confluence.atlassian.com/bitbucketserver/set-the-home-directory-776640890.html> and the part below

![bitbucket data folder.png](/t5/image/serverpage/image-id/178484iC8C3EBCD48AEEE80/image-size/large?v=v2&px=999 "bitbucket data folder.png")

where the Git repos and projects data are the most important thing. Is it only when no external DB is used this data is stored in this folder?

Is copy-pasting the content of the BUTBUCKET_HOME from 5.1 setup to 7.19 would suffice to make a fully synced app data?

Grateful for input and thanks in advance.

Kr,


Answers:
author: Fabian Lim
body: Hi [@TH IS](/t5/user/viewprofilepage/user-id/4714653)

I suggest you contact Atlassian support and let them know about your plans. We have asked them through support tickets and they have shared their recommendations promptly.

Regards


Tags: bitbucket-server

server

upgrade
Need GC on remote repository
Asked by Jung Hyun Lee:

Dear Bitbucket support team,

We used BFG. After pushing last commit, this actually increased the size of the repository by \~4GB. Now, the repository is 4.04 GB, but we already reset last push.

Could you please run a git gc on our remote repository?

Thanks,

Jung Hyun


Answers:
author: Theodora Boudale
body: Hi Jung Hyun,

I can see in our system one repo with a size of 4 GB from the ones you have access to. I ran a git gc on this repo and its size is 2.7 GB now.  
Does this agree with the size of your local repo after you ran BFG?

If you would like to reduce the repo's size further with BFG, please feel free to let me know after you push your changes so I can run another git gc. If you'd like more info on how to identify large files and also things to take into account when rewriting history, you can check my reply to another user's question here:

* <https://community.atlassian.com/t5/Bitbucket-questions/Revert-bitbucket-repository-state-to-one-day-prior/qaq-p/1908360#M76762>

Please keep in mind that the automated aggressive git gc runs only when:  
- you undo the last commit(s) with git reset and then push  
- the user who does this push has the Labs feature **Delete dangling commits when over size limit** enabled in <https://bitbucket.org/account/settings/features/>

It will not get triggered if you rewrite history with BFG or git filter-branch. In this case, someone from the support team needs to trigger the git gc.

We have a feature request to provide users the option to trigger a git gc on the repo themselves:

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

You can add your vote in that feature request (by selecting the **Vote for this issue** link) if you'd be interested in that and add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
repository exceed 2.5 Gb of 4 Gb, I can not pull, push and commit on the repo
Asked by ltl:

Good Day

My repository has exceed 2.5 Gib of 4 Gib, and I can not commit, push, and pull to the repository. can someone help please

kind regards


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

I see your repository is now showing 2.5 GB, so I understand everything is fine now. The last GC was run 15 hours ago and removed all the dangling files that increased the repo size.

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

Kind regards,  
Caroline

comments: author: ltl
body: Thank you for the answer


Tags: bitbucket-cloud

cloud
Capital Directory Name Issue
Asked by umer:

Hi,

I am getting this issue, bitbucket do not update case sensitive names, i am facing this issue that first i have made all folder names Capital like src-\>LOGIN-\>Login.js, and push my code to bitbucket, After that i have to change my folder names in normal like src-\>Login-\>Login.js and push my code to bitbucket, But still the Bitbucket folder names are in Capital i.e src-\>LOGIN-\>Login.js, How to solve this ? kindly help.


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

I would like to ask some questions so I can better help you:

**1.** What operating system do you use on the computer where you work on the clone of your Bitbucket repos?

**2.** What is the version of git on this computer? (You can find this by running **git --version** on terminal)

**3.** How did you change the name of the folders?  
Did you execute some commands in terminal, and if so which ones?  
Or did you use a GUI file manager?

**4.** After you changed the folder names, did Git detect them as changed, and were you able to commit the changes in the folder names?

Kind regards,  
Theodora


Tags: bitbucket-cloud
Pull request no longer working
Asked by Rohit Dalvi:

We updated our bitbucket Data center from 6.10.16 to 7.17.4 this weekend and upon that we noticed that some projects are having trouble with pull requests while some are working fine. This is what I see when I open the pull request page. So I was wondering if there is any settings or configuration that we missed for few projects while upgrade.

I already compared the repositories which are working fine but I they are same and I could not find any issue. Please let me know if there is anything I can check in particular.

I have attached the screenshot of what error I see when I open the PR.![Screen Shot 2022-01-17 at 10.31.15 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/178316i3AFD5FCED6BBC121/image-size/large?v=v2&px=999 "Screen Shot 2022-01-17 at 10.31.15 PM.png")


Answers:
author: Rohit Dalvi
body: During the upgrade we also had to update the version of plugin "Webhook to Jenkins for Bitbucket Server" and that caused the issue. We reached out to the vendor and they advised us to downgrade plugin version and it started working again.


Tags: bitbucket-server

server
Teamcity build timing out
Asked by Harish Ravi:

Teamcity build timing out with below error:

Failed for the root '"RepoA" {instance id=xx, parent internal id=xx, parent id=TimeoutDemo_RepoA


Answers:
author: Theodora Boudale
body: Hi [@Harish Ravi](/t5/user/viewprofilepage/user-id/4697343),

I see that you have created a support ticket for this issue, so in order to avoid confusion from investigating this in two different places, I suggest focusing on the support ticket.

Once the issue is resolved, if you have time, you could post the resolution here for any other users who may come across the same issue.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Not a valid URL. Im trying to import a repo from godaddy. Any recommendation?
Asked by Juan Gamarra:

Not a valid URL. Im trying to import a repo from godaddy. Any recommendation?


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

There's not a lot we can tell you here. The error "not a valid URL" is pretty clear though - you have given Bitbucket a URL that does not have a repository on it, or really is just totally invalid.

You'll need to ask the people who own the repository for the correct URL.


Tags: repository
My Home Page Keeps refreshing itself
Asked by Navakumar Krishnamoorthy:

My home page keeps refreshing itself. I am clueless now.


Answers:
author: Mary Neville
body: I had this problem too and troubleshooted to see if it was a macro or something else causing this. I had several complaints that our Development space home page kept reloading when someone tried to scroll.

I discovered it's an issue with Confluence's built-in "link to a page" feature where the link shows as /wiki/etc. I think there is some kind of validation happening to make sure the pages for the links exist.

Workaround: I changed all the Confluence page links on the home page to be full https URLs instead and now the page loads up quickly without refreshing.  


author: Caroline R
body: Hi, [@Navakumar Krishnamoorthy](/t5/user/viewprofilepage/user-id/3583508), thank you for reaching out to Atlassian Community.

In order to further investigate what's happening on your side, could you please share the following information with us?

* Which browser are you using? Is it up to date?

* Could you please test if it happens in an incognito window in Chrome?

* It also could be related to the machine resolution, so could you test it on another machine too?

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

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Hello, Registration confirmation email not received
Asked by ???? ?????????:

I need to create an account with this email

Registration confirmation email not received

Email: \<email removed due to privacy reasons\>


Answers:
author: Caroline R
body: Hi, [@???? ?????????](/t5/user/viewprofilepage/user-id/4711982), 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 try again and confirm if you receive the email now?

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
The IP of our web server is blocked
Asked by Stephan Hafner:

The IP of our web server seems to be blocked at bitbucket.org. Is there any way to unsubscribe from this list?

Thx for your help.


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

Could you please let us know why you think your server's IP is blocked in Bitbucket Cloud, and also some more details on the issue you are experiencing?

Do you have issues opening the Bitbucket website from that server, or issues with clone/pull/push operations, or something different?

If the issue is with a clone, pull or push operation, what is the output that you get when you try to perform that?

Kind regards,  
Theodora


author: Pramodh M
body: Hi [@Stephan Hafner](/t5/user/viewprofilepage/user-id/4711902)

Welcome to the Community!!

You need to connect to that IP you have whitelisted or raise a Atlassian Support ticket to get the resolution

Thanks,  
Pramodh


Tags: bitbucket-cloud

cloud
How to disallow rejection of PR by non-reviewer?
Asked by John:

I had a PR open and had it associated with one particular reviewer. At some point, another person who was not listed as a reviewer declined the PR. How can I prevent this from happening in the future? Ideally, I'd like only the person(s) who I had assigned as reviewer to be able to decline the PR (I have no problem with others commenting on it, I just don't anyone else to be able to decline it) Thanks

Bob


Answers:
author: Caroline R
body: Hi, [@bob](/t5/user/viewprofilepage/user-id/4409004), thank you for reaching out to Atlassian Community.

I'm afraid that it's not possible at the moment to restrict who can decline a pull request. However, we have a feature request to implement this in the Bitbucket cloud as you can see here:

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

I would suggest that you add your vote there (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 new features.

You are more than welcome to leave any 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 new 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,  
Caroline

comments: author: John
body: Great, thanks for the info. I'll add my vote.


Tags: bitbucket-cloud

cloud
Sourcetree can't login to bitbucket.org
Asked by Brian Russell:

When I launch SourceTree and do anything (refresh remotes, push, pull, etc) I get a popup saying that "Login is required for: bitbucket.org" and I need to type in my password. This doesn't cause an error, but it doesn't connect to bitbucket and refresh my remotes either. It's as if it can't connect but there's no error explaining why.

I'm using SourceTree on a Windows 8 machine. I've tried logging in and out of bitbucket, rebooting, reinstalling SourceTree, updating embedded Git, changing my password, nothing works.


Answers:
author: Brian Russell
body: I have resolved my issue. After messing around with git bash for a while I found the underlying error message, I was getting a permission error writing the sha1 hash file used while connecting to bitbucket. I didn't have any outstanding checkins to make so I decided to delete my repos from SourceTree, delete my local folders, and reclone everything from bitbucket to be sure everything was in place correctly. Everything is working now.


author: Seth
body: Try some of those operations from the Git terminal. At the very least, you should get a better error message.
Windows Installation Cabinet File Corrupt
Asked by nalexander50:

When I attempt to install the SourceTree application, Windows halts about half-way through the installation and presents the following error message

*A file that is required cannot be installed because the cabinet file C:\\ProgramData\\Atlassian\\SourceTree 1.6.8\\install\\disk1.cab has an invalid digital signature. This may mean that the cabinet file is corrupt.*

I have tried installing in multiple locations, attempted to find the file and delete it in hopes of remediation (no file found), tried installing on both C and D drives, and tried restarting and then installing. Nothing works. I have never had such a bizarre problem before, and I severely disappointed that I may not be able to use SourceTree!

I am running 64-bit Windows 10 (Build 9860). I just finished doing a fresh reinstall of Win10 and SourceTree worked fine on my previous Windows 10 installation, but the reinstall seems to have broken it?


Answers:
author: David_Mills
body: Have a look at [SourceTree won't install on a Windows Server Computer](https://answers.atlassian.com/questions/10395180) and in particular the Answer from Bhushan.


author: Victor Peters
body: I commented on the post you refer to. It seems the installer of version 1.8.3 has the same issues and running the installer As Administrator doesn't solve the problem.

There's a Bug dedicated to this problem:  
<https://jira.atlassian.com/browse/SRCTREEWIN-5131>


Tags: install

windows
http error 406 not acceptable
Asked by Uyen vu:

Hi,

I am trying to pull data from the existing repo of Github. Before I updated to SourceTree v1.6.8 (Windows 7+), the github path was accessible. After the software update to the latest version, I cannot pull data from the repo anymore. I gave "abort HTTP error 406 Not Acceptable". Would anyone know how to fix this? From the error, it seems that http url is not longer acceptable? If so, what's the alternative method to pull data from github?

Thanks.


Answers:
author: Bal?zs Szakm?ry
body: Since you have not changed the pull/push URL, that is most probably not the problem.

Try installing the latest msysgit from [here](http://git-scm.com/download/win), updating the embedded Git in SourceTree (Tools/Options/Git) and switching between embedded and system Git (Tools/Options/Git) to see if the problem is caused by an old/buggy Git implementation on your side.


Tags: github

windows
How do I view/browse files at a specific commit?
Asked by Nic Heath:

How do I view all files at a specific commit/revision in sourcetree? I can Log Selected but that doesn't let me look at the state of all flies at a specific revision. Something like the ability in the Log/History view to find a comimt, right click on it and click "browse here" or "browse at this revision".


Answers:
author: Nic Heath
body: Looks like this feature is already in JIRA to voted on for improvement, see

For Mac<https://jira.atlassian.com/browse/SRCTREE-1021>

For Win <https://jira.atlassian.com/browse/SRCTREEWIN-341>

They could use some up votes!
Can SourceTree create a pull request for GitHub:Enterprise?
Asked by Geoffrey C. Begen:

GitHub:Enterprise is not available from the list of host types in the repository settings. When GitHub is selected, the Host Root URL cannot be edited. Is there any way to configure Source Tree so that the "Create Pull Request..." command will work with GitHub:Enterprise?


Answers:
author: Timothy
body: Don't think SourceTree has that out of the box. You could always try SourceTree's custom actions though:

* <https://blog.sourcetreeapp.com/2012/02/08/custom-actions-more-power-to-you/>


author: Seth
body: Also realize that you can connect to a GitHub:Enterprise repo by putting its URL directly into the original Source/URL box (don't open the list of host types in the first place, that's optional).

I don't know whether pull requests are supported for generic repositories.

comments: author: Geoffrey C. Begen
body: Thanks, we've been using that ability for years now for general purpose Git support. Pull requests are a GitHub feature, though, and you can't use the Create Pull Request feature unless you can set the GitHub host root URL.


author: Seth
body: Good to know. I've never used pull requests, and we get enough questions like "Why doesn't SourceTree support ____'s repositories?" that I had to mention it.I have seen other questions where Atlassian staff have confirmed that they do NOT support extended integration for GitHub:Enterprise, so @Timothy Chin's answer is correct.