Skip to content

Repository is missing LFS file, but git lfs push --all origin master doesn't upload it #2201

@ghost

Description

My public repository is missing the file docs/font/Quicksand-Light.ttf on master in the latest revision (gives 404 on access), but it's present locally and git lfs push --all origin master doesn't upload anything at all:

[e@e e-stdlib]$ git branch
  2-the-e-compiler-should-be-able-to-compile-the-e-compiler
  2-the-e-compiler-should-be-able-to-make-a-syntax-tree-of-itself
* master
[e@e e-stdlib]$ git lfs push --all origin master
Username for 'https://gitlab.com': e
Password for 'https://e@gitlab.com': 
Username for 'https://gitlab.com': e
Password for 'https://e@gitlab.com': 
Git LFS: (0 of 0 files, 27 skipped) 0 B / 0 B, 17.65 MB skipped                                            
 [e@e e-stdlib]$ stat docs/font/Quicksand-Light.ttf
  File: 'docs/font/Quicksand-Light.ttf'
  Size: 21004     	Blocks: 48         IO Block: 4096   regular file
Device: fd02h/64770d	Inode: 32916904    Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1000/   e)   Gid: ( 1000/   e)
Context: unconfined_u:object_r:user_home_t:s0
Access: 2017-05-06 21:42:53.880213478 +0200
Modify: 2017-02-12 00:02:40.061443818 +0100
Change: 2017-02-12 00:02:40.061443818 +0100
 Birth: -
[e@e e-stdlib]$ file docs/font/Quicksand-Light.ttf
docs/font/Quicksand-Light.ttf: TrueType font data
[e e-stdlib]$ wget https://gitlab.com/e/stdlib/raw/master/docs/font/Quicksand-Light.ttf
--2017-05-06 21:51:43--  https://gitlab.com/e/stdlib/raw/master/docs/font/Quicksand-Light.ttf
Resolving gitlab.com (gitlab.com)... 52.167.219.168
Connecting to gitlab.com (gitlab.com)|52.167.219.168|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-05-06 21:51:44 ERROR 404: Not Found.

[e@e e-stdlib]$ git remote show origin
* remote origin
  Fetch URL: https://gitlab.com/e/stdlib.git
  Push  URL: https://gitlab.com/e/stdlib.git
  HEAD branch: master
  Remote branches:
    master                                                                                                      tracked
    refs/remotes/origin/2-the-e-compiler-should-be-able-to-compile-the-e-compiler                     stale (use 'git remote prune' to remove)
    refs/remotes/origin/2-the-e-compiler-should-be-able-to-make-a-syntax-tree-of-itself                    stale (use 'git remote prune' to remove)
    refs/remotes/origin/3-wyp-should-be-able-to-install-from-git-repositories-with-public-http-and-https-access stale (use 'git remote prune' to remove)
  Local branches configured for 'git pull':
    2-the-e-compiler-should-be-able-to-compile-the-e-compiler  merges with remote 2-the-e-compiler-should-be-able-to-compile-the-e-compiler
    2-the-e-compiler-should-be-able-to-make-a-syntax-tree-of-itself merges with remote 2-the-e-compiler-should-be-able-to-make-a-syntax-tree-of-itself
    master                                                               merges with remote master
  Local ref configured for 'git push':
    master pushes to master (up to date)
[e@e e-stdlib]$ git log docs/font/Quicksand-Light.ttf 
commit 6c9670e77c606b3b09dd302beafd72701d7aaec6
Author: e e@googlemail.com>
Date:   Wed Jul 6 19:02:42 2016 +0200

    Starting some language documentation
[e@e e-stdlib]$

if this is a gitlab bug, please let me know so I can file an issue with them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions