I followed the installation instructions on GitHub to install gitlab on 
Centos 6.5
Everything went smoothly until I run this command 

sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production


I'm getting this output.

Checking Environment ...

Git configured for git user? ... no
  Try fixing it:
  sudo -u git -H "/usr/bin/git" config --global user.name  "GitLab"
  sudo -u git -H "/usr/bin/git" config --global user.email 
"g...@mydomain.com"
  sudo -u git -H "/usr/bin/git" config --global core.autocrlf "input"
  For more information see:
  doc/install/installation.md in section "GitLab"
  Please fix the error above and rerun the checks.

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 2.0.1 ? ... OK (2.1.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
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ... can't check, you have no projects
Running /home/git/gitlab-shell/bin/check
/usr/local/lib/ruby/2.1.0/logger.rb:592:in `initialize': Permission denied 
@ rb_sysopen - /home/git/gitlab-shell/gitlab-shell.log (Errno::EACCES)
        from /usr/local/lib/ruby/2.1.0/logger.rb:592:in `open'
        from /usr/local/lib/ruby/2.1.0/logger.rb:592:in `open_logfile'
        from /usr/local/lib/ruby/2.1.0/logger.rb:549:in `initialize'
        from /usr/local/lib/ruby/2.1.0/logger.rb:318:in `new'
        from /usr/local/lib/ruby/2.1.0/logger.rb:318:in `initialize'
        from /home/git/gitlab-shell/lib/gitlab_logger.rb:15:in `new'
        from /home/git/gitlab-shell/lib/gitlab_logger.rb:15:in `<top 
(required)>'
        from /home/git/gitlab-shell/lib/gitlab_net.rb:6:in 
`require_relative'
        from /home/git/gitlab-shell/lib/gitlab_net.rb:6:in `<top 
(required)>'
        from /home/git/gitlab-shell/bin/check:4:in `require_relative'
        from /home/git/gitlab-shell/bin/check:4:in `<main>'
gitlab-shell self-check failed
  Try fixing it:
  Make sure GitLab is running;
  Check the gitlab-shell configuration file:
  sudo -u git -H editor /home/git/gitlab-shell/config.yml
  Please fix the error above and rerun the checks.

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
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? ... no
  Try fixing it:
  Redownload the init script
  For more information see:
  doc/install/installation.md in section "Install Init Script"
  Please fix the error above and rerun the checks.
projects have namespace: ... can't check, you have no projects
Projects have satellites? ... can't check, you have no projects
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.2)
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.8.3)

Checking GitLab ... Finished


For the "Git configured for git user? ... no" error the only thing I've 
found is to have the same email between .gitconfig and gitlab.yml file 
which I have, but the error doesn't get fixed.
The second error is a permission denied which I have no idea how to fix.
The third is not important as the install instructions informs.

Anyone has any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/aa4acff5-38c1-4e2a-ace5-b21b693fa2a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to