Missing authentication for Git repo

Hi all,

I recently upgraded to Bamboo 5.8.1 and we've discovered that creating a new plan with Git as the repo no longer gives the option for authentication.

If I add a repo, select Git as the Host, the only fields are Display Name, Repository URL and Branch. If I select any of the other hosts, such as Bitbucket, the Username and Password fields appear.

When I try saving the repo anyway, I get an error saying "Failed to validate build configuration for the Git repository (com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git:git). Name is null".

Has something funky happened to the Git plugin? Anyone know what's going on, or suggestions on how to fix it?

Thanks!

Matt

7 answers

Hi Sergii

My issue ended up being a table called CREDENTIALS wasn't created in the upgrade. Check if you have this table, and if not you'll need to create it with the follow query (note this is for MS SQL):

CREATE TABLE [dbo].[CREDENTIALS](
	[CREDENTIALS_ID] [numeric](19, 0) NOT NULL,
	[NAME] [nvarchar](255) NULL,
	[XML] [ntext] NULL,
PRIMARY KEY CLUSTERED 
(
	[CREDENTIALS_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
0 vote

Hello,

Can you clear browser cache and check if there is any JS errors in browser console.

Just checked how it looks for Git repository at Bamboo 5.8.1Screen Shot 2015-06-03 at 10.42.15.png

Yep, cleared cached, tried FF, Chrome, IE. Tried on a completely different PC. The authentication type just won't appear. He's what I'm seeing:

Capture.PNG

As for any JS errors, all the console shows me are two warnings:

js.PNG

I've been through all the system settings hoping to find something obvious that might disable this, but nothing leaps out.

0 vote

Hello,

Can you try fresh installation of Bamboo 5.8.1, not upgrade. May be it's linked with upgrade or some plugin you had in 5.6

Experiencing the same issue after upgrade to Bamboo 5.8.2 build 5866
If that possible to debug/troubleshoot the issue, as we can't use any git repository 

 

Hi Matt,

Thanks a lot for your feedback. Your advise helped to solve the issue.

I'm seeing the same issue with 5.9.7. I have a CREDENTIALS table:

 

| CREDENTIALS | CREATE TABLE `CREDENTIALS` (

  `CREDENTIALS_ID` bigint(20) NOT NULL,

  `NAME` varchar(255) COLLATE utf8_bin DEFAULT NULL,

  `XML` longtext COLLATE utf8_bin,

  `PLUGIN_KEY` varchar(255) COLLATE utf8_bin DEFAULT NULL,

  PRIMARY KEY (`CREDENTIALS_ID`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin |

 

We've upgraded from 5.7 or 5.8 to 5.9 a while ago.. Any ideas on how to fix this? It's a production system so I can't do a clean install.

 

Thanks!

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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,493 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