youngmon/atlassian-qna huggingface dataset:
Exclude files not working in pull request
Asked by Abbas:

Hi

I entered the list of files in exclude files, but I still see those files in the pull request

can you help me ?


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

Do these files show in the pull request diff, or only in the file tree? Excluded files will not show up in the diff, but they are still listed in the file tree.

If you see these files in the diff:

* Have you specified the exact file names, or are you using any wildcards?
* Do the file names contain any special characters?

You can find in the following link more details about the excluded files pattern format (filename, directory name, wildcards):

* <https://support.atlassian.com/bitbucket-cloud/docs/exclude-files-from-pull-request-diffs/>

I would suggest taking a look there first to see if there is perhaps a mistake with the format.

If you still cannot figure it out, since your workspace is on a paid billing plan, you can create a ticket with the support team. You can create a ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. If there is a support ticket open, the engineer working on your case will be able to check the patterns and your PR to assist you further.

<br />

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How do you exit maintenance mode in Bitbucket or manually unlock?
Asked by David:

I am using VMWare on ESXi. I am new to VMWare and the Atlassian suite (Jira, Conf and Bitbucket) so it may be due to lack of experience but I have spent hours looking and reading to no prevail thus far. When using Bitbucket (BB) Server Client for my backups, I recently encountered an error that I have not yet found an answer to resolve the following: "Bitbucket has already been locked for maintenance by another process. If a previous backup attempt failed, BB must be manually unlocked via its UI before another b/u can be started. The token necessary to unlock the system is available in BB's logs." I found this in the logs folder and see in previous days where it was successful and said it was locked and unlocked for maintenance. Any help/suggestions would be appreciated.


Answers:
author: Mahesh Shinde
body: Hi [@David](/t5/user/viewprofilepage/user-id/4602118) ,

Please, refer the below document which will provide you the steps for cancelling the backup from UI.

Link: <https://confluence.atlassian.com/bitbucketserver071/using-the-bitbucket-server-backup-client-998654130.html>

Regards,

Mahesh Shinde

comments: author: David
body: Thanks [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848) for the reply and appreciate you sending the doc info. However, I should have mentioned earlier following my last sentence that I have this same doc. Also, that I feel this doesnt apply since I dont get step 2 - there appears to be no b/u occurring and the last one that completed(and has in the log b/u completed, unlocking BB using token ....) was from a week prior. I am getting the error when I try to run the b/u and this is what I am seeing when checking the log. Therefore, nowhere to cancel the backup because one never started. I've tried turning VM off and back on with the same results.


author: Mahesh Shinde
body: Hi [@David](/t5/user/viewprofilepage/user-id/4602118) ,

Have you checked on the VM if there is backup script configured for daily basis in cronjob?

Please, check any process is running on Bitbucket VM and also check there are newly created files in "Backup" folder.

Also, check if you can see maintenance page: https://\<URL\>/bitbucket/unavailable or https://\<URL\>/stash/unavailable.

Regards,

Mahesh Shinde


Tags: bitbucket-server

server
Definition of Public vs. Private?
Asked by Charles Gage:

I am trying to get a clear definition of "public" vs. "private" when it comes to Bitbucket Projects and Repositories.  

Atlassian documentation states a public project and/or repo can be "seen by anyone."   

Does that mean "anyone in the world on the internet with a URL link" or only those who have access to my BB workspace?

My goal is to create a Project for my company, put Repositories subordinate to the Project and have all of this restricted to just our company and to users who have userids that I have added to Bitbucket. I don't want this "open to the world."  

Thanks for any clarification you may offer!


Answers:
author: Blue Ridge Consultants
body: Yes - anyone with the URL to the repo on the public internet can reach that repo via the web with no login required.

comments: author: Charles Gage
body: Yikes! I need to fix that!  

Thanks for the update!

Chuck


Tags: bitbucket-cloud

cloud

permission

private

publc
error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 fatal: the remote end hung
Asked by Asrar Ahamed:

