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

0 votes
Accepted answer

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

268 views 3 9
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