corrupted repository that breack back up procedure

Hello,

In my stash-home/data/repositories, I have a repository (1396) that contains only refs and no others items. It is clearly not a repository.

to be precise, there is only one ref:

refs/heads/feature/07580037???05272829???DB

and 07580037???05272829???DB is a file containing a sha1.

Since this file has been created, my back up procedure in place since Stash 2.9, using the jar file you provide and describe in the back up stash documentation page, doesn't work. The back up procedure has an issue with this object.

Error message is:

com.atlassian.stash.internal.backup.client.BackupException: Some files and/or directories could not be read in Stash home. Please change their permissions to make them readable by the user running the backup client or exclude them from thebackup using the stash.home.excludes property and retry. The following files and/or directories could not be read:

/farequote/stash/stash-home/data/repositories/1396/refs/heads/feature/07580037??

?05272829???DB

Could you help me saying how can I delete this object from stash properly without putting at risk my others repos?

I have excluded the repo 1396 from my back up using stash.home.excludes option, but I do not know what to do with this item. 1396 is not referenced as a repository in the repositories table.

1 answer

1 accepted

This widget could not be displayed.

The issue came from fork created with UTF-16 characters. The fork was deleted, but it could happen that it remains in the /data folder. Manual deletion fix the issue.

Hi Pierre,

Sorry for the delay. Sounds like you sorted the issue. If you get stuck again feel free to raise a support ticket.

https://support.atlassian.com

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,224 views 8 11
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