Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5015

Closed
Open
Created Sep 08, 2013 by Administrator@rootOwner

Gitlab 6.0 clean install and "502 Bad gateway"

Created by: mrPsycho

hello,

i've install gitlab on ubuntu by https://github.com/gitlabhq/gitlabhq/blob/6-0-stable/doc/install/installation.md

but i cant get to login page...

when i access http://git.gemini.pltco.ru/ it redirects to http://git.gemini.pltco.ru/users/sign_in and falls

i tripple checked all installation steps... db is working fine, nginx config have no errors. unicorn starts correctly.

what i've got. system checks:

root@srv-dev-003:/home/git/gitlab/config# sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production (in /home/git/gitlab)

System information System: Ubuntu 13.04 Current User: git Using RVM: no Ruby Version: 2.0.0p247 Gem Version: 2.0.3 Bundler Version:1.3.5 Rake Version: 10.1.0

GitLab information Version: 6.0.1 Revision: d422ee0f Directory: /home/git/gitlab DB Adapter: mysql2 URL: http://git.gemini.pltco.ru HTTP Clone URL: http://git.gemini.pltco.ru/some-project.git SSH Clone URL: [email protected]:some-project.git Using LDAP: no Using Omniauth: no

GitLab Shell Version: unknown Repositories: /repos/repositories/ Hooks: /home/git/gitlab-shell/hooks/ Git: /usr/bin/git root@srv-dev-003:/home/git/gitlab/config# sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production (in /home/git/gitlab) 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.1) 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? ... can't check because of previous errors post-receive hooks in repos are links: ... can't check because of previous errors

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? ... can't check, you have no projects Redis version >= 2.0.0? ... yes Your git bin path is "/usr/bin/git" Git version >= 1.7.10 ? ... yes (1.8.1)

Checking GitLab ... Finished

nginx error log:

2013/09/08 10:21:00 [error] 12623#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 10.5.1.190, server: git.gemini.pltco.ru, request: "GET /users/sign_in HTTP/1.0", upstream: "http://unix:/home/git/gitlab/tmp/sockets/gitlab.socket:/users/sign_in", host: "git.gemini.pltco.ru" 2013/09/08 10:23:04 [error] 12623#0: *6 upstream prematurely closed connection while reading response header from upstream, client: 10.5.1.190, server: git.gemini.pltco.ru, request: "GET /users/sign_in HTTP/1.0", upstream: "http://unix:/home/git/gitlab/tmp/sockets/gitlab.socket:/users/sign_in", host: "git.gemini.pltco.ru" `

production.log:

Connecting to database specified by database.yml Creating scope :opened. Overwriting existing method Issue.opened. Creating scope :of_projects. Overwriting existing method MergeRequest.of_projects. Creating scope :closed. Overwriting existing method MergeRequest.closed. Creating scope :public. Overwriting existing method Snippet.public. Creating scope :private. Overwriting existing method Snippet.private. Creating scope :fresh. Overwriting existing method ProjectSnippet.fresh. Creating scope :non_expired. Overwriting existing method ProjectSnippet.non_expired. Creating scope :expired. Overwriting existing method ProjectSnippet.expired.

unicorn.err.log:

I, [2013-09-08T10:35:59.690720 #12838] INFO -- : Refreshing Gem list I, [2013-09-08T10:37:13.655200 #12838] INFO -- : listening on addr=/home/git/gitlab/tmp/sockets/gitlab.socket fd=15 I, [2013-09-08T10:37:13.657379 #12838] INFO -- : listening on addr=0.0.0.0:8080 fd=16 I, [2013-09-08T10:37:14.075373 #12895] INFO -- : worker=0 ready I, [2013-09-08T10:37:14.367371 #12838] INFO -- : master process ready I, [2013-09-08T10:37:14.373256 #12898] INFO -- : worker=1 ready E, [2013-09-08T10:38:00.424525 #12838] ERROR -- : worker=1 PID:12898 timeout (31s > 30s), killing E, [2013-09-08T10:38:00.516094 #12838] ERROR -- : reaped #<Process::Status: pid 12898 SIGKILL (signal 9)> worker=1 I, [2013-09-08T10:38:00.616318 #12939] INFO -- : worker=1 ready

What is wrong?

Assignee
Assign to
Time tracking