We are getting the HTTP 504 while cloning on jenkins build job. After we wiped out the workspace, build job getting successes, but we are not sure frequently we are getting this error when cloning happening.

error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 fatal: the remote end hung

We have added buffer sizes also on git config file.

$ cat .gitconfig  
\[http\]  
postBuffer = 10000000000  
maxRequestBuffer = 500M  
lowSpeedLimit = 0  
lowSpeedTime = 999999  

After that also still receiving same error.

please check this and let us know how to solve this issue.  


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

Could you please let us know:

**1.** Does this issue occur with a repo hosted in Bitbucket Cloud? Or with a repo in Bitbucket Server/Data Center?

I see that your question has the tag 'bitbucket-cloud', but I cannot find a Bitbucket Cloud account with your email.

If you are unsure, the URL of a Bitbucket Cloud repo starts with <https://bitbucket.org/>, while for Server/Data Center it's a different custom url.

**2.** Does this issue occur with one specific repo only? Or with multiple Bitbucket repos?

**3.** What is the size of the affected repo(s)?

**4.** Do you have any large/binary files committed in the repo without LFS?

**5.** Is the issue intermittent or can it be consistently reproduced?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How to trigger builds from Bitbucket cloud to jenkins in local network
Asked by Greens:

We use bitbucket server in the local network and webhooks work fine with jenkins in the same local network.

We have to migrate bitbucket to the cloud. How can we trigger builds on our local jenkins?

A firewall gate is not an option (company policy)


Answers:
author: Erez Maadani
body: Hey [@Greens](/t5/user/viewprofilepage/user-id/476251)

If I understand correctly, the issue is that you can't have external URL which would be reachable from bitbucket cloud, to be used a webhook.

The simplest way would be to use the "Poll SCM" option in the Build Trigger section of your Jenkins Job. This means that your Jenkins would periodically would reach out to Bitbucket.org and try to understand if and what has changed and then trigger a build if needed.

This is an "expensive" action so you might need to do some tuning on the polling frequency.

A more efficient yet complex way would be to talk to your IT people and ask them what is allowed in the firewall: protocols? ports? URLs? and then try and trigger your builds using one of the allowed options - Specific port? SSH?

You can also consider using a third party like RabbitMQ. BB will send message to the queue using a webhook and your Jenkins will be registered as a consumer to the same queue.

Hope that helps


Tags: bitbucket-server

migration-customer-care

server
Unable to remove imported project
Asked by Shyan:

![Screenshot 2023-01-31 at 11.30.20 AM.png](/t5/image/serverpage/image-id/237307i45C34BCA139EB270/image-size/large?v=v2&px=999 "Screenshot 2023-01-31 at 11.30.20 AM.png")After importing the project, it's showing this error and I'm not able to remove it and re-import it.

Edit : It works fine for other imported projects

Please help


Answers:
author: Syahrul
body: G'day [@Shyan](/t5/user/viewprofilepage/user-id/5134005) and Welcome to Community!

It looks like the import repository got stuck in importing state; hence you can't delete it.

No worries, I have deleted the repository, so can you try to import it again and let me know how it goes?

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
Is it possible to forward Bitbucket logging to syslog after v. 7.x?
Asked by Joe Mallon:

I've been asked to forward Bitbucket's logs to syslog. This article describes a solution for that need for pre-7.0 BB:

<https://confluence.atlassian.com/bitbucketserverkb/how-to-forward-bitbucket-server-s-logging-to-syslog-946611863.html>

Is it possible to do that forwarding in v. 7.x/8.x Data Center?

If not, has anyone figured out another solution to that issue?


Answers:
author: Mahesh Shinde
body: Hi [@Joe Mallon](/t5/user/viewprofilepage/user-id/597484)

In the same document, you can see path of the file for version after 7.0

**\<BITBUCKET SERVER INSTALLATION-DIRECTORY\>/app/WEB-INF/classes/logback-spring.xml (for versions after Bitbucket 7.0)**

Please, check it out.

Regards,

Mahesh Shinde


Tags: bitbucket-server

log

server
How to turn off comments Bitbucket adds to Jira ticket?
Asked by Bernadette Buck:

