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
  • Merge requests
  • !1963

Closed
Created Nov 09, 2012 by Administrator@rootOwner
  • Report abuse
Report abuse

Stable

  • Overview 0
  • Commits 10
  • Changes 2

Created by: zuci42

Hi

Recently I have found out strange gitlab behaviour, on push failure rails worker stucked at deleted temporary folder

adding more projects after that ends in:

fatal: Could not get current working directory: No such file or directory

looking for cwd in proc shows this:

gitlab gitlab 0 Nov 9 15:43 /proc/6307/cwd -> /home/www-data/projects/gitlab..ru/tmp/gitlabhq-gitolite-1352461514/gitolite (deleted) gitlab gitlab 0 Nov 9 15:43 /proc/6310/cwd -> /home/www-data/projects/gitlab..ru/tmp/gitlabhq-gitolite-1352461704/gitolite (deleted)

some time ago:

e8f39a0a (randx 2012-09-07 20:43:51 +0300 197)

was commited chdir only upon succesfsul push that's look strange for me as signle push failure shouldn't lead to system nonoperability.

my suggestion is to change cwd to Rails.root anytime before gitolite-admin temporary directories cleanup

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/zuci42/stable