Skip to content

Instantly share code, notes, and snippets.

@atian25
Last active December 14, 2015 05:29
Show Gist options
  • Save atian25/5035614 to your computer and use it in GitHub Desktop.
Save atian25/5035614 to your computer and use it in GitHub Desktop.
upgrade gitlab 4.0 to 4.2 error log
liuyong@GIT:/home/git/gitolite$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
liuyong@GIT:/home/git/gitolite$ git status
# On branch gl-v320
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/VERSION
nothing added to commit but untracked files present (use "git add" to track)
liuyong@GIT:/home/gitlab/gitlab$ sudo -u gitlab -H bundle exec rake gitlab:env:info RAILS_ENV=production
System information
System: Ubuntu 11.10
Current User: gitlab
Using RVM: no
Ruby Version: 1.9.3p327
Gem Version: 1.8.23
Bundler Version:1.3.0
Rake Version: 10.0.3
GitLab information
Version: 4.2.0
Revision: 26e340f
Directory: /home/gitlab/gitlab
DB Adapter: mysql2
URL: http://192.168.8.99
HTTP Clone URL: http://192.168.8.99/some-project.git
SSH Clone URL: git@192.168.8.99:some-project.git
Using LDAP: no
Using Omniauth: no
Gitolite information
Version: v3.04-4-g4524f01
Admin URI: git@localhost:gitolite-admin
Admin Key: gitlab
Repositories: /home/git/repositories/
Hooks: /home/git/.gitolite/hooks/
Git: /usr/bin/git
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 ... 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---? ... yes
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... 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
拨测统一平台 / 统一平台主程序 ... ok
拨测统一平台 / 微内核调试工具(NODE) ... ok
拨测统一平台 / 微内核 ... ok
拨测统一平台 / 微内核演示工具 ... ok
刘勇 / 看板辅助工具 ... ok
周宁军 / git@192.168.8.99:ark/ark.git ... repository is empty
Git config in repos: ...
示范项目分组 / 示范项目 ... ok
拨测统一平台 / 统一平台主程序 ... ok
拨测统一平台 / 微内核调试工具(NODE) ... ok
拨测统一平台 / 微内核 ... ok
拨测统一平台 / 微内核演示工具 ... ok
刘勇 / 看板辅助工具 ... ok
周宁军 / git@192.168.8.99:ark/ark.git ... repository is empty
Checking Gitolite ... Finished
Checking Sidekiq ...
Running? ... no
Try fixing it:
sudo -u gitlab -H bundle exec rake sidekiq:start RAILS_ENV=production
For more information see:
doc/install/installation.md in section "Install Init Script"
see log/sidekiq.log for possible errors
Please fix the error above and rerun the checks.
Checking Sidekiq ... 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? ... yes
Projects have satellites? ...
示范项目分组 / 示范项目 ... yes
拨测统一平台 / 统一平台主程序 ... yes
拨测统一平台 / 微内核调试工具(NODE) ... yes
拨测统一平台 / 微内核 ... yes
拨测统一平台 / 微内核演示工具 ... yes
刘勇 / 看板辅助工具 ... yes
周宁军 / git@192.168.8.99:ark/ark.git ... can't create, repository is empty
Checking GitLab ... Finished
liuyong@GIT:/home/gitlab/gitlab$ more log/sidekiq.log
2013-02-26T01:38:15Z 18377 TID-6qgwk INFO: Booting Sidekiq 2.6.4 with Redis at redis://localhost
:6379/0
2013-02-26T01:38:15Z 18377 TID-6qgwk INFO: Running in ruby 2.0.0p0 (2013-02-24 revision 39474) [
x86_64-linux]
2013-02-26T01:38:15Z 18377 TID-6qgwk INFO: See LICENSE and the LGPL-3.0 for licensing details.
2013-02-26T01:38:15Z 18377 TID-6qgwk INFO: Starting processing, hit Ctrl-C to stop
can't be called from trap context
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:103:in `synch
ronize'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:103:in `inter
rupt'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:9:in `block i
n <top (required)>'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:90:in `call'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:90:in `sleep'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:90:in `run'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/bin/sidekiq:8:in `<top (required
)>'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `<main>'
2013-02-26T01:40:16Z 18684 TID-575sk INFO: Booting Sidekiq 2.6.4 with Redis at redis://localhost
:6379/0
2013-02-26T01:40:16Z 18684 TID-575sk INFO: Running in ruby 2.0.0p0 (2013-02-24 revision 39474) [
x86_64-linux]
2013-02-26T01:40:16Z 18684 TID-575sk INFO: See LICENSE and the LGPL-3.0 for licensing details.
2013-02-26T01:40:17Z 18684 TID-575sk INFO: Starting processing, hit Ctrl-C to stop
can't be called from trap context
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:103:in `synch
ronize'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:103:in `inter
rupt'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:9:in `block i
n <top (required)>'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:90:in `call'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:90:in `sleep'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/cli.rb:90:in `run'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/bin/sidekiq:8:in `<top (required
)>'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `load'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/bin/sidekiq:23:in `<main>'
2013-02-26T02:46:43Z 18684 TID-lpmso WARN: {:context=>"Manager#processor_died died"}
2013-02-26T02:46:43Z 18684 TID-lpmso WARN: task was terminated
2013-02-26T02:46:43Z 18684 TID-lpmso WARN: /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/cel
luloid-0.12.4/lib/celluloid/tasks/task_fiber.rb:38:in `suspend'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/task.rb:22:in `
suspend'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/actor.rb:70:in
`call'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/proxies/actor_p
roxy.rb:22:in `_send_'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid.rb:112:in `new_
link'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/manager.rb:81:in `bl
ock in processor_died'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/util.rb:15:in `watch
dog'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.6.4/lib/sidekiq/manager.rb:76:in `pr
ocessor_died'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/actor.rb:355:in
`handle_exit_event'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/actor.rb:340:in
`block in handle_system_event'
/home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/tasks/task_fibe
r.rb:24:in `block in initialize'
2013-02-26T02:46:50Z 30614 TID-bbv9s INFO: Booting Sidekiq 2.6.4 with Redis at redis://localhost
:6379/0
2013-02-26T02:46:50Z 30614 TID-bbv9s INFO: Running in ruby 2.0.0p0 (2013-02-24 revision 39474) [
x86_64-linux]
2013-02-26T02:46:50Z 30614 TID-bbv9s INFO: See LICENSE and the LGPL-3.0 for licensing details.
2013-02-26T02:46:50Z 30614 TID-bbv9s INFO: Starting processing, hit Ctrl-C to stop
/home/gitlab/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/thread.rb:72:in `sleep': execution expired
(Timeout::Error)
from /home/gitlab/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/thread.rb:72:in `block (2 lev
els) in wait'
from /home/gitlab/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/thread.rb:68:in `handle_inter
rupt'
from /home/gitlab/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/thread.rb:68:in `block in wai
t'
from /home/gitlab/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/thread.rb:66:in `handle_inter
rupt'
from /home/gitlab/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/thread.rb:66:in `wait'
from /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/th
read_handle.rb:40:in `block in join'
from /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/th
read_handle.rb:40:in `synchronize'
from /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/th
read_handle.rb:40:in `join'
from /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid/ac
tor.rb:158:in `join'
from /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid.rb
:73:in `block (2 levels) in shutdown'
from /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid.rb
:71:in `each'
from /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid.rb
:71:in `block in shutdown'
from /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid.rb
:56:in `shutdown'
from /home/gitlab/gitlab/vendor/bundle/ruby/2.0.0/gems/celluloid-0.12.4/lib/celluloid.rb
:89:in `block in <module:Celluloid>'
2013-02-26T03:18:50Z 31405 TID-9zrrw INFO: Booting Sidekiq 2.6.4 with Redis at redis://localhost
:6379/0
2013-02-26T03:18:50Z 31405 TID-9zrrw INFO: Running in ruby 1.9.3p327 (2012-11-10 revision 37606)
[x86_64-linux]
2013-02-26T03:18:50Z 31405 TID-9zrrw INFO: See LICENSE and the LGPL-3.0 for licensing details.
2013-02-26T03:18:51Z 31405 TID-9zrrw INFO: Starting processing, hit Ctrl-C to stop
2013-02-26T03:19:43Z 31405 TID-9zrrw INFO: Shutting down
2013-02-26T03:19:43Z 31405 TID-o6mcg INFO: Shutting down 25 quiet workers
2013-02-26T03:19:49Z 31791 TID-8u598 INFO: Booting Sidekiq 2.6.4 with Redis at redis://localhost
:6379/0
2013-02-26T03:19:49Z 31791 TID-8u598 INFO: Running in ruby 2.0.0p0 (2013-02-24 revision 39474) [
x86_64-linux]
2013-02-26T03:19:49Z 31791 TID-8u598 INFO: See LICENSE and the LGPL-3.0 for licensing details.
2013-02-26T03:19:49Z 31791 TID-8u598 INFO: Starting processing, hit Ctrl-C to stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment