Skip to content

Migration of large GitHub repositories with LFS fails with "StoreMissingLfsObjectsInRepository: This repository exceeded its LFS budget." #37176

@diminDDL

Description

@diminDDL

Description

When trying to create a migration of a public GitHub repository (this one in particular) with LFS data using a user account, Gitea does pull in something for a minute saturating the network connection and then fails with the following message in the UI:

Migrating from https://github.com/Keychron/Keychron-Keyboards-Hardware-Design.git failed.

StoreMissingLfsObjectsInRepository: This repository exceeded its LFS budget. The account responsible for the budget should increase it to restore access.

Many other migrations I have on this instance work flawlessly. Running latest Version: 1.25.5 freshly pulled from with docker.

Gitea Version

1.25.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/diminDDL/254a1e0aa303ac38a305bbbe48441f4d

Screenshots

Image

Git Version

git version 2.49.1

Operating System

Debian GNU/Linux 13 (trixie) x86_64

How are you running Gitea?

Running with docker compose as follows:

networks:
  gitea:
    external: false

services:
  server:
    image: docker.gitea.com/gitea:latest
    container_name: gitea
    environment:
      - ROOT_URL=servername.tail123456.ts.net
      - USER_UID=1000
      - USER_GID=1000
      - GITEA__database__DB_TYPE=postgres
      - GITEA__database__HOST=db:5432
      - GITEA__database__NAME=redacted
      - GITEA__database__USER=redacted
      - GITEA__database__PASSWD=redacted
    restart: always
    networks:
      - gitea
    volumes:
      - ./gitea:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - "8080:3000"
      - "222:22"
    depends_on:
      - db

  db:
    image: postgres:14
    restart: always
    environment:
      - POSTGRES_USER=redacted
      - POSTGRES_PASSWORD=redacted
      - POSTGRES_DB=redacted
    networks:
      - gitea
    volumes:
      - ./gitea/postgres:/var/lib/postgresql/data

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions