Bamboo CLI: CLI connector is not installed or enabled on the server

Hi,

I keep getting the following error message, when I try to use the bamboo cli:

$/bamboo.sh --server http://192.168.1.104:8085 --user ... --password ... --action getPlanList --project "@all"

> Client error: CLI connector is not installed or enabled on the server.

I've followed the Installation Instructions and also double checked the points mentioned in ACLI-230. Without luck, unfortunately.

Here's what I've got:

Plain Vanilla Installation: Bamboo 5.12.2.1 (see Dockerfile)
CLI version: 5.4.0
Bamboo Add On: Run CLI Actions in Bamboo, 5.4.0 (successfully installed and rebooted server)
Bamboo Admin -> General Configuration -> Base URL: Set to same value that I'm using on CLI
CLI --server: Exact same URL I can successfully hit in browser

I can see that the CLI is trying to hit
http://192.168.1.104:8085/rest/org.swift.bamboo.cli/latest/validatelicense. When I hit that URL directly, I get a 404, however. So, I guess that's part of the problem.

Any idea what's wrong?

Cheers,
patric

1 answer

Install the connector directly from Bamboo Command Line Interface (CLI) - it is a UPM installed component required on your server. Leave the connector unlicensed as it will find your Run CLI add-on license and consider itself license because of that.

I'm not sure I understand what you mean. Could you please clarify:

> Install the connector directly from Bamboo Command Line Interface (CLI)

I can't find anything in the CLI help text that seems to do that. Could you please provide an example? (also, the link you provided is broken).

> Leave it unlicensed as it will find your Run CLI add-on license and use that.

What does "it" refer to - the CLI or the Server Add-On? I've installed and licensed the Server Add-On. Don't think there's an option to license the CLI. Could you clarify, please?

I clarified and corrected the link to the Marketplace entry for the connector.

Works now. Thanks!

For anybody else having the same problem, there are actually three parts to this, which wasn't clear to me:

  1. The Bamboo CLI Connector, which I installed directly from the Manage add-ons section in Bamboo
  2. Bamboo Command Line Interface (CLI) add-on, which I downloaded (jar file) and then uploaded again in the Manage add-ons section in Bamboo. (this was the bit that was not clear to me)
  3. The actual Bamboo Command Line Interface (CLI) that runs on your local machine

Actually the first 2 are the same. 

  1. Bamboo Command Line Interface (CLI) add-on and installs on your Bamboo as the Bamboo CLI Connector
  2. The Bamboo client is what runs on your machine and needs to be installed following instructions found on the add-ons Get started panel or directly from the this web site - Downloads.

 

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot