Atlassian bitbucket Bakcup fails

Bruce Gu I'm New Here Nov 28, 2017

Bitbucket backup failing with below error. Bitbucket server is not locked and did not require to unlock using any token as mentioned in the backup.  

 

2017-11-28 02:00:07,013 INFO [main] c.a.b.i.b.client.spring.SpringMain Initializing
2017-11-28 02:00:09,812 ERROR [main] c.a.b.i.backup.client.BackupMain A backup could not be created
com.atlassian.bitbucket.internal.backup.client.BackupException: Bitbucket has already been locked for maintenance by another process. If a previous backup attempt has failed, Bitbucket must be manually unlocked via its UI before another backup can be started. The token necessary to unlock the system is available in Bitbucket's logs.
at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.handleAlreadyLocked(RestBitbucketService.groovy:324) ~[bitbucket-backup-client.jar:3.3.0]
at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.getVersion(RestBitbucketService.groovy:188) ~[bitbucket-backup-client.jar:3.3.0]
at com.atlassian.bitbucket.internal.backup.client.DefaultBackupClient.negotiateWithBitbucket(DefaultBackupClient.groovy:111) ~[bitbucket-backup-client.jar:3.3.0]
at com.atlassian.bitbucket.internal.backup.client.DefaultBackupClient.doBackup(DefaultBackupClient.groovy:45) ~[bitbucket-backup-client.jar:3.3.0]
at com.atlassian.bitbucket.internal.backup.client.extensions.StopwatchExtension.time(StopwatchExtension.groovy:11) ~[bitbucket-backup-core-3.3.0.jar:na]
at com.atlassian.bitbucket.internal.backup.client.DefaultBackupClient.backup(DefaultBackupClient.groovy:39) ~[bitbucket-backup-client.jar:3.3.0]
at com.atlassian.bitbucket.internal.backup.client.spring.SpringMain.run(SpringMain.groovy:28) [bitbucket-backup-core-3.3.0.jar:na]
at com.atlassian.bitbucket.internal.backup.client.spring.SpringMain.run(SpringMain.groovy) [bitbucket-backup-core-3.3.0.jar:na]
at com.atlassian.bitbucket.internal.backup.client.BackupMain.main(BackupMain.groovy:39) [bitbucket-backup-client.jar:3.3.0]
at com.atlassian.bitbucket.internal.backup.client.JavaVersionCheckingShim.invokeClientClassMain(JavaVersionCheckingShim.java:71) [bitbucket-backup-client.jar:3.3.0]
at com.atlassian.bitbucket.internal.backup.client.JavaVersionCheckingShim.run(JavaVersionCheckingShim.java:85) [bitbucket-backup-client.jar:3.3.0]
... 106 frames suppressed
Caused by: org.springframework.web.client.HttpServerErrorException: 503 Service Unavailable
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:94) ~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:641) ~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:597) ~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:557) ~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:264) ~[spring-web-4.2.5.RELEASE.jar:4.2.5.RELEASE]
at com.atlassian.bitbucket.internal.backup.client.RestBitbucketService.slurp(RestBitbucketService.groovy:291) ~[bitbucket-backup-client.jar:3.3.0]
... 93 common frames omitted
... 21 frames suppressed

0 answers

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

652 views 0 4
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot