youngmon/atlassian-qna huggingface dataset:
git push fails
Asked by amano21:

I try to push comitted files, but it fails with the following message.  
It worked well since last week, but it happened from yesterday.  
Please advise me what is wrong.

% git push origin master  
Enumerating objects: 33, done. Counting objects: 100% (33/33), done. Delta compression using up to 6 threads Compressing objects: 100% (25/25), done. error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 send-pack: unexpected disconnect while reading sideband packet Writing objects: 100% (25/25), 4.96 MiB \| 6.68 MiB/s, done. Total 25 (delta 17), reused 0 (delta 0), pack-reused 0 fatal: the remote end hung up unexpectedly


Answers:
author: Syahrul
body: G'day, [@amano21](/t5/user/viewprofilepage/user-id/2454596)

Welcome to the community!

The error basically means a connection was dropped, potentially caused by either a slow internet connection or if the repository was too large. Could you try increasing your post buffers to see if that helps?

    git config http.postBuffer 524288000

Regards,  
Syahrul

comments: author: amano21
body: Thank you for your answer.  
I tried your advice, and it successfully worked!  
I appreciate your information.


Tags: bitbucket-cloud

cloud
Sourcetree authentication issue preventing push to Bitbucket
Asked by smcgivne:

Hello, I am relatively new to Bitbucket version control. I have run into a Sourcetree authentication issue that is preventing me pushing committed files from my local repo to the cloud repo.

See in the image below the red exclamation on the remote icon. I am logged into Bitbucket and my credentials on Sourcetree are correct. I just updated to ver 3.4.19. I have an access token configured for Bitbucket in my software source. All looks correct here to me!

Any ideas of what I am missing here?

![58d0a45a-b08e-4b02-8078-d998a4479b05.jpg](/t5/image/serverpage/image-id/344270iCA6F57F432BAE671/image-size/large?v=v2&px=999 "58d0a45a-b08e-4b02-8078-d998a4479b05.jpg")


Answers:
author: vikram
body: Hi [@smcgivne](/t5/user/viewprofilepage/user-id/5578643)

Welcome to Atlassian Community

Try below

navigating to C:\\Users\\USERNAME\\AppData\\Local\\Atlassian\\SourceTree and remove the passwd file.

Once this file is removed, restart SourceTree and execute a fetch or something else that requires access to the repo in question.

SourceTree will then prompt you for your password, rewriting the cached credentials.

Let me know if it helped.

Vikram P


Tags: bitbucket-cloud

cloud
Tags are getting created automatically
Asked by Sonam_Moga1:

I have noticed that Auto tags are getting created on release branch "release/v2.3.0-10_24". The issue is that the tag name is always same as branch name which causes issues while taking a pull and other tasks.

This is the only branch we have noticed this happening for now. Please let me know if any further details are needed.

FYI : there had been 3-4 incidents where I have seen this issue, and I had to explicitly delete the tag created.


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

Bitbucket does not automatically add tags to a repo's commits.

Are you using Bitbucket Pipelines or another third-party CI/CD tool to run builds? If so, can you check the builds running for this release branch and see if these builds create a tag and then push it to the Bitbucket repo?

Kind regards,  
Theodora

comments: author: Sonam_Moga1
body: I'm suing Azure DevOps for CI/CD, there had been no changes in the pipelines (yml wise) and no new pipeline has been added. This issue started from almost 2 months ago.   
I'm the only one who creates Tags(using a particular naming convention) for teams, now i can see that even today there was a Tag created with Branch name (attaching the screenshot)  
Please let me know if there is any other way to check logs/activity to confirm how are these tags getting created.

\<screenshot_removed_for_privacy\>


author: Theodora Boudale
body: Hi [@Sonam_Moga1](/t5/user/viewprofilepage/user-id/5578741),

If the tag is not pushed by your builds, then it is possible that it exists in a clone of the repo (either your clone or the clone of one of your teammates) and gets pushed to Bitbucket when running **git push --tags**.

