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
  • #2395

Closed
Open
Created Dec 26, 2012 by Administrator@rootOwner

Post receive hooks fail if /home/git/repositories is a symlink

Created by: Razer6

If home/git/repositories is a symlink all post receive hooks fail with

gitlab:1276 on POST_RECEIVE at just now
Class
PostReceive
Arguments
"rpool/repositories/repositories/root/test13"
"0000000000000000000000000000000000000000"
"5ad1a2184774efe3e5a916e49f09540d88ebce90"
"refs/heads/master"
"admin_local_host_1356345379"
Exception
NoMethodError
Error
undefined method `id' for nil:NilClass

gitlab:check is green. I recognized this on my production server and could reproduce it on my development VM. Running on 4.1.0pre c8ba5c2d

Related to #2359 (closed)

Assignee
Assign to
Time tracking