I\'ve used Git LFS for GitLab for a few months now without any problems, but it returned the following error while pushing files lately:
$ git push origin master
This command helped me:
git lfs ls-files -l | awk '{ print $1 }' | xargs git lfs push --object-id origin
And it is faster than the other answer.