Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo 6.3.0 won't start

Hello,

We are using Bamboo 6.3.0 on Windows 2012. Everything was working fine with this install until recently when the service failed to start on a system reboot. Nothing with the Bamboo or Java configuration has changed.

The Bamboo log looks normal until it gets to the system information box, at which point it records the warning below:

2019-01-15 19:38:52,075 ERROR [setupDefaultGeneralBackgroundThread] [XmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemInfoFactory' defined in class path

 

After throwing this warning the service begins shutting down. We've double checked the ownership and confirmed that the system account running the Bamboo service has full read/write access to the Bamboo home directory. What else should we check to resolve this?

1 answer

1 accepted

1 vote
Answer accepted

Hi @DPool,

We have very few cases with a similar error and they were related to a misleading configuration file (that could be either missing or corrupted).

Do you mind checking if the file <Bamboo_Home>\xml-data\configuration\administration.xml is there and if it has content inside?

This would be default content for a Bamboo 6.7.2 instance:

<AdministrationConfiguration>
<myBaseUrl>http://myBambooUrl</myBaseUrl>
<myUseGzipCompression>true</myUseGzipCompression>
<myInstanceName>Atlassian Bamboo</myInstanceName>
<deploymentExpiryEnabled>true</deploymentExpiryEnabled>
<myBuildExpiryConfiguration>
<myDuration>0</myDuration>
<buildsToKeep>0</buildsToKeep>
<maxIgnoredLogSize>-1</maxIgnoredLogSize>
<expiryTypeNothing>false</expiryTypeNothing>
<expiryTypeResult>false</expiryTypeResult>
<expiryTypeArtifact>false</expiryTypeArtifact>
<expiryTypeBuildLog>false</expiryTypeBuildLog>
<enabled>false</enabled>
</myBuildExpiryConfiguration>
<myBuildHangingConfig>
<multiplier>2.5</multiplier>
<minutesBetweenLogs>20</minutesBetweenLogs>
<minutesBeforeQueueTimeout>5</minutesBeforeQueueTimeout>
<disabled>false</disabled>
</myBuildHangingConfig>
<concurrentBuildConfig>
<enabled>false</enabled>
<numberConcurrentBuilds>1</numberConcurrentBuilds>
</concurrentBuildConfig>
<storageLimits>
<softLimit>20</softLimit>
<hardLimit>25</hardLimit>
</storageLimits>
<dashboardPageSize>50</dashboardPageSize>
<enableSignup>true</enableSignup>
<enableAnonymousAccess>true</enableAnonymousAccess>
<enableViewContactDetails>false</enableViewContactDetails>
<enableRestrictedAdmin>false</enableRestrictedAdmin>
<soxComplianceModeEnabled>false</soxComplianceModeEnabled>
<remoteAgentFunctionEnabled>true</remoteAgentFunctionEnabled>
<remoteAgentAuthenticationEnabled>true</remoteAgentAuthenticationEnabled>
<auditLoggingEnabled>true</auditLoggingEnabled>
<gravatarSupportEnabled>true</gravatarSupportEnabled>
<gravatarServerUrl>https://secure.gravatar.com/avatar/</gravatarServerUrl>
<showAdminContactDetailsToAnonymousUsers>false</showAdminContactDetailsToAnonymousUsers>
<unauthenticatedRemoteTriggerAllowed>false</unauthenticatedRemoteTriggerAllowed>
<systemProperties/>
<buildHangedInQueueNotificationTimeout>120</buildHangedInQueueNotificationTimeout>
<branchDetectionCheckInterval>300</branchDetectionCheckInterval>
<xsrfProtectionEnabled>true</xsrfProtectionEnabled>
<xsrfAllowsMutativeGets>false</xsrfAllowsMutativeGets>
<serializationSecurityConfig>
<bandanaMethod>STRICT_BLACKLIST</bandanaMethod>
<xStreamMethod>WHITELIST</xStreamMethod>
</serializationSecurityConfig>
<securityTokenRequiredFromAgents>false</securityTokenRequiredFromAgents>
<manageAcceptedSshHostKeys>false</manageAcceptedSshHostKeys>
<rssSecurityConfiguration>
<enabled>true</enabled>
<executeSpecsInDocker>true</executeSpecsInDocker>
<dockerImage>atlassian/bamboo-specs-runner:6.7.2</dockerImage>
</rssSecurityConfiguration>
</AdministrationConfiguration>

(!) Please make sure you don't add any sensitive information from your instance in community threads.

Hi Daniel,

 

That folder had two files, "administration" which is 0KB and "administration - copy" that is 6KB. I backed up the two files, and renamed the original to .old and then renamed the copy to just administration. The XML file looks correct.

 

I started the service, but the Bamboo site is still unavailable. Unlike previously, the service does at least stay running. What would you suggest we check next?

Do you see any new error in the logs?
Have you tried to access the instance though its direct IP to avoid any proxy issue?

Bingo! We found another configuration file with bad data that was loading. It looks like removing that has solved our issue. This can be considered resolved.

 

Thank you very much for the help!

Like Daniel Santos likes this

You are welcome mostly @DPool!

Jimmy Seddon Community Leader Jun 21, 2019

Thanks again @Daniel Santos!

I was running into issues settup up a test server and this helped me resolve those issues.

Like Daniel Santos likes this

I'm glad it helped! Thank you @Jimmy Seddon for taking the time to share your feedback here. =]

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

250 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you