Mercurial repositories no longer work on Bamboo 8 or newer: Cannot use this repository. Plugin is missing or disabled.

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Summary

After upgrading to Bamboo 8.0 or newer, the Mercurial repositories no longer work: Cannot use this repository. Plugin is missing or disabled.

Environment

Bamboo 8 or newer.

Diagnosis

The following error shows up when accessing a Mercurial repository in Bamboo after upgrading to 8.0 or newer.

Cannot use this repository. Plugin is missing or disabled. Plugin key: com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-mercurial:mercurial

Under Bamboo administration > Overview > Server Capabilities,  system.hg.executable  is marked as a custom capability and there it's not possible to add a Mercurial capability type.

Cause

Starting on Bamboo 8.0, support for Mercurial has been discontinued and the Mercurial plugin was removed from bundled plugins.

Solution

Repositories can be re-added with the Git repository type. It's also strongly suggested to Migrate to Git.

Last modified on Oct 13, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.