Skip to content

Can't push lfs files to old repo #9194

Open
@lonelyleaf

Description

@lonelyleaf
  • Gitea version (or commit ref):
  • Git version: 1.10.0
  • Operating system: docker
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I'm trying to push lfs fils to an repo but get these message:

17:09:37.817: [Yun-TMS] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/dev:dev
Uploading LFS objects:   0% (0/1), 0 B | 0 B/s                                  
Uploading LFS objects:   0% (0/2), 0 B | 0 B/s, done
batch response: Repository or object not found: https://******/gmt/Yun-TMS.git/info/lfs/objects/batch
Check that it exists and that you have proper access to it
warning: redirecting to https://******/yun-tms/Yun-TMS/
error: failed to push some refs to 'https://******/gmt/Yun-TMS.git'

But then I open a new repo on gitea ,add a new remote on local ,and push to server,everything is ok.

Is there any thing I need to do to upgrade my repo on server to support lfs?

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/lfs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions