upgrade from 3.1 to 4.0 lost comment and reports something failed.
Created by: heyfluke
When upgrading from gitlab 3.1 to 4.0, I encounter many problems. I am looking for someone's help.
I just follow the page upgrade from 3.1 to 4.0: https://github.com/gitlabhq/gitlabhq/wiki/From-3.1-to-4.0 to do the upgrading.
no comments on wiki anymore. how do i find the old comments? It's important to me. website seems ok. but check script reports some fails. the upgrade document does not mention upgrading Gitolite. i updated the init script, but still report fail. Projects have satellites? … don't know what's a satellite. "sudo -u gitlab -H bundle exec rake gitlab:satellites:create" error too, see below.
my create satellite command output:
root@syncapi:/home/gitlab/gitlab# sudo -u gitlab -H bundle exec rake gitlab:satellites:create
rake aborted!
cannot load such file -- rb-inotify
/var/lib/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in require' /var/lib/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in
block (2 levels) in require'
/var/lib/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in each' /var/lib/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in
block in require'
/var/lib/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in each' /var/lib/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in
require'
/var/lib/gems/1.9.1/gems/bundler-1.2.3/lib/bundler.rb:128:in require' /home/gitlab/gitlab/config/application.rb:9:in
<top (required)>'
/home/gitlab/gitlab/Rakefile:5:in require' /home/gitlab/gitlab/Rakefile:5:in
<top (required)>'
(See full trace by running task with --trace)
my check message:
root@syncapi:/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 ... no Try fixing it: We strongly recommend using the version pointed out in the installation guide. For more information see: doc/install/installation.md in section "Gitolite" 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---? ... no 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 directory is a symlink? ... no Repo base owned by git:git? ... yes Repo base access is drwsrws---? ... no Try fixing it: sudo chmod -R ug+rwXs,o-rwx /home/git/repositories/ For more information see: doc/install/installation.md in section "Gitolite" Please fix the error above and rerun the checks. Can clone gitolite-admin? ... 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: ... UDP-Punching ... ok
Checking Gitolite ... Finished
Checking Resque ...
Running? ... no Try fixing it: sudo service gitlab restart or sudo /etc/init.d/gitlab restart For more information see: doc/install/installation.md in section "Install Init Script" see log/resque.log for possible errors Please fix the error above and rerun the checks.
Checking Resque ... Finished
Checking GitLab ...
Database config exists? ... yes Database is SQLite ... no 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
UDP-Punching ... 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
root@syncapi:/home/gitlab/gitlab#