git@debian:~/gitlab$ bundle exec rake gitlab:check RAILS_ENV=production
							
								Checking Environment ...
							
								 
							
								Git configured for git user? ... yes
							
								 
							
								Checking Environment ... Finished
							
								 
							
								Checking GitLab Shell ...
							
								 
							
								GitLab Shell version >= 1.9.1 ? ... OK (1.9.3)
							
								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
							
								update hook up-to-date? ... yes
							
								update hooks in repos are links: ... can't check, you have no projects
							
								Running /home/git/gitlab-shell/bin/check
							
								Check GitLab API access: /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `initialize': getaddrinfo: No address associated with hostname (SocketError)
							
								    from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `open'
							
								    from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `block in connect'
							
								    from /usr/local/lib/ruby/2.0.0/timeout.rb:52:in `timeout'
							
								    from /usr/local/lib/ruby/2.0.0/net/http.rb:877:in `connect'
							
								    from /usr/local/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
							
								    from /usr/local/lib/ruby/2.0.0/net/http.rb:851:in `start'
							
								    from /home/git/gitlab-shell/lib/gitlab_net.rb:76:in `get'
							
								    from /home/git/gitlab-shell/lib/gitlab_net.rb:43:in `check'
							
								    from /home/git/gitlab-shell/bin/check:11: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.
							
								 
							
								如报以上错误,需要更改主机名/etc/hosts
							
								root@debian:~# cat /etc/hosts
							
								127.0.0.1   10.1.1.176
							
								127.0.1.1       10.1.1.176
							
								 
							
								 
							
								重新编译资源
							
								git@debian:~/gitlab$ bundle exec rake gitlab:check RAILS_ENV=production
							
								 
							
								Checking Environment ...
							
								 
							
								Git configured for git user? ... yes
							
								 
							
								Checking Environment ... Finished
							
								 
							
								Checking GitLab Shell ...
							
								 
							
								GitLab Shell version >= 1.9.1 ? ... OK (1.9.3)
							
								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
							
								update hook up-to-date? ... yes
							
								update hooks in repos are links: ... can't check, you have no projects
							
								Running /home/git/gitlab-shell/bin/check
							
								Check GitLab API access: OK
							
								Check directories and files: 
							
								    /home/git/repositories: OK
							
								    /home/git/.ssh/authorized_keys: OK
							
								Test redis-cli executable: redis-cli 2.4.14
							
								Send ping to redis server: PONG
							
								gitlab-shell self-check successful
							
								 
							
								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 UsersGroups? ... 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? ... yes
							
								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
							
								Your git bin path is "/usr/local/bin/git"
							
								Git version >= 1.7.10 ? ... yes (1.8.5)
							
								 
							
								Checking GitLab ... Finished