GitLab开始但之后就停止了

时间:2013-07-08 08:39:07

标签: service repository bitbucket gitlab

我已将GitLab版本升级为5.3并使用Nginx代替Apache。它工作了一次,现在我看到GitLab停了下来。因此,我尝试使用此命令 sudo service gitlab start 重新启动服务,并观察 htop 发生的情况。我注意到在1或2分钟后gitlab服务停止了,我不知道为什么......

我正在使用AWS EC2微型实例。

如何在GitLab上检索我的所有存储库并将它们导入BitBucket(或GitHub)?

谢谢。

环境信息

$ sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production

System information
System:     Ubuntu 12.04
Current User:   git
Using RVM:  no
Ruby Version:   1.9.3p327
Gem Version:    1.8.23
Bundler Version:1.2.3
Rake Version:   10.0.4

GitLab information
Version:    5.3.0
Revision:   e1c473c
Directory:  /home/git/gitlab
DB Adapter: mysql2
URL:        https://domaine-name.com
HTTP Clone URL: https://domaine-name.com/some-project.git
SSH Clone URL:  git@domaine-name.com:some-project.git
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version:    1.4.0
Repositories:   /home/git/repositories/
Hooks:      /home/git/gitlab-shell/hooks/
Git:        /usr/bin/git

1 个答案:

答案 0 :(得分:0)

  

如何在GitLab上检索我的所有存储库并将它们导入BitBucket(或GitHub)?

你可以:

  • 登录您的AWS EC2微型实例(如Bitnami stack中所述或此后installation blog post
  • 转到存储裸存储库的位置(如gitlab.yml config file中所述)
  • 为每个代码制作一个捆绑包(请参阅my answer on git bundle):每个代理生成一个文件,这样更容易复制
  • 在本地电脑上复制这些捆绑文件
  • 克隆本地电脑上的那些存储库(一个包是可接受的遥控器!git clone mybundle有效)
  • add a remote到您首先声明的GitHub空回购
  • 推送到GitHub