Bitbucket continue to show that the repository is empty

Hello.

I have encountered a problem in my Bitbucket setup and would really appreciate if you could help me.

When a new repository is being created and some files are pushed to it for the first time, the page of repository doesn't refresh automatically, it says that repo is still empty. However when you push files for the second time, the page gets refreshed. Clearing browser cache or accessing Bitbucket in Incognito mode (Google Chrome) helps. I'm not sure if the issue is related to hook scripts not being executable, as it is stated in this article - https://confluence.atlassian.com/bitbucketserverkb/git-hook-scripts-are-not-executing-779171211.html . The only script that is in 'non-executable' mode in the repo is pre-push.sample . 

Thank you in advance.

 

Best regards,

Alexey Mikhailov

3 answers

1 vote

Hi Alexey,

Clearing browser cache or accessing Bitbucket in Incognito mode (Google Chrome) helps

This points out that there could be an issue with a browser add-on that you have installed.

Can you reproduce that from other clients? Could you try uninstalling add-ons from your browser one by one to see if you can rule it out?

Hope that helps,
Thiago Bomfim
DevTools

Hi Thiago,

Actually the issue is getting resolved randomly. If you create a new repository being in incognito mode and then push some data to it, it is still showing the repository is empty. The same appears in Internet Explorer where I don't have any add-ons installed.

I have a suspicion that it has something to do with Bitbucket nodes and git hooks it uses (probably the hooks are corrupted).

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,003 views 1 5
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