Git credentials storage exception when trying to connect to a Github repository from Bamboo.

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

    

Summary

Git credentials storage exception when trying to connect to a Github repository from Bamboo.

Environment

  • To date, it's more prevalent on Windows

Diagnosis

When testing the connection to a GitHub repository, Bamboo reports:


(warning) We couldn't connect to the repository. Here's what we got back:

Git credentials storage exception.


Cause

The user running the Bamboo Server process does not have full permissions to read/write from the $BAMBOO_INSTALL\temp directory.

Solution

Windows:
  1. Shutdown Bamboo
  2. Remove all contents from this directory, to clean it: $BAMBOO_INSTALL\temp
  3. Right click >> Properties on $BAMBOO_INSTALL\temp
  4. Visit the Security / Permissions tab
  5. Ensure that the user you're using to run Bamboo has Full Control over this folder and its contents
    1. If running Bamboo as the LOCALSYSTEM account, this maps to the BUILT-IN\Administrator group
  6. Start Bamboo





Last modified on Jun 3, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.