You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We recently migrated Bamboo to a new server The version (8.0.4) stayed the same. We use Bitbucket 7.17.1 as our git repo. Bamboo runs as a Windows service using a domain user that is local admin on the VM. I've also manually set the service account to have Full Control over the working directory.
The working directory was changed to /workdir after migrating to give us a few more characters to avoid path length limits, and the Git version is 2.33.1. We downgraded from 2.35.1 in case there was an issue with that version.
When a plan runs, we see the following:
simple 04-Apr-2022 10:29:28 Starting task 'Checkout ProductDocs' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 04-Apr-2022 10:29:28 Checking out into F:\Bamboo_Builds\Bamboo-home\workdir\OPS-RAFVGCR-JOB1\ProductDocs simple 04-Apr-2022 10:29:28 Updating source code to revision: 3ee3f01de05d1227d8e6cabca0adf3af8ed35b4c simple 04-Apr-2022 10:29:28 Fetching 'refs/heads/master' from 'ssh://firstname.lastname@example.org:7999/pt/productdocs.git'. simple 04-Apr-2022 10:29:28 Warning: Permanently added '[127.0.0.1]:59799' (RSA) to the list of known hosts. simple 04-Apr-2022 10:29:29 Checking out revision 3ee3f01de05d1227d8e6cabca0adf3af8ed35b4c. simple 04-Apr-2022 10:29:29 fatal: not a git repository (or any of the parent directories): .git error 04-Apr-2022 10:29:29 Checkout to revision 3ee3f01de05d1227d8e6cabca0adf3af8ed35b4c has failed.
This is happening on multiple repos, but not all. We have tried deleting the cache in Bamboo, stopping Bamboo, deleting the contents of the git cache in the working directory, and restarting Bamboo, adding the service account to the working directory and cache with full control, and downgrading the Git install in case that was causing an issue.
Really not sure where to go from here. We have a ticket open, but maybe this will be faster?