Forums

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

Lost LFS Objects after migrating to another server

Clemens Marckhoff
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!
September 12, 2018

Hi,

we are using Atlassian Bitbucket 4.13 on our own Ubuntu 16.04 server, we have migrated our installation to another 16.04 server, everything is working except the LFS:

 

- Index for the files seems correct, they are displayed as usual

- The referenced files seem gone (or haven't migrated correctly)

- Master Branch couldn't be checked out, because of missing object / file

 

We've used this migration guide:

https://confluence.atlassian.com/bitbucketserver/migrating-bitbucket-server-to-another-server-776640406.html

 

Could someone help us out?

 

Thank you in advance & best regards

Oliver

1 answer

1 accepted

0 votes
Answer accepted
Prasanth
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2018

Hi Clemens

Bitbucket server stores Git LFS in the directory $BITBUCKET_HOME/shared/data/git-lfs/storage.  Please make sure you have migrated this as well to the new server.

If that doesn't help and if your old server still available you can do a clone and run

git lfs fetch --all

then add the new origin to new server, then do a 

git lfs push --all 

Hope this helps!

 

Best regards,
Prasanth Thaikkalloor

Clemens Marckhoff
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!
September 13, 2018

Hi Prasanth,

i've checked the two path vice-versa and there was a difference.

After starting a new copy of this folder, the files are back, simple as that.

Solved - Thank you very much!

Best regards

Oliver

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events