Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
  • Community
  • Products
  • Bamboo
  • Questions
  • java.lang.IllegalStateException: Unable to bootstrap Bamboo: Failed to run pre-bootstrap upgrade tasks. Please contact Atlassian and https://support.atlassian.com

java.lang.IllegalStateException: Unable to bootstrap Bamboo: Failed to run pre-bootstrap upgrade tasks. Please contact Atlassian and https://support.atlassian.com

vidhya joshi November 30, 2011

I am running atlas-run to check my bamboo plugin . Getting error

2011-12-01 12:56:14 fatal bootstrap Could not load bootstrap from environment java.lang.IllegalStateException: Unable to bootstrap Bamboo: Failed to run pre-bootstrap upgrade tasks. Please contact Atlassian and https://support.atlassian.com

5 answers

0 votes
Roman Baranov February 19, 2015

Im actually getting same issue on version 5.7.2.

Was there ever a resolution for this?

Michael Averto March 1, 2015

Roman check your logs: /bamboo-home/logs Mine says com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. Which makes mine a MySQL Problem.

Nik P September 20, 2016
Saved me! Looked in the /bamboo-home/logs and found that i needed to 

 

alter database bamboo
SET READ_COMMITTED_SNAPSHOT ON
0 votes
vidhya joshi December 1, 2011

Still not resolved..

i modified my pom as

<properties>
<bamboo.version>3.3.3</bamboo.version>
<bamboo.data.version>3.2.2</bamboo.data.version>
</properties>

Still finding the same issue. I just modified the pom and ran atlas-run. DO I need to do something else before running the command?

PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 1, 2011

Try running 'atlas-mvn clean' (or manually: 'rm target -rf') prior to the atlas-run - that should help.

vidhya joshi December 2, 2011

clean command helped. I am able to navigate to the page http://localhost:6990/bamboo/start.action#menu

I am not able to get all the css loaded. The page looks distorted. Also I am not able to go to the dashboard.

James Dumay
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 4, 2011

Try resetting your base url to http://localhost:6990

0 votes
PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 1, 2011

You need to up your bamboo.data.version in pom.xml

For example my plugin pom.xml looks like

(...)
    &lt;properties&gt;
       &lt;bamboo.version&gt;3.3&lt;/bamboo.version&gt;
       &lt;bamboo.data.version&gt;3.2.2&lt;/bamboo.data.version&gt;
    &lt;/properties&gt;
(...)

0 votes
vidhya joshi December 1, 2011

This error I am getting when i try to run the atlas-run for bamboo plugin.

on the console I get the message

[INFO] bamboo started successfully and available at http://localhost:6990/bamboo

but when I try to open the url on the browser, I am getting error message as

2011-12-01 12:56:14 fatal bootstrap Could not load bootstrap from environment java.lang.IllegalStateException: Unable to bootstrap Bamboo: Failed to run pre-bootstrap upgrade tasks. Please contact Atlassian and https://support.atlassian.com

vidhya joshi December 1, 2011

Here is the complete log that i see in the atlassian-bamboo.log file

011-12-01 17:44:35,257 INFO [main] [lifecycle] Real path of servlet context: C:\domain_services\svn\workspace\TemplateBambooPlan\AutomateBamboo\target\container\tomcat6x\cargo-bamboo-home\webapps\bamboo
2011-12-01 17:44:35,525 INFO [main] [DefaultAtlassianBootstrapManager] Running pre-bootstrap upgrade tasks
2011-12-01 17:44:35,562 FATAL [main] [DefaultAtlassianBootstrapManager] Pre-bootstrap upgrade tasks failed: [Direct upgrade from a version of Bamboo before 2.7.4 is not possible, you have to upgrade to an intermediate Bamboo version first. Consult Bamboo Upgrade Guide at http://confluence.atlassian.com/x/oQoD.]<br< a=""> />2011-12-01 17:44:35,564 FATAL [main] [BootstrapLoaderListener] An error was encountered while bootstrapping Bamboo (see below):
Unable to bootstrap Bamboo: Failed to run pre-bootstrap upgrade tasks. Please contact Atlassian and
https://support.atlassian.com<br< a=""> />java.lang.IllegalStateException: Unable to bootstrap Bamboo: Failed to run pre-bootstrap upgrade tasks. Please contact Atlassian and https://support.atlassian.com

at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

0 votes
James Dumay
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 1, 2011

Are you able to paste the full log on pastebin.com and link it here so we can try to figure out how to help you?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events