go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.12k stars 5.49k forks source link

PANIC whilst trying to do migrate task #32538

Closed akaibukai closed 4 hours ago

akaibukai commented 4 hours ago

Description

Hello, I'm running a fresh Gitea instance (latest 1.22.3 as of today with no repository at all yet as it's a new instance).

I wanted to mirror a Github repository (private).

As you can see below on the screenshot, I'm getting the following error: PANIC whilst trying to do migrate task: runtime error: index out of range [2] with length 2

I have no clue about how to resolve this.

FWIW, The PAT token I'm using from Github is a classic one with everything checked (just to be sure it's not a permission issue).

According to older similar issues, this kind of error was supposed to be fixed from earlier versions already.

I'm ready to provide more information but right now I'm not sure what can be useful to share.

Thanks.

Gitea Version

1.22.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image image

Git Version

No response

Operating System

No response

How are you running Gitea?

I'm running Gitea using docker-compose.

Database

PostgreSQL

akaibukai commented 4 hours ago

Okay my bad! I made a typo on the repository address 🤦‍♂️

lunny commented 4 hours ago

Can you paste the stack trace here from the log file or console?