upgrade to 4.0 issue
Created by: atian25
- had follow
Install Init Script
and runsudo service gitlab restart
, but the check still say no. - visit localhost:3000 or 8080 all throw 500 error when using
sudo service gitlab restart
but work fine when/usr/local/bin/ruby script/rails s -e production -d
-
sudo -u gitlab -H bundle exec rake gitlab:satellites:create
got error:
liuyong@GIT:/home/gitlab/gitlab$ sudo -u gitlab -H bundle exec rake gitlab:satellites:create
rake aborted!
cannot load such file -- rb-inotify
/home/gitlab/gitlab/config/application.rb:9:in `'
/home/gitlab/gitlab/Rakefile:5:in `require'
/home/gitlab/gitlab/Rakefile:5:in `'
(See full trace by running task with --trace)
*check log: *
liuyong@GIT:/home/gitlab/gitlab$ sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...
gitlab user is in git group? ... yes
Has no "-e" in ~git/.profile ... yes
Git configured for gitlab user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking Gitolite ...
Using recommended version ... yes
Repo umask is 0007 in .gitolite.rc? ... yes
Allow all Git config keys in .gitolite.rc ... yes
Config directory exists? ... yes
Config directory owned by git:git ... yes
Config directory access is drwxr-x---? ... yes
Repo base directory exists? ... yes
Repo base owned by git:git? ... yes
Repo base access is drwsrws---? ... yes
Can clone gitolite-admin? ... Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
yes
Can commit to gitolite-admin? ... yes
post-receive hook exists? ... yes
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ...
示范项目分组 / 示范项目 ... ok
Git config in repos: ...
示范项目分组 / 示范项目 ... ok
Checking Gitolite ... Finished
Checking Resque ...
Running? ... yes
Checking Resque ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is not SQLite ... yes
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... no
Try fixing it:
Redownload the init script
For more information see:
doc/install/installation.md in section "Install Init Script"
Please fix the error above and rerun the checks.
Projects have satellites? ...
示范项目分组 / 示范项目 ... no
Try fixing it:
sudo -u gitlab -H bundle exec rake gitlab:satellites:create
If necessary, remove the tmp/repo_satellites directory ...
... and rerun the above command
For more information see:
doc/raketasks/maintenance.md
Please fix the error above and rerun the checks.
Checking GitLab ... Finished