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,298,489
Community Members
 
Community Events
165
Community Groups

Unable to Delete Project With Zombie Repo

Deleted user Oct 21, 2021

Hello! I have a fun problem. I am looking to clean-up an old project on BitBucket but keep getting an error when trying to delete it.

When trying to delete the project I receive: "You cannot delete this project because it still contains repositories. To delete the project you must first move or delete any repositories." And the "Delete" button is disabled.

The Project's repositories page does show a repo that I deleted months ago. When I click on the repo I receive the error page indicating "This repository has been deleted".

So, it appears that I am stuck and have had no success unstucking myself! My main concern is that the repo is indeed deleted (don't want code floating around) and the second problem is I can't seem to delete the project in the current state to wind down the account.

Any experience or ideas would be much appreciated!

Thanks.

 

2 answers

2 accepted

1 vote
Answer accepted

Hi Chris,

I can delete the repo for you if you'd like. I can see in our system that there is a Bitbucket Cloud account with the same email as your community account. This account has access to some workspaces, and one of these workspaces owns a repo that is in 'Deleting' state. The repo name starts with 'dis', is this the repo to delete?

I would just like to get your confirmation first before I proceed with the deletion.

Kind regards,
Theodora

Deleted user Oct 22, 2021

Hi @Theodora Boudale ! Thank you so much for the help.

Confirmed, the one starting with "dis*" is the correct one to remove.

Thanks!

-Chris

Hi Chris,

You're very welcome and thank you for the confirmation.

I went ahead and removed this repo, so you should now be able to delete the workspace that used to own it.

Please feel free to let me know if you need anything further!

Kind regards,
Theodora

Like Deleted user likes this
Deleted user Oct 22, 2021

A million thanks @Theodora Boudale and @seanaty , all set now!

Like Theodora Boudale likes this

You are very welcome Chris, glad to have helped! Please feel free to reach out if you ever need anything else!

Kind regards,
Theodora

1 vote
Answer accepted
seanaty Atlassian Team Oct 21, 2021

It's probably best in this scenario to contact support and they can set you straight. I doubt there is anything you can do (that you haven't already tried) on your end.

You could potentially try deleting the repository via the API and see if that'll work. https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D#delete

Deleted user Oct 21, 2021

Thanks @seanaty ! It does seem like a bug and the support route makes sense, however, I'm now remembering why I didn't go there immediately. This was a paid account, however, since the project sunset has moved over to the free version.

In trying the support flow it looks like I can only use it if paying. In my case, feels a little awkward given the circumstance ... not sure if there are alternate paths in cases like this?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,229 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you