Cannot Delete a Repository

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

When viewing a repository:

  1. The 'delete' option is disabled (i.e. grayed out).

  2. Every option is disabled in the web interface except View.

Cause

When stopping a repository, Fisheye will finish committing the changeset, then send an svn cancel command via the Subversion client. In some circumstances, the Subversion client will not respond, causing Fisheye to wait.

Resolution

  1. Perform a backup of Fisheye

  2. Stop the Fisheye server.

  3. Manually delete the cache of that repository at <FISHEYE_INSTALL>/var/cache/RepositoryName, where RepositoryName is substituted for your repository name.

  4. Manually delete the repository configuration from <FISHEYE_INST>/config.xml. The tag appears as:

    1 2 3 4 <repository description= ... </repository>
  5. Restart Fisheye.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.