Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Atlassian bitbucket Bakcup fails

Bruce Gu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 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 Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events