Skip to content

push mirror to gitea fails with unclear message #34897

Open
@tomaszduda23

Description

@tomaszduda23

Description

Push mirror from gitea to gitea give such message.

2025/06/29 06:52:54 ...irror/mirror_push.go:115:SyncPushMirror() [E] SyncPushMirror [mirror: 3][repo: <Repository 41:servers/home-cluster>]: readObjectStart: expect { or n, but found N, error found in #1 byte of ...|Not Found

The problem is that gitea try to access lfs

https://xyz:fas@url/org/repo.git/info/lfs/objects/batch

which is disabled by default. It would be nice if error message explain what is wrong. Not Found is not enough to understand what is wrong.

Gitea Version

1.23.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

in docker

Database

None

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