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

Deleting Repository does not Delete from Disk

Patrick Chen July 12, 2021

Hello,

We're trying to manage disk space on our Bitbucket Server instance.

However, even after deleting a repository, the repository folder is not deleted from the host server.

Example: Repository 'ABC' is stored in 'E:\Bitbucket_Data\shared\data\repositories\1278' and takes up 3GB of space.
After using the Bitbucket Server UI to Delete the repository 'ABC', the folder 'E:\Bitbucket_Data\shared\data\repositories\1278' is still on the disk and the files are still there.

Is this expected/intended behavior?

If so, can I safely delete folder 'E:\Bitbucket_Data\shared\data\repositories\1278' manually from the disk?

 

Edit for clarification:
I am not trying to delete a Project Repo. I'm trying to delete a Personal Repo that was forked from a Project Repo. 

In the example, 'ABC' is forked from '123'
'ABC' is stored at 'E:\Bitbucket_Data\shared\data\repositories\1278'
'123' is stored at 'E:\Bitbucket_Data\shared\data\repositories\1248'

I only want to delete and reclaim disk space from 'ABC'

2 answers

0 votes
Ludovic Garcia July 28, 2021

Hello,

I am facing the same issue as @Patrick Chen on version 7.6.1 of Bitbucket Server.

Can someone please answer his question ?

Kind regards,

0 votes
Patrick Chen July 13, 2021

Related to this: We have hundreds of thousands of folders in the tmp\git folder

Can these folders be deleted manually?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
6.6.2
TAGS
AUG Leaders

Atlassian Community Events