Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo Migraiton (mirror) fails with wiki #19844

Closed
Jeansen opened this issue May 30, 2022 · 7 comments
Closed

Repo Migraiton (mirror) fails with wiki #19844

Jeansen opened this issue May 30, 2022 · 7 comments
Labels

Comments

@Jeansen
Copy link

Jeansen commented 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

@wxiaoguang
Copy link
Contributor

@Jeansen
Copy link
Author

Jeansen commented May 31, 2022

@wxiaoguang Yes, seems like a similar issue.

@zeripath
Copy link
Contributor

zeripath commented Jun 2, 2022

I cannot reproduce on main.

@zeripath
Copy link
Contributor

zeripath commented Jun 2, 2022

Fixed by #19563

@zeripath zeripath closed this as completed Jun 2, 2022
@Jeansen
Copy link
Author

Jeansen commented Jun 3, 2022

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

@zeripath
Copy link
Contributor

zeripath commented Jun 3, 2022

yes

@zeripath
Copy link
Contributor

zeripath commented Jun 3, 2022

It was backported to 1.16.7 by #19568

@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants