Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10791

The overview page of an existing repository shows up as an empty repository / as a new repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.12.0
    • 5.10.0
    • Repositories
    • None

    Description

      Bug fixed

      This issue has been fixed by hardening the caching mechanisms around the calculation of the "is repository empty" logic.

      If you are experiencing this issue, please make sure that the Git hooks are executing correctly.
      See Git hook scripts are not executing for details, including troubleshooting and resolution steps.

      If the Git hooks are working correctly and the Bitbucket version is higher than 5.12, please submit a support ticket at https://support.atlassian.com/contact so that a support engineer can assist to address the problem.

      Summary

      An existing repository with content is displayed in the user interface as an empty one.

      The user interface will present the "emtpy/new repository" instructions:

      This may also happen in the following scenario:

      • after the first push for a new repository

      Steps to Reproduce

      1. Unkown

      Expected Results

      A repository with content displays its content in the user interface.

      Actual Results

      The repository content is not visible in the user interface.
      No errors are reported in the user interface or logs.

      Notes

      While the user interface indicates that the repository is empty, Git operations will succeed.
      These include clones and pushes.

      Workaround

      • Restart Bitbucket Server
      • Push a change to the affected repository

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ccurti Caterina Curti
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: