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

Closed
Open
Created Dec 29, 2012 by Administrator@rootOwner

$REPO_UMASK doesn't exist in /home/git/.gitolite.rc

Created by: davidvasandani

After running;

sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production

I get these two errors

Repo umask is 0007 in .gitolite.rc? ... no
  Try fixing it:
  Open /home/git/.gitolite.rc
  Find the "$REPO_UMASK" option
  Change its value to "0007"
  For more information see:
  doc/install/installation.md in section "Gitolite"
  Please fix the error above and rerun the checks.

and

Allow all Git config keys in .gitolite.rc ... no
  Try fixing it:
  Open /home/git/.gitolite.rc
  Find the "$GL_GITCONFIG_KEYS" option
  Change its value to ".*"
  For more information see:
  doc/install/installation.md in section "Gitolite"
  Please fix the error above and rerun the checks.

Is it a bug? There is no $REPO_UMASK or $GL_GITCONFIG_KEYS in the file /home/git/.gitolite.rc

But I did find;

UMASK                       =>  0007,
# '.*',
GIT_CONFIG_KEYS             =>  '.*',

in the /home/git/.gitolite.rc file though.

Assignee
Assign to
Time tracking