stash backup client failing

The stash backup client version 1.1.0 is having issue while taking backup of stash repo

& mysql throws below error "c.a.s.i.b.client.RestStashService Database backup was already manually cancelled on Stash" but its not cancelled by anyone .

I stop & start stash and ran backup script again ,its successful .now its working but its happening after 4-5 days and again i have to restart the stash.

is it a bug in backup client ? please check and let me know what could be the reson ?

2014-02-23 23:01:06,769 INFO [main] c.a.s.i.b.client.DefaultBackupClient Waiting on Stash database backup to complete

2014-02-23 23:01:11,779 INFO [main] c.a.s.i.b.client.RestStashService Cancelling database backup with code: 4ff13e81fa06d090203a21c46a79da7c3b35bdb9

2014-02-23 23:01:11,799 INFO [main] c.a.s.i.b.client.RestStashService Database backup was already manually cancelled on Stash

2014-02-23 23:01:11,800 INFO [main] c.a.s.i.b.client.RestStashService Unlocking Stash using token: f6ab25c50f0c6ccac777d63d7e9366bbe25e3634

2014-02-23 23:01:11,818 ERROR [main] c.a.s.i.backup.client.BackupMain A backup could not be created. Reason: The backup process on the server failed. Check the server logs for more details

com.atlassian.stash.internal.backup.client.BackupFailedException: The backup process on the server failed. Check the server logs for more details

at com.atlassian.stash.internal.backup.client.DefaultBackupClient.throwIfCancelledOrFailed(DefaultBackupClient.groovy:148) ~[stash-backup-client.jar:1.1.0]

at com.atlassian.stash.internal.backup.client.DefaultBackupClient.waitForBackupTaskCompletion(DefaultBackupClient.groovy:216) ~[stash-backup-client.jar:1.1.0]

at com.atlassian.stash.internal.backup.client.DefaultBackupClient.downloadDbZipOnBackupCompletion(DefaultBackupClient.groovy:109) ~[stash-backup-client.jar:1.1.0]

at com.atlassian.stash.internal.backup.client.DefaultBackupClient.archiveHome(DefaultBackupClient.groovy:79) ~[stash-backup-client.jar:1.1.0]

at com.atlassian.stash.internal.backup.client.FixedRateProgressPublisher.publishWhileExecuting(FixedRateProgressPublisher.groovy:34) ~[stash-backup-client.jar:1.1.0]

at com.atlassian.stash.internal.backup.client.RestStashService.backup(RestStashService.groovy:65) ~[stash-backup-client.jar:1.1.0]

at com.atlassian.stash.internal.backup.client.RestStashService.lock(RestStashService.groovy:173) ~[stash-backup-client.jar:1.1.0]

at com.atlassian.stash.internal.backup.client.DefaultBackupClient.backup(DefaultBackupClient.groovy:50) ~[stash-backup-client.jar:1.1.0]

at ~[stash-backup-core-1.1.0.jar:na]

at com.atlassian.stash.internal.backup.client.BackupMain.main(BackupMain.groovy:38) ~[stash-backup-client.jar:1.1.0]

... 149 frames suppressed

2 answers

The backup process on the server failed. Check the server logs for more details

And please write your post in a more readable format. For instance use the code block for stacktraces.

Hi Akshaya,

I might suggest you raise a support ticket and attach your Stash and Backup client logs so we can help you further.



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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...

1,746 views 1 5
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