Git credentials storage exception when trying to connect to a Github repository from Bamboo.
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:
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:
- Shutdown Bamboo
- Remove all contents from this directory, to clean it:
$BAMBOO_INSTALL\temp
- Right click >> Properties on
$BAMBOO_INSTALL\temp
- Visit the Security / Permissions tab
- Ensure that the user you're using to run Bamboo has Full Control over this folder and its contents
- If running Bamboo as the
LOCALSYSTEM
account, this maps to theBUILT-IN\Administrator
group
- If running Bamboo as the
- Start Bamboo