Cannot Restore Write Access to Repository (2 GB Limit Overshot) Edited

I'm getting the following warning on my repository

repository is in read only mode (over 2 GB size limit).

I then followed the instruction given here to reduce my repository size and restore write access.

I ran the following commands in my local git repository:

git reset --hard <commit-SHA>

git push --force origin master

The first command executed correctly and took me to my initial commit, which was pretty much empty, but the second command gives me the error:

repository is in read only mode (over 2 GB size limit).

Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What I'm missing here?

Besides that, I can't access this repository through Bitbucket web interface, I'm keep getting 404 error.

Could someone please help me resolve this issue?

1 answer

0 votes

Hi Veloo! We started a gc in the remote repo more than an hour ago, but the repo seems to be huge and it's still running. I'll keep you posted!

Regards,

Ana

Hi again Veloo! The size of the remote repo is now 247.6 MB. Is there anything else I can help you with?

Cheers,

Ana 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

440 views 6 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you