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

This widget could not be displayed.

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]
This widget could not be displayed.

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

This widget could not be displayed.

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.

This widget could not be displayed.

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

This widget could not be displayed.

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 

 

This widget could not be displayed.

Hi Matt,

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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

195 views 1 3
Join discussion

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