502 Bad Gateway Nginx
Created by: adril
System information
System: Debian 6.0.6 Current User: gitlab Using RVM: no Ruby Version: 1.9.3p327 Gem Version: 1.8.23 Bundler Version:1.2.4 Rake Version: 10.0.3
GitLab information
Version: 4.1.0 Revision: db958e59 Directory: /home/gitlab/gitlab DB Adapter: mysql2 URL: http://locatemystickers.com HTTP Clone URL: http://locatemystickers.com/some-project.git SSH Clone URL: git@localhost:some-project.git Using LDAP: no Using Omniauth: no
sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production Checking Environment ...
gitlab user is in git group? ... yes Has no "-e" in ~git/.profile ... yes Git configured for gitlab user? ... yes Has python2? ... yes python2 is supported version? ... yes
Checking Environment ... Finished
Checking Gitolite ...
Using recommended version ... yes Repo umask is 0007 in .gitolite.rc? ... yes Allow all Git config keys in .gitolite.rc ... yes Config directory exists? ... yes Config directory owned by git:git ... yes Config directory access is drwxr-x---? ... yes Repo base directory exists? ... yes Repo base directory is a symlink? ... no Repo base owned by git:git? ... yes Repo base access is drwsrws---? ... yes Can clone gitolite-admin? ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_GB:en", LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_GB" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). yes Can commit to gitolite-admin? ... yes post-receive hook exists? ... yes post-receive hook up-to-date? ... yes post-receive hooks in repos are links: ... can't check, you have no projects Git config in repos: ... can't check, you have no projects
Checking Gitolite ... 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? ... can't check, you have no projects
Checking GitLab ... Finished
Resolved, but now I get bad gateway with nginx
Nginx Error
When executing the command: cat /var/log/nginx/gitlab_error.log
I got as last error
2013/02/19 09:25:16 [error] 2494#0: 2 upstream prematurely closed connection while reading response header from upstream, client: 60.247..*, server: gitlab.host, request: "GET /users/sign_in HTTP/1.1", upstream: "http://unix:/home/gitlab/gitlab/tmp/sockets/gitlab.socket:/users/sign_in", host: "gitlab.host"
Thanks ;)