Open martijnschouten opened 2 years ago
Which version of Gitlab is your remote using?
It is using GitLab Enterprise Edition 15.4.2-ee
I now clicked on git instead of gitlab in the migrate options. If I then fill in the https link, my account name and my access code it does work.
Thanks for those details and update <3
I'll suggest this is left open in case Gitlab 15 changes anything with their API in terms of us importing.
Same problem for Gitlab 16.2+
Using the read_api
(instead of read_repository
) fixed it for me on 17.2
Using the
read_api
(instead ofread_repository
) fixed it for me on 17.2
How did you change to read_api
?
Using the
read_api
(instead ofread_repository
) fixed it for me on 17.2How did you change to
read_api
?
During gitlab token creation, you need to choose the read_api scope:
https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#personal-access-token-scopes
Description
I'm trying to migrate a private git from the GitLab server from work. I made a personal access token, copied the https link from the repository and filled both in into the migration page. When I click migrate repository I get:
When I look in the logs of my app I see:
If I migrate a private git from github with an access code everything goes fine.
Gitea Version
1.17.2_9.0.22
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
https://github.com/go-gitea/gitea/files/9804253/gitea_gitea-56745bbc6b-pzxjp_gitea.1.zip
Screenshots
No response
Git Version
not sure
Operating System
truenas scale (debian+docker)
How are you running Gitea?
I installed Gitea on Truenas Scale from the TrueCharts catalog. For the time being I'm running the server behind a nat (access it using a internal IP address and port number). I added this IP address and port number as a custom configuration parameter as server.root_url
Database
No response