After starting "Export to Server" Bamboo is attempting to pause but it fails after 60 minutes

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

After starting "Export to Server" from Bamboo administration panel Bamboo is attempting to pause server but after 60 minutes it fails.

The following appears in the atlassian-bamboo.log

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2017-01-23 08:34:01,639 ERROR [13-CloudExportServiceImpl.exportCloudInstance:pool-21-thread-1] [CloudExportServiceImpl] Cloud export failed java.util.concurrent.CompletionException: java.lang.RuntimeException: com.atlassian.bamboo.migration.cloud.exception.CloudExportException: Unable to pause server at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1621) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: com.atlassian.bamboo.migration.cloud.exception.CloudExportException: Unable to pause server at com.google.common.base.Throwables.propagate(Throwables.java:160) at com.atlassian.bamboo.migration.cloud.service.CloudExportServiceImpl.pauseServer(CloudExportServiceImpl.java:91) at com.atlassian.bamboo.migration.cloud.service.CloudExportServiceImpl$$Lambda$657/8713239.run(Unknown Source) at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618) ... 7 more Caused by: com.atlassian.bamboo.migration.cloud.exception.CloudExportException: Unable to pause server ... 10 more Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1763) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1907) at com.atlassian.bamboo.migration.cloud.service.CloudExportServiceImpl.pauseServer(CloudExportServiceImpl.java:83) ... 9 more

Cause

Most possible reason is that builds are still building or are hanging in the queue.

Resolution

Manually stop all the builds in the queue.

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.