我有旧的自我托管的gitlab实例(8.13.6版本)。现在,我们在不同的服务器上有了新的自我托管的gitlab实例(版本15.2)。
我需要将项目从旧实例导入到新实例。为此,我使用“按URL存储库”。但是它似乎不起作用,每当我从旧实例输入项目URL时,我还试图为旧实例提供有效的登录凭据,我会得到以下错误-
在这个网址上没有一个有效的Git存储库。如果您的HTTP存储库无法公开访问,请验证您的凭据。
旧实例中的项目是不可公开访问的。用户需要登录才能访问项目。
是否存在将我的项目从旧实例导入到新实例的问题?
谢谢
发布于 2022-08-11 02:13:09
正如错误信息中所述:
在这个网址上没有一个有效的Git存储库。如果您的HTTP存储库无法公开访问,请验证您的凭据。
因此,问题在于访问权限。
。
- 2.1 Make it publicly available by turning that project into a public one before using "Repository by URL"
- 2.2 When you use "Repository by URL", be sure to input your username and password into the correct place. Then GitLab will know it.
- 2.3 If supplying username and password won't work, you may try to supply them in this form in your Git repository URL: `https://username:password@yourgitlaburl.com/group/project.git`
发布于 2022-08-10 11:23:30
您说旧的和新的实例在同一个网络上,因此它们可以相互访问。
您必须记住,Repository 特性允许您输入凭据,这必须是旧服务器凭据。
请检查一下再试一次..。
https://stackoverflow.com/questions/73305084
复制相似问题