Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,023
Community Members
 
Community Events
176
Community Groups

Checking out revision causes fatal: not a git repository (or any of the parent directories): .git

Hello,

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://git@bit.paragonedge.com: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?

Thanks!

 

1 answer

Hi Stephen, 

I have the same behavior on a specific build plan. Did you solve your problem?

-Vincent

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events