Acabei de instalar o Gitlab no meu Centos 6.4.
À primeira vista, tudo parece estar funcionando bem, mas, por algum motivo, tenho os seguintes problemas ...:
(Problemas semelhantes ao adicionar novas chaves SSH ou listar membros de projetos)
Erro: Não é possível salvar o projeto. Por favor, tente novamente mais tarde.
Log:
ActionView::Template::Error (undefined method 'downcase' for nil:NilClass):
1: - user = member.user
2: %li{id: dom_id(user), class: "team_member_row access-#{member.human_access.downcase}"}
3: .pull-right
4: - if current_user_can_admin_project
5: - unless @project.personal? && user == current_user
Erro ao clonar :
Cloning into 'Vermello'...
Access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Solicita a senha do git ao enviar.
Note que eu adicionei minha chave SSH manualmente usando o script gitlab-shell porque eu não pude usar a interface.
Verifiquei o seguinte link sobre esse problema, mas ele não resolveu meu problema ( link )
Log:
ERROR: getaddrinfo: Name or service not known
ERROR: /usr/local/lib/ruby/gems/1.9.1/gems/redis-3.0.4/lib/redis/connection/ruby.rb:119:in 'getaddrinfo'
/home/git/gitlab-shell/config.yml :
# GitLab user. git by default
user: git
# Url to gitlab instance. Used for api calls. Should end with a slash.
gitlab_url: "http://gitlab.vermello-designs.com/"
...
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
:
Checking Environment ...
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.0 ? ... OK (1.7.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ...
Vermello / Vermello ... repository is empty
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Checking Sidekiq ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
Projects have satellites? ...
Vermello / Vermello ... can't create, repository is empty
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.11)
Checking GitLab ... Finished
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
:
System information
System: CentOS release 6.4 (Final)
Current User: git
Using RVM: no
Ruby Version: 1.9.3p0
Gem Version: 1.8.17
Bundler Version:1.3.5
Rake Version: 10.1.0
GitLab information
Version: 6.0.0.pre
Revision: f602be2
Directory: /home/gitlab/gitlabhq
DB Adapter: mysql2
URL: http://gitlab.vermello-designs.com
HTTP Clone URL: http://gitlab.vermello-designs.com/some-project.git
SSH Clone URL: [email protected]:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.7.0
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
Obrigado pelo seu tempo, sua ajuda é muito apreciada!