Each merge of feature branch in Bitbucket is commenting on the related Jira ticket with the following. Where is this configured? I'd like to turn it off.

> \[teammate's user pic \& name, timestamp\]
>
> Successfully merged:
>
> Title: feature/XXX-1234 Fix Issue
>
> Pull request: <https://bitbucket.org/blahblah/pull-requests/456>
>
> Source branch: feature/XXX-1234-fix-issue
>
> Target branch: staging


Answers:
author: Mahesh Shinde
body: Hi [@Bernadette Buck](/t5/user/viewprofilepage/user-id/3511673)

The working of adding comment is when response sends to the Jira mail handler with ticket ID in subject then it will add comment to the respective Jira Ticket.

I am suspecting, Bitbucket sending mail to the Jira Mail handler while updating the issue tracker in bitbucket repo.

Could you please, check if there is Jira Mail handler present?

Link: <https://support.atlassian.com/bitbucket-cloud/docs/set-email-preferences-for-an-issue-tracker/>

Regards,

Mahesh Shinde

comments: author: Bernadette Buck
body: Thank you [@Mahesh Shinde](/t5/user/viewprofilepage/user-id/2230848) , your comment tells me that it isn't something that Bitbucket is doing. It appears to be a third party tool we had installed. I hadn't thought to look there and I found it in Gearset. Thanks!


Tags: bitbucket-cloud

cloud
Is there a way to retrieve the total combined size of all repos in a single project?
Asked by Rehnuma Noor:

Hello,

We are in the process of assessing our needs for the migration to Cloud and wanted to understand how much data will need to be migrated. We have 18 projects and within each project there are a certain number of repos. I'd like to know if there's a way to retrieve the total combined size of ALL repos within each project.

Note: I'm not a system admin, though I do have admin rights on one of the projects that have 60+ repos.

Thank you,

Rehnuma Noor


Answers:
author: Mahesh Shinde
body: Hi [@Rehnuma Noor](/t5/user/viewprofilepage/user-id/1192655)

As per my knowledge, I don't find out the way to calculate the combined size of all repos in Bitbucket Project. You can retrieve the size of the single repository

Under *Settings \> Repository Details* after clicking on "**Retrieve Size Details**".

Please, check this article if it helpful for you.

Link: <https://confluence.atlassian.com/bitbucketserverkb/check-a-repository-size-hosted-on-bitbucket-server-1063551644.html>

Regards,

Mahesh Shinde

comments: author: Rehnuma Noor
body: Thanks for the feedback, Mahesh.

I was informed of these steps. Unfortunately, this does not work for us as we have too many repositories and checking the size of each one would be time-consuming.


Tags: bitbucket-server

migration-customer-care

server
Notification during Pull conflict
Asked by rinoraju:

I have just now configured Sourcetree and using bitbucket with Sourcetree.

Had pointed to git folder for initial setup of sourcetree. Not enabled Mercurial setup.

Now when i have pulled code from Bitbucket i get a conflict and i do not see any message that there is a conflict and on which file the conflict is.

Manually i need to search the file and check if there is conflict.

IS that the sourcetree donot have the Notification feature to let the user know that there is a conflict and on which file the conflict is.


Answers:
author: minnsey
body: Hi  

Can you provide a screen shot?   

If there is a conflict after a pull/merge etc Sourcetree should inform you and the conflicted files should be clearly listed in the File Status view.


Tags: notification
no repositories displayed
Asked by Robert Rasenack:

We are running bitbucket server 4.8.3 on an ubuntu 18.04 machine. If we connect to this server using sourcetree 2.6.6 no repositories are diplayed. But the repositories exist. Using webbrowser with the same login as in sourcetree all repositories are visible and editable. We also can clone the repositories by the url of a repository using sourcetree (direct entering url).

With an old version of sourcetree it works fine.

What's going wrong? I don't have any idea.


Answers:
author: Robert Rasenack
body: Hi Michael,

yes of course. I complety deleted all accounts and build it new. The authentification to bitbucket succeeded. Meanwhile I created a ticket "[SRCTREEWIN-8843](https://jira.atlassian.com/browse/SRCTREEWIN-8843)". there some more details.

Basicly the problem comes from the url that is used by sourcetree. Sourcetree use "start=1" to get the list of repositories, but this index seams not existing on bitbucket. bitbucket send back an empty list. using the same url in an broser by replacing start=1 with start=0 bitbucket send the expected list. Old version 1.10.23 of sourcetree also use start=0 and there it works.


author: minnsey
body: Hi  

If you refresh your account credentials in the Tools/Options/Authentication tab for the Bitbucket Server account are they authenticated OK?

comments: author: Robert Rasenack
body: Hi Michael,

yes of course. I complety deleted all accounts and build it new. The authentification to bitbucket succeeded. Meanwhile I created a ticket "[SRCTREEWIN-8843](https://jira.atlassian.com/browse/SRCTREEWIN-8843)". there some more details.

Basicly the problem comes from the url that is used by sourcetree. Sourcetree use "start=1" to get the list of repositories, but this index seams not existing on bitbucket. bitbucket send back an empty list. using the same url in an broser by replacing start=1 with start=0 bitbucket send the expected list. Old version 1.10.23 of sourcetree also use start=0 and there it works.


Tags: bitbucket-server
Is there any way to disable the facility of deletion of remote branches in sourcetree?
Asked by Sharad Keshari:

![Screenshot_4.jpg](/t5/image/serverpage/image-id/24888i69EEAD2F29BF1266/image-size/large?v=v2&px=999 "Screenshot_4.jpg") I want to disable the facility of deleting any branch inside "remotes" unless I explicitly change some setting in Sourctree (if such thing is there) , so that there is no such possibility of accidental deletion of any remote branch.

Thank in Advance.


Answers:
author: Manju
body: Could you please detail a bit more on this?

Unless a branch on the remote is manually deleted, it wouldn't disappear in Sourcetree.

comments: author: Sharad Keshari
body: Hi Manjunath,

Thanks for the reply.

You are right, that a remote branch will not disappear unless manually deleted.

I wanted to ask if it is possible to disable the option of deletion for the specific users.

for e.g. I have my source tree, I can see the remote branches but, should not be able to delete them.


author: Manju
body: Hi [@Sharad Keshari](/t5/user/viewprofilepage/user-id/1524948),

That's something you should be able to do on the server side I believe.. You should be able to set appropriate permissions and Sourcetree would honor this.

Thanks!
Unable to Install Sourcetree in Windows 7 (64-bit)
Asked by Nayana Mathradan:

I downloaded SourceTreeSetup 2.5.5 and tried installing on my windows machine. But it says installation failed with below setup log. :

2018-06-18 14:59:13\> Unhandled exception: System.IO.FileNotFoundException: Could not load file or assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

File name: 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'  
at Squirrel.Update.Program.executeCommandLine(String\[\] args)  
at Squirrel.Update.Program.main(String\[\] args)

WRN: Assembly binding logging is turned OFF.  
To enable assembly bind failure logging, set the registry value \[HKLM\\Software\\Microsoft\\Fusion!EnableLog\] (DWORD) to 1.  
Note: There is some performance penalty associated with assembly bind failure logging.  
To turn this feature off, remove the registry value \[HKLM\\Software\\Microsoft\\Fusion!EnableLog\].


Answers:
author: minnsey
body: Hi   

Can you check you have .NET version 4.7.1 installed, you may need to reboot if you have recently upgraded the .NET framework.
What does 'git status' failed with code 128: git-lfs filter-process: git-lfs command not found mean?
Asked by Thuggers:

I am getting this message when I try and switch back from a Branch back to by Master branch... not sure what it means and or what to do about it....


Answers:
author: Manju
body: Hi Michael, Is this in windows or MacOS? What version of Sourcetree are you using?

comments: author: Thuggers
body: I was using Sourcetree Under WIndows X64. It seems at some point the LFS just vanished off my system? I did read about some changes made to the LFS system which may have caused it. I re-installed LFS and that seems to have remedied the situation.


author: Manju
body: Glad you were able to resolve the issue.
Failed to authenticate cannot use my bitbucket account anymore
Asked by dworm:

Since a few days nothing works with my bitbucket account from sourcetree it keeps saying failed to authenticate etc

Any way to solve it?


Answers:
author: Yogesh Mude
body: HI [@dworm](/t5/user/viewprofilepage/user-id/808163)

Please have a look at the below community questions, hope it helps..

<https://community.atlassian.com/t5/Sourcetree-questions/Getting-quot-fatal-Authentication-failed-for-quot-error/qaq-p/624663>

<https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-quot-fatal-Authentication-failed-for-quot/qaq-p/201844>

comments: author: dworm
body: Thank you, I tried another 20 suggestion and they didn't work but this was was on point, everything seems back to normal, thank you again!!!


author: Yogesh Mude
body: Hi [@dworm](/t5/user/viewprofilepage/user-id/808163)

If you feel this has been help to you to solve your problem then please don't hesitate to accept this answer.
Can not install SourceTree. Error "maybe the site uses obsolete TLS"
Asked by Garmash Maks:

Win 10, insider previev, build 17134.48. I can not install the SourceTree program <https://www.sourcetreeapp.com/>

You receive an error message: "

I can not safely connect to this page  
It is possible that the site uses outdated or unreliable security parameters of the TLS protocol. If this repeats, contact the website owner.  
Try the following:

Back to last page  
Change settings  
"

I ask you to suggest what to do?![??????.PNG](/t5/image/serverpage/image-id/24755iA528B3614CB8D843/image-size/large?v=v2&px=999 "??????.PNG")


Answers:
author: Garmash Maks
body: Decided. [https://forum.onliner.by/viewtopic.php?t=18174714\&start=220](https://forum.onliner.by/viewtopic.php?t=18174714&start=220)


author: Nic Brough -Adaptavist-
body: The answer is in the problem report - you should get the owner of the website to replace the TLS protocol with one that has not been compromised (some versions of TLS were broken a while back, which is why applications are refusing to use them)
SourceTree keeps showing "Git Flow" notification although i have newest git version
Asked by DataJockey13:

Hi,

i updated my git (windows) to newest version (2.17.1.windows.2) and SourceTree still shows me the notification that i should update git Flow.

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


Answers:
author: minnsey
body: Hi  

The notification doesn't get removed automatically, do you still get it after restarting Sourcetree?  

comments: author: rrbutler4
body: Same issue.

Notification is still there after restarting the machine.


author: DataJockey13
body: yepp, still there.


author: Horacio Judeikin
body: ???? same issue here.


author: DataJockey13
body: It's all fine. I still used the embedded Git. Now i switched to System Git and the hint is gone.

I'm so sorry i caused so much trouble. =(


author: minnsey
body: Hi  

We made some tweaks and improvements to the notifications logic, can you please try release 2.6.9?  

Thanks

comments: author: Horacio Judeikin
body: I am already running 2.6.9. The problem persists. Thanks.


author: DataJockey13
body: same here. running 2.6.9.

notification persists


author: minnsey
body: Ah.... OK that told me ;)  

I'm not experiencing that here, but we will take another look.


author: DataJockey13
body: even with the latest git version the notification persists.

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

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


author: rrbutler4
body: I went to Tools-\>Optons-\>Git and clicked "Update Embedded", it said it failed, but when I restarted SourceTree, the notification was gone.

comments: author: Horacio Judeikin
body: Are you using the embedded git? I'm using the system git. In theory the Embedded Git shouldn't have nothing to do with the issue, I guess...


author: rrbutler4
body: you're right, I am using Embedded.

maybe switch long enough to get the flag to go away...


author: rrbutler4
body: I had to change to System to get the Update Embedded to work. then when it completed (Successfully this time) my Embedded Git changed to 2.17.1

Not sure why the flag went away. Maybe I had changed to System for a bit...


Tags: git

git-flow

notification