Please check the tags on your local clone and see if this specific tag is on your clone. If it is, it will get pushed every time you run **git push --tags**, so you need to remove it from the clone. I suggest asking your teammates who work on this repo to check the same.

If you still cannot figure it out, you can create a ticket with the support team for further investigation since your workspace is on a paid billing plan. There are no logs for admins/users that show when a tag is pushed to Bitbucket, but the support team may be able to figure this out from our internal logs.

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. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.

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

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I am getting this warning "Your account is connected to a Google account. Changing the email address
Asked by sudheer kumar:

I am getting this warning "Your account is connected to a Google account. Changing the email address here will disconnect your account from the Google account"  

please help me with this and we are a G suite partner.


Answers:
author: vikram
body: Hi [@sudheer kumar](/t5/user/viewprofilepage/user-id/245431)

Welcome to the Atlassian community.

Try to go ahead with the prompts from your above message and resetting it and then start over.

or

follow the below steps:-

1. Log into your Google account, and go to **Security** settings: <https://myaccount.google.com/security>
2. Scroll down to the section: **Your connections to third-party apps \& services**
3. Click on **Atlassian** , and click: **Delete all connections you have with Atlassian**
4. Afterwards, I recommend verifying that you can still log into your Atlassian account using the password you created first.

Vikram P

comments: author: sudheer kumar
body: Okay, we will try and if there are any issues with the Google account for Atlassian?


author: Theodora Boudale
body: Hi [@sudheer kumar](/t5/user/viewprofilepage/user-id/245431),

The warning shows on the following page:

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

If the email of your Atlassian account is username@some-email.com, the warning simply means that your Atlassian account is connected to the Google account with username@some-email.com. If you change the Atlassian account's email, then that Atlassian account will no longer be connected to the Google account username@some-email.com.

It's not clear what exactly you need help with. Could you please explain, a) what do you want to do and b) what kind of issue are you facing or what is the question that you have?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Request for git gc on repo
Asked by swebst:

Hi---I need a git gc on my repo

\*\*\*st/ins\*\*\*-\*\*\*te


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

I ran a git gc on your Bitbucket repo but its size hasn't decreased.

If you would like to remove files from Git history to reduce the repo's size, you can check the following reply of mine on another post for info:

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

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


author: vikram
body: Hi [@swebst](/t5/user/viewprofilepage/user-id/5578722)

Welcome to Atlassian Community.

Please go through below url Atlassian git tutorials.

<https://www.atlassian.com/git/tutorials/git-gc>

you will able to setup git gc on your repo.

Vikram P

comments: author: shwebs
body: Thanks, but I need it run on the bitbucket server and i'm not seeing a way to do that


author: vikram
body: Hi Shwebs

Do you want to set up git for bitbucket or do you want to clean up unnecessary files for your repo?

Vikram P


author: shwebs
body: need to clean up unnecessary files for my repo **on the bitbucket server**


author: vikram
body: Hi [@swebst](/t5/user/viewprofilepage/user-id/5578722)

you can run below command locally at any time. Running it won't have any adverse effect on your repository.

`git gc`

which cleans up unnecessary files and optimizes the local repository.

Bitbucket runs this operation on its hosted repositories automatically on a regular basis based on a variety of triggers.

or

Please go through the below documentation

[https://confluence.atlassian.com/bitbucketserverkb/how-to-perform-manual-garbage-collection-on-a-repository-in-bitbucket-server-867194296.html#:\~:text=Bitbucket%20server%20relies%20on%20git,are%20in%20objects%2F17](https://confluence.atlassian.com/bitbucketserverkb/how-to-perform-manual-garbage-collection-on-a-repository-in-bitbucket-server-867194296.html#:~:text=Bitbucket%20server%20relies%20on%20git,are%20in%20objects%2F17)).


Tags: atlassian-support

bitbucket-cloud

cloud

git
Crucible - is it possible to download of review data?
Asked by Rumceisz:

Hi Everyone,

we'll soon migrate to Bitbucket and will stop our Fisheye/Crucible. It's important for us to save the Crucible reviews data.

Is it possible to do so?

Thank you in advance for your hints!

Best regards,

Rumi


Answers:
author: Marek Parfianowicz
body: There is a beta version of 'Project transfer for Crucible' plugin. You can find it here:

<https://marketplace.atlassian.com/apps/1221227/project-transfer-for-crucible>

It allows to export code reviews from Crucible (an archive with a set of files in XML format) and next import them into another Crucible instance.

Unfortunately, there's no option to import this data into Bitbucket. But you could use this archive as your backup.

Please remember, however, that this is beta version and it does not support all features.
Using GitHub webhooks for Fisheye
Asked by Themis:

I am using the marketplace app [Github Webhooks for Fisheye](https://marketplace.atlassian.com/apps/1223584/github-webhooks-for-fisheye?hosting=server&tab=overview)

* The plugin is installed and within Fisheye we have defined a GitHub webhook.
* On Github we have also defined a webhook that uses the parameters (URL and secret) provided by the plugin.
* We push changes to the GitHub repo and see the GitHub webhook fires with success.
* Yet the fisheye repo does NOT update (indexing is not triggered)

Question:

- How can I troubleshoot this further?

- What could be a possible reason for the indexing not starting?


Answers:
author: Adam Slaski
body: Please do the following:

1. Check the json payload from GitHub and find fields: ssh_url, clone_url, git_url.
2. Navigate in Fisheye to Administration/Repositories/repo name/SCM Details and find *Repository Location*

*Location*must match one of the fields from (1), make sure there is no typo, slash at the end or similar little difference.

If you use defined repository location over https with user/password authentication (for example https://user@github.com/blah/blah.git) you can't match with url sent from GitHub (<https://github.com/blah/blah.git>). In that case consider switching to ssh.


Tags: github

webhook
Crucible won't start after upgrade to 4.8.4
Asked by System Administrator:

Service fails to start after upgrade with the following error. My keystore does not contain multiple certificates:

2020-11-03 14:07:40,516 ERROR - Could not start server: KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory. (Use org.eclipse.jetty.util.ssl.SslContextFactory$Server or org.eclipse.jetty.util.ssl.SslContextFactory$Client instead)  
java.lang.IllegalStateException: KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory. (Use org.eclipse.jetty.util.ssl.SslContextFactory$Server or org.eclipse.jetty.util.ssl.SslContextFactory$Client instead)

I've just tried 4.8.6 which claims to have fixed this but I still get

ERROR \[main \] fisheye Run-logStartupException - Could not start server: KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory. (Use org.eclipse.jetty.util.ssl.SslContextFactory$Server or org.eclipse.jetty.util.ssl.SslContextFactory$Client instead)


Answers:
author: System Administrator
body: I'm happy to report that I've just upgraded to 4.8.7 and it seems to be working normally.


author: System Administrator
body: Still doesn't work on 4.8.6

comments: author: Admin Octavian
body: As i have seen in Atlassian roadmap - will be fixed in 4.8.7. Please be patient :)


author: System Administrator
body: The bug was closed and it sounded like they were saying it should work now. I'll wait for 4.8.7, thanks for letting me know.


Tags: server
After upgrade to 4.8.4 Fisheye refuses to start due Jetty error(multiple certs in keystore)
Asked by Admin Octavian:

Hello.

I have Fisheye 4.8.3 and use jks keystore with CA and SUB-CA and server certificates in the same keystore (very common scenario).

After test upgrade to 4.8.4 Fisheye refuses to start with following Jetty error:

KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory {#toc-hId--1300008368}
--------------------------------------------------------------------------------------------------------------------------------------------

How can i fix it??


Answers:
author: Graham White
body: **Crucible 4.8.7** which should include this bug fix is now released.

comments: author: Graham White
body: Installed this version on 5th July and it does indeed resolve the cerficate store issue when using a wildcard cert with multiple SAN's.


author: Bruno Rosa
body: Hello! I know you've already contacted us via [support.atlassian.com](https://support.atlassian.com) but I thought I'd reply back here as well so that others can see the answer too.

This is a new bug introduced in Fisheye 4.8.4. Here's the link to the bug report:

* <https://jira.atlassian.com/browse/FE-7318>

This is caused by the fact we updated the version of Jetty bundled in Fisheye 4.8.4. If you're interested, [this part of the code](https://github.com/eclipse/jetty.project/blob/53073ca25704ebd49c7133226053418a5124900f/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java#L1273) in the new version of Jetty is what's causing the problem.

The bug is part of our short term backlog, according to our Development Team Lead [in this message](https://jira.atlassian.com/browse/FE-7318?focusedCommentId=2598054&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2598054) we're planning to release the bug fix on Fisheye 4.8.6, expected early 2021.

If you're running into this issue consider staying on 4.8.3 while the bug hasn't been fixed yet. If you **need** to upgrade to 4.8.4 you may want to set up and terminate SSL at a reverse proxy in front of Fisheye and let the communication between Fisheye and the reverse proxy happen over HTTP.

Don't forget to add yourself as a watcher to the bug report to get notified when it's finally fixed.


Tags: server
Update base branch in a review
Asked by Manikanta Reddy:

I have two branches **release** (base branch) and **feature** branch  
I have made changes to **fileA** in feature branch and submitted a fisheye review \[From choose branches\]

Now someone changes fileA in **release** branch while above review is still pending

So Will be the fileA changes in release branch will get updated in fisheye automatically?

If NO, is there is anyway to get updated the release branch in the review? \[feature branch changes are getting updated but i want the base release branch to get updated\]


Answers:
author: Markus Franke
body: Are there any updates regarding this topic?

I also just stumbled across this issue. The "Auto Update" function only seems to update the review with respect to changes that happened in the branch that is to be reviewed. However, changes to the base branch are not updated accordingly.


Tags: atlassian-sdk

atlassian-support

fisheye-crucible-administration

github
The SSL keystore password seems to be incorrect - it was unable to open the keystore file
Asked by viswanathareddy:

<https://confluence.atlassian.com/fisheye/fisheye-ssl-configuration-960155669.html#FishEyeSSLconfiguration-2.ConfigureFishEyeSSL>

Following this article for configuring ssl for crucible. iam getting above error in RHEL7

any suggestions will be appreciable.


Answers:
author: Hamish Moffatt
body: It is much easier to use a reverse proxy (nginx, Apache etc) to do the SSL termination.
Fisheye is not starting
Asked by Kiran Patil:

Hello

On my fisheye server, the service fisheye is running but when i try to access the portal i get 503 error

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

the DB also is running status

Not sure where the log file is

This is Linux server \& linux firewall or network firewall are not issue

\[Wed Sep 30 19:11:13.452113 2020\] \[proxy:error\] \[pid 1284\] (111)Connection refused: AH00957: HTTP: attempt to connect to xxx:8092 (\*) failed

Any suggestion Please


Answers:
author: Bastian Stehmann
body: Hi [@Kiran Patil](/t5/user/viewprofilepage/user-id/4107445) ,

welcome to the community.

You should have a look in the log-files for fisheye, if there are any errors / warnings, that might help you to find out, what the problem is.
What paths to update after a Java update?
Asked by Tony Ly:

Hi,

We are running Fisheye/Crucible on a corporate VM and IT updated the JAVA version to 1.8.X. Crucible won't start anymore since we need to update the paths somewhere... but all the places I've done will not work.

We're running it as a service so I've updated the path on these files:

/usr/lib/systemd/system/fisheye.service

/etc/environment

What other files need me to update the java path?

Thanks!


Answers:
author: Niranjan
body: Try running echo $JAVA_HOME . Do you see the path that you have set? If so, it should work.

If you don't see the path try to refresh it like source \~/.profile

comments: author: Tony Ly
body: echo $JAVA_HOME returns nothing but I found my error. My /etc/environment file looked like this:

\[root@XXXX bin\]# cat /etc/environment

JAVA_HOME="/usr/java/jdk1.8.0_261/bin/java"

FISHEYE_INST="/opt/..../crucible/fecru-4.8.1/"

FISHEYE_HOME="/opt/..../crucible/fecru-4.8.1/"

I just had to remove the bin/java, then reload the daemon and then restart the fisheye service.

systemctl daemon-reload

systemctl restart fisheye.service


Tags: java

server
P4Client error due to diacritics
Asked by fiha:

We have diacritics (? and ?) in some of our filenames in our perforce depot.

During Fisheye indexing an error is reported:

"Fri Sep 25 20:50:34 GMT+200 2020: Repository paused due to error com.cenqua.fisheye.rep.DbException: com.cenqua.fisheye.perforce.client.P4ClientException: Unable to get file log for //depot/Projects/H2/Sound/sfx/Weapons/shots/V?loce - Fire RR01.wav#1"

A question mark in diamond shape is displayed instead of ?.

In SCM details the default charset is set as UTF8.

I am not sure why the p4 client is unable to handle V?loce.

How can we fix this?


Answers:
author: fiha
body: I think I fixed it by modifying the charset into Windows-1252 but now I am running into a different problem so can't tell for sure.


Tags: server
Can't delete multiple local branches at once
Asked by Antonio Rodrigues:

I used to be able to delete multiple local branches as it described here:

<https://community.atlassian.com/t5/Sourcetree-questions/How-to-delete-multiple-local-branches-at-once/qaq-p/107742>

I've noticed today when I select the branch I want to delete from the list (checkbox) then select the next one the first once gets unselected.

I'm running Sourcetree 4.2.6 (261). I have another machine running 4.2.0 (246) and this doesn't seems to be a problem.

Is this a bug or am I missing something?

Thank you


Answers:
author: Jim
body: There seem to be multiple instances of this in the support pages - the checkboxes do not allow for more than one branch to be selected - they behave not like checkboxes but radio buttons. Hopefully Atlassian sees this as a bug and fixes it immediately

For now, hold the SHIFT key down and you can select multiple items, but yes - it's broken and you shouldn't need to do this
Relocate bookmarks.xml to maintain Sourcetree bookmarks throughout several machines.
Asked by Rony MIDAHUEN:

Is there a Sourcetree configuration file somewhere in "C:\\Users\\User123\\AppData\\Local\\Atlassian\\SourceTree\\" where I could configure the path where the file "bookmarks.xml" is created and managed?

Currently my "bookmarks.xml" is located here : "C:\\Users\\User123\\AppData\\Local\\Atlassian\\SourceTree\\bookmarks.xml". I would like it to be moved somewhere else i.e "S:\\Share\\NewLocationOfBookmarksFile\\bookmarks.xml".

I would like to relocate "bookmarks.xml" to a shared location of my choice so that changes (for example, addition of new repos) will reflect automatically on every machines.

Any tips will be greatly appreciated.   
Thanks


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

This is a right pain to do on poor operating systems like Windows, but a doddle on unix-like ones.

\<smug mode engaged\> \*nix users can just say "ln -s \<file on any system I can see\> \<target file\>".

Windows is a lot more rubbish, you will need to tell it to mount S: as a drive, and then to link the file via the S: drive

comments: author: Rony MIDAHUEN
body: Thanks for your thoughts.

<br />

Unfortunately, we're all on Windows and I have to agree with you regarding its rigidity.  
S:\\ is already mounted on all PCs.  
I don't understand what you mean by "link the file via the S: drive"

Thanks for your insights.


author: Nic Brough -Adaptavist-
body: Sorry, I should have included the URL to the docs - <https://learn.microsoft.com/en-us/windows/win32/fileio/creating-symbolic-links>


author: Rony MIDAHUEN
body: Thanks again, I'll try to make the most of it.