首先我的 gitlab 连接被错误 500 和 502 中断。服务器有一段时间无人看管。所以我决定重新安装:
#gitlab-ctl cleanse
#apt-get purge gitlab-ce
Run Code Online (Sandbox Code Playgroud)
安装:https : //about.gitlab.com/downloads/#ubuntu1404
在可以访问 gitlab 之后,我可以创建一个项目并克隆它。
在我尝试将新文件推送到我的存储库并收到以下消息后:
git add .
git commit -m "inital"
git push --set-upstream origin master
error: Cannot access URL http://<username>@gitlab.domain.de:<port>/group/project.git/, return code 22
fatal: git-http-push failed
error: failed to push some refs to 'http://<username>@gitlab.domain.de:<port>/group/project.git/'
Run Code Online (Sandbox Code Playgroud)
gitlab-check 提供以下信息:#gitlab-rake gitlab:check
除了紫罗兰色之外,一切都是绿色的:
Uploads directory setup correctly? ... skipped (no tmp uploads folder yet)
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
Run Code Online (Sandbox Code Playgroud)
为什么我可以克隆但不能推送?我搜索了几个日志文件,但没有任何用处。
| 归档时间: |
|
| 查看次数: |
2028 次 |
| 最近记录: |