Web lists-archives.com

Re: remote: GitLab: LFS objects are missing. Ensure LFS is properly set up or try a manual "git lfs push --all".




On Tue, 29 May 2018, Andreas Tille wrote:

> Hi,
> 
> I intend to push a new version of gatk[1] which contains some large
> files.  I imported the new upstream package the usual way.  But if I
> want to push I get:
> 
> (master) $ LC_ALL=C git push
> Counting objects: 4599, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (4453/4453), done.
> Writing objects: 100% (4599/4599), 64.56 MiB | 1.09 MiB/s, done.
> Total 4599 (delta 811), reused 1 (delta 0)
> remote: Resolving deltas: 100% (811/811), completed with 1 local object.
> remote: GitLab: LFS objects are missing. Ensure LFS is properly set up or try a manual "git lfs push --all".
> To salsa.debian.org:med-team/gatk.git
>  ! [remote rejected] master -> master (pre-receive hook declined)
>  ! [remote rejected] pristine-tar -> pristine-tar (pre-receive hook declined)
>  ! [remote rejected] upstream -> upstream (pre-receive hook declined)
>  ! [remote rejected] upstream/4.0.4.0 -> upstream/4.0.4.0 (pre-receive hook declined)
> error: failed to push some refs to 'git@xxxxxxxxxxxxxxxx:med-team/gatk.git'
> 
> 
> I installed git-lfs locally and tried the command above but it seems it
> is really needed remotely on Salsa.  Am I missing something or is there
> some action needed?
Your repo has lfs disabled. You should enable it. 

Alex