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

Closed
Open
Created Dec 23, 2012 by Administrator@rootOwner

bundle exec rake gitlab:check shows wrong results on 4.0.0 (FreeBSD)

Created by: saschagrunert

Hi there,

there might some problems with the syntax of the checking script of gitlab. I got following results:

Config directory owned by git:git ... stat: illegal option -- -
usage: stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...]
no
/home/git/.gitolite is not owned by git
  Try fixing it:
  sudo chown -R git:git /home/git/.gitolite
  For more information see:
  doc/install/installation.md in section "Gitolite"
  Please fix the error above and rerun the checks.
Config directory access is drwxr-x---? ... stat: illegal option -- -
usage: stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...]
no
/home/git/.gitolite is not writable
  Try fixing it:
  sudo chmod 750 /home/git/.gitolite
  For more information see:
  doc/install/installation.md in section "Gitolite"
  Please fix the error above and rerun the checks.
Repo base directory exists? ... yes
Repo base owned by git:git? ... stat: illegal option -- -
usage: stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...]

The same problem exist with the hooks:

post-receive hook exists? ... yes
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ... 
Sascha / FsDB ... not a link to Gitolite's hook
  Try fixing it:
  sudo -u git ln -sf /home/git/.gitolite/hooks/common/post-receive /home/git/repositories/Sascha/fsdb.git/hooks/post-receive
  For more information see:
  lib/support/rewrite-hooks.sh
  Please fix the error above and rerun the checks.

I've checked the permissions and the links. All should be correct. This problem might be FreeBSD related... is ther a workaround? =)

Assignee
Assign to
Time tracking