Repo Migraiton (mirror) fails with wiki #9009

Closed
opened 2025-11-02 08:25:42 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @Jeansen on GitHub (May 30, 2022).

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

Originally created by @Jeansen on GitHub (May 30, 2022). ### 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
GiteaMirror added the type/bug label 2025-11-02 08:25:42 -06:00
Author
Owner

@wxiaoguang commented on GitHub (May 31, 2022):

Is it similar as #19481 ?

@wxiaoguang commented on GitHub (May 31, 2022): Is it similar as #19481 ? * #19481
Author
Owner

@Jeansen commented on GitHub (May 31, 2022):

@wxiaoguang Yes, seems like a similar issue.

@Jeansen commented on GitHub (May 31, 2022): @wxiaoguang Yes, seems like a similar issue.
Author
Owner

@zeripath commented on GitHub (Jun 2, 2022):

I cannot reproduce on main.

@zeripath commented on GitHub (Jun 2, 2022): I cannot reproduce on main.
Author
Owner

@zeripath commented on GitHub (Jun 2, 2022):

Fixed by #19563

@zeripath commented on GitHub (Jun 2, 2022): Fixed by #19563
Author
Owner

@Jeansen commented on GitHub (Jun 3, 2022):

@zeripath Oh great, thanks. Will this be in the next 1.16.x version?

@Jeansen commented on GitHub (Jun 3, 2022): @zeripath Oh great, thanks. Will this be in the next 1.16.x version?
Author
Owner

@zeripath commented on GitHub (Jun 3, 2022):

yes

@zeripath commented on GitHub (Jun 3, 2022): yes
Author
Owner

@zeripath commented on GitHub (Jun 3, 2022):

It was backported to 1.16.7 by https://github.com/go-gitea/gitea/pull/19568

@zeripath commented on GitHub (Jun 3, 2022): It was backported to 1.16.7 by https://github.com/go-gitea/gitea/pull/19568
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9009