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? =)