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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,166 views 26 11
Join discussion

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