Atlassian bitbucket Bakcup fails

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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

216 views 3 7
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