Bamboo 4.0 Upgrade Guide

The instructions on this page describe how to upgrade to Bamboo 4.0 from a previous version of Bamboo. For details on the Bamboo 4.0 release, see the Bamboo 4.0 Release Notes.

Please follow the Bamboo 4.0-specific instructions on this page, in addition to the upgrade instructions in the Bamboo upgrade guide.

Please read the Supported platforms page for the full list of supported platforms for Bamboo.

On this page:

Upgrade Notes

The following upgrade notes are specific to Bamboo 4.0

  • Bamboo's deprecated Remote API has been removed. If you are using this API, migrate to the Bamboo REST API.
  • There are no major schema upgrade tasks that may cause the Bamboo upgrade from 3.4 to 4.0 to take an extended amount of time.
  • If you are using Elastic Bamboo, we've upgraded JDK6, Grails 1.2, Grails 1.3 and Maven 3 to the latest minor releases on the stock images. Additionally, we've added Grails 2.0 to the image. See here for a complete list of elastic image contents.

Upgrading from Bamboo 3.4 to 4.0

To upgrade to Bamboo 4.0, following the appropriate instructions below:

We strongly recommend that you back up your Bamboo instance and database before upgrading, as described in the Bamboo upgrade guide.

Upgrading from Bamboo prior to 3.4

In addition to the notes below, please read the Upgrade Guide for every version you are skipping during the upgrade. 

Notes for upgrading from Bamboo 3.2

Notes for upgrading from a version of Bamboo prior to 2.7.4

  • You will need to upgrade to Bamboo 2.7.4 before upgrading to Bamboo 4.0. If you are using a version of Bamboo earlier than 2.6.3, we recommend that you upgrade to 2.6.3 before upgrading to Bamboo 2.7.4. Bamboo 2.6.3 can be downloaded from the Bamboo Archived Downloads page. Bamboo 2.7.x introduces a number of significant and irreversible changes, so a phased upgrade is recommended. Please see the Bamboo 2.7.x Upgrade Guide for more details.
  • You will need to set aside time, as described in the Bamboo 2.7.x Upgrade Guide, for Bamboo to migrate existing Plans to the new Plan structure in Bamboo 2.7.4.
  • If you are upgrading from Bamboo 2.5 or earlier, you will need to set aside time, as described in the Bamboo 2.6 Upgrade Guide for Bamboo to migrate its test result data (stored in XML files on the filesystem) into the database.
  • If you are upgrading from a version of Bamboo prior to 2.0, you must upgrade to Bamboo 2.0.6 first before upgrading to Bamboo 2.6.3 ( and then 2.7.4). Please read the Bamboo 2.0 Upgrade Guide for important upgrade instructions for upgrading from earlier versions of Bamboo.

Developing for Bamboo 4.0

If you are a Bamboo plugin developer, please refer to our Changes for Bamboo 4.0 guide, which outlines changes in Bamboo 4.0 that may affect Bamboo plugins compiled for earlier versions of Bamboo.

Checking for Known Issues and Troubleshooting the Bamboo Upgrade

If something is not working correctly after you have completed the steps above to upgrade your Bamboo installation, please check for known Bamboo issues and try troubleshooting your upgrade as described below:

  • Check for known issues. Sometimes we find out about a problem with the latest version of Bamboo after we have released the software. In such cases we publish information about the known issues in the Bamboo Knowledge Base. Please check the Bamboo Known Issues in the Bamboo Knowledge Base and follow the instructions to apply any necessary patches if necessary.
  • Did you encounter a problem during the Bamboo upgrade? Please refer to the guide to troubleshooting upgrades in the Bamboo Knowledge Base.
  • If you encounter a problem during the upgrade and cannot solve it, please create a support ticket and one of our support engineers will help you.

Was this helpful?

Thanks for your feedback!

6 Archived comments

  1. User avatar

    Gavin Smith

    Are there any notes for upgrading from 4.0 to 4.0.1?

    The installer looks like it just overwrites the existing configuration.

    18 Apr 2012
  2. User avatar

    Sagar Lohkare

    Currently we are using Atlassian Bamboo version 2.2.2 & we are in a plan to upgrade it.

    could you please suggest that to which next version we can go ahead to upgrade it or there is also a way to upgrade it to the latest version of Bamboo i.e. 5.3.

    20 Jan 2014
  3. User avatar

    Nathan Pye [Atlassian]

    Hi Sagar,

    If you have a look at the Bamboo Upgrade Guide it spells out the steps you will need to take to upgrade your version of Bamboo.

    It looks as if you will need to follow:

    2.2.2 > 2.6.3 > 2.7.4 > 5.3

    I hope this helps.

    20 Jan 2014
  4. User avatar

    Anonymous

    Thanks Nathan for info & we will proceed accordingly.

    28 Jan 2014
  5. User avatar

    Anonymous

    Hi Team, 

    Currently I am facing 1 issue with Bamboo remote agent & it went offline with below error.

    ===================================================================

    2014-01-28 04:10:31,324 FATAL [QuartzScheduler_Worker-2] [AgentHeartBeatJob] Full stack trace
    org.springframework.remoting.RemoteAccessException: Cannot access JMS invoker remote service at [null]; nested exception is javax.jms.JMSException: java.io.IOException: No space left on device
    Caused by:
    javax.jms.JMSException: java.io.IOException: No space left on device
    at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:46)
    at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1181)
    at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1551)
    at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:465)
    at org.jencks.amqpool.PooledProducer.send(PooledProducer.java:73)
    at org.logicblaze.lingo.jms.impl.OneWayRequestor.doSend(OneWayRequestor.java:196)
    at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.doSend(MultiplexingRequestor.java:189)
    at org.logicblaze.lingo.jms.impl.OneWayRequestor.send(OneWayRequestor.java:101)
    at org.logicblaze.lingo.jms.impl.OneWayRequestor.send(OneWayRequestor.java:97)
    at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.request(MultiplexingRequestor.java:122)
    at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.request(BambooMultiplexingRequestor.java:60)
    at org.logicblaze.lingo.jms.JmsClientInterceptor.invoke(JmsClientInterceptor.java:138)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy1.updateRemoteAgentStatus(Unknown Source)
    at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.updateHeartBeat(AgentHeartBeatJob.java:82)
    at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.updateHeartBeat(AgentHeartBeatJob.java:126)
    at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.updateHeartBeat(AgentHeartBeatJob.java:126)
    at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.updateHeartBeat(AgentHeartBeatJob.java:126)
    at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.updateHeartBeat(AgentHeartBeatJob.java:126)
    at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.updateHeartBeat(AgentHeartBeatJob.java:126)
    at com.atlassian.bamboo.v2.build.agent.remote.heartbeat.AgentHeartBeatJob.execute(AgentHeartBeatJob.java:45)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
    at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:36)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: org.apache.activemq.kaha.RuntimeStoreException: java.io.IOException: No space left on device
    at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:430)
    at org.apache.activemq.kaha.impl.container.MapContainerImpl.put(MapContainerImpl.java:246)
    at org.apache.activemq.store.kahadaptor.KahaMessageStore.addMessage(KahaMessageStore.java:51)
    at org.apache.activemq.store.kahadaptor.KahaTransactionStore.addMessage(KahaTransactionStore.java:133)
    at org.apache.activemq.store.kahadaptor.KahaTransactionStore$1.addMessage(KahaTransactionStore.java:56)
    at org.apache.activemq.broker.region.Queue.sendMessage(Queue.java:333)
    at org.apache.activemq.broker.region.Queue.send(Queue.java:326)
    at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:292)
    at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:382)
    at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:193)
    at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:126)
    at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:98)
    at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:136)
    at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:498)
    at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:604)
    at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294)
    at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185)
    at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65)
    at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:133)
    at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:124)
    at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
    at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:137)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.io.IOException: No space left on device
    at java.io.RandomAccessFile.writeBytes(Native Method)
    at java.io.RandomAccessFile.write(RandomAccessFile.java:466)
    at org.apache.activemq.kaha.impl.data.StoreDataWriter.storeItem(StoreDataWriter.java:75)
    at org.apache.activemq.kaha.impl.data.DataManager.storeDataItem(DataManager.java:129)
    at org.apache.activemq.kaha.impl.container.MapContainerImpl.write(MapContainerImpl.java:413)
    ... 22 more
    2014-01-28 04:10:31,486 FATAL [QuartzScheduler_Worker-2] [AgentHeartBeatJob] Invalid heartbeat. Exiting.

    ================================================================================

    Could you please suggest on this to me to resolve out the issue.

    Thanks & regards, 

    Sagar Lohkare

    28 Jan 2014
    1. User avatar

      Nathan Pye [Atlassian]

      Hi Sagar,

      This looke well beyond my ability to help with in a comment - can you please raise a ticket with support, and ask them to look at it?

      Cheers,

      Nathan Pye

      28 Jan 2014
Powered by Confluence and Scroll Viewport