Skip to content

Repo Migraiton (mirror) fails with wiki #19844

Closed
@Jeansen

Description

@Jeansen

Description

Cloning https://github.com/lensapp/lens.git fails (as mirror) when also ticking the checkbox for 'wiki'. This repo has no wiki.

I'd expect it to not fail, but either issue a warning or ignore the option.

Here's the relevant log line:

2022/05/30 22:00:55 ...ervices/task/task.go:56:handle() [E] Run task failed: unable to write commit-graph for '/media/ocdata/gitea/marcel/lens.wiki.git' : chdir /media/ocdata/gitea/marcel/lens.wiki.git: no such file or directory

If I disable the checkbox on the migration page, it works fine.

Gitea Version

1.16

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

2.30.2

Operating System

Debian 11

How are you running Gitea?

Binary distribution, on a rapsberry pi 4, via systemd service.

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