Strange. On a whim, I decided to try running it as the git user (not using the sudo -u git as indicated on the doc https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/backup_restore.md) and it works.
On Wednesday, April 15, 2015 at 10:33:10 AM UTC-6, Michael Jones wrote: > > Hi there, > > I've got an older version, 7.2.1, that's in need of an upgrade. Before > doing so, I tried running a backup (installation is from source) and ran > into some issue during the repo dump > > Dumping database ... > Dumping MySQL database gitlabhq_production ... [DONE] > done > Dumping repositories ... > <snip> A bunch of repos that backup just fine </snip> > * team/somerepo ... [FAILED] > * team/someotherrepo ... > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60: > > [BUG] Segmentation fault at 0x00000000000021 > ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] > > -- Control frame information > ----------------------------------------------- > c:0050 p:---- s:0186 e:000185 CFUNC :each > c:0049 p:---- s:0184 e:000183 CFUNC :map > c:0048 p:0011 s:0181 e:000180 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60 > c:0047 p:0007 s:0178 e:000177 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:55 > c:0046 p:0022 s:0175 e:000174 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:109 > c:0045 p:0027 s:0172 e:000171 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:32 > > [FINISH] > c:0044 p:---- s:0168 e:000167 CFUNC :new > c:0043 p:0036 s:0164 e:000163 METHOD > /home/git/gitlab/app/models/repository.rb:8 [FINISH] > c:0042 p:---- s:0159 e:000158 CFUNC :new > c:0041 p:0030 s:0155 e:000154 METHOD > /home/git/gitlab/app/models/project.rb:218 > c:0040 p:0007 s:0152 e:000151 METHOD > /home/git/gitlab/app/models/project.rb:426 > c:0039 p:0061 s:0149 e:000148 BLOCK > /home/git/gitlab/lib/backup/repository.rb:16 > c:0038 p:0008 s:0145 e:000144 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52 > > [FINISH] > c:0037 p:---- s:0142 e:000141 CFUNC :each > c:0036 p:0008 s:0139 e:000138 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52 > c:0035 p:0195 s:0136 e:000135 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:125 > c:0034 p:0020 s:0126 e:000125 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:51 > c:0033 p:0019 s:0122 e:000121 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/querying.rb:9 > c:0032 p:0025 s:0115 E:001148 METHOD > /home/git/gitlab/lib/backup/repository.rb:10 > c:0031 p:0027 s:0112 e:000111 BLOCK > /home/git/gitlab/lib/tasks/gitlab/backup.rake:39 [FINISH] > c:0030 p:---- s:0110 e:000109 CFUNC :call > c:0029 p:0028 s:0105 e:000104 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240 > > [FINISH] > c:0028 p:---- s:0102 e:000101 CFUNC :each > c:0027 p:0113 s:0099 e:000098 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235 > c:0026 p:0075 s:0095 e:000094 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179 > c:0025 p:0014 s:0093 e:000092 METHOD > /usr/local/lib/ruby/2.1.0/monitor.rb:211 > c:0024 p:0025 s:0090 e:000089 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172 > c:0023 p:0036 s:0083 e:000082 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165 > c:0022 p:0043 s:0078 e:000077 BLOCK > /home/git/gitlab/lib/tasks/gitlab/backup.rake:11 [FINISH] > c:0021 p:---- s:0075 e:000074 CFUNC :call > c:0020 p:0028 s:0070 e:000069 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240 > > [FINISH] > c:0019 p:---- s:0067 e:000066 CFUNC :each > c:0018 p:0113 s:0064 e:000063 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235 > c:0017 p:0075 s:0060 e:000059 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179 > c:0016 p:0014 s:0058 e:000057 METHOD > /usr/local/lib/ruby/2.1.0/monitor.rb:211 > c:0015 p:0025 s:0055 e:000054 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172 > c:0014 p:0036 s:0048 e:000047 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165 > c:0013 p:0033 s:0043 e:000042 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150 > c:0012 p:0009 s:0036 e:000035 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106 > > [FINISH] > c:0011 p:---- s:0033 e:000032 CFUNC :each > c:0010 p:0039 s:0030 e:000029 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106 > c:0009 p:0025 s:0028 e:000027 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115 > c:0008 p:0007 s:0024 e:000023 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100 > c:0007 p:0019 s:0021 e:000020 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78 > c:0006 p:0006 s:0019 e:000018 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176 > c:0005 p:0007 s:0015 e:000014 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75 > c:0004 p:0040 s:0012 e:000011 TOP > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/bin/rake:33 > [FINISH] > c:0003 p:---- s:0010 e:000009 CFUNC :load > c:0002 p:0135 s:0006 E:000a78 EVAL > /home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23 [FINISH] > c:0001 p:0000 s:0002 E:000168 TOP [FINISH] > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23:in `<main>' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23:in `load' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/bin/rake:33:in > `<top (required)>' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in > > `run' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in > > `standard_exception_handling' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:in > > `block in run' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in > > `top_level' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:in > > `run_with_threads' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in > > `block in top_level' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in > > `each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in > > `block (2 levels) in top_level' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:in > > `invoke_task' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in > > `invoke' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in > > `invoke_with_call_chain' > /usr/local/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in > > `block in invoke_with_call_chain' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in > > `execute' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in > > `each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in > > `block in execute' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in > > `call' > /home/git/gitlab/lib/tasks/gitlab/backup.rake:11:in `block (3 levels) in > <top (required)>' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in > > `invoke' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in > > `invoke_with_call_chain' > /usr/local/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in > > `block in invoke_with_call_chain' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in > > `execute' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in > > `each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in > > `block in execute' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in > > `call' > /home/git/gitlab/lib/tasks/gitlab/backup.rake:39:in `block (4 levels) in > <top (required)>' > /home/git/gitlab/lib/backup/repository.rb:10:in `dump' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/querying.rb:9:in > > `find_each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:51:in > > `find_each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:125:in > > `find_in_batches' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52:in > > `block in find_each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52:in > > `each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52:in > > `block (2 levels) in find_each' > /home/git/gitlab/lib/backup/repository.rb:16:in `block in dump' > /home/git/gitlab/app/models/project.rb:426:in `empty_repo?' > /home/git/gitlab/app/models/project.rb:218:in `repository' > /home/git/gitlab/app/models/project.rb:218:in `new' > /home/git/gitlab/app/models/repository.rb:8:in `initialize' > /home/git/gitlab/app/models/repository.rb:8:in `new' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:32:in > > `initialize' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:109:in > > `discover_default_branch' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:55:in > > `branch_names' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60:in > > `branches' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60:in > > `map' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60:in > > `each' > > -- C level backtrace information > ------------------------------------------- > > > > I've tried a check with > `sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production` > which returns without error *sometimes*. Other times, it fails with a > similar error as the backup > > > team/someproject ... > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60: > > [BUG] Segmentation fault at 0x00000000000021 > ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] > > -- Control frame information > ----------------------------------------------- > c:0047 p:---- s:0179 e:000178 CFUNC :each > c:0046 p:---- s:0177 e:000176 CFUNC :map > c:0045 p:0011 s:0174 e:000173 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60 > c:0044 p:0007 s:0171 e:000170 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:55 > c:0043 p:0022 s:0168 e:000167 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:109 > c:0042 p:0027 s:0165 e:000164 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:32 > > [FINISH] > c:0041 p:---- s:0161 e:000160 CFUNC :new > c:0040 p:0036 s:0157 e:000156 METHOD > /home/git/gitlab/app/models/repository.rb:8 [FINISH] > c:0039 p:---- s:0152 e:000151 CFUNC :new > c:0038 p:0030 s:0148 e:000147 METHOD > /home/git/gitlab/app/models/project.rb:218 > c:0037 p:0007 s:0145 e:000144 METHOD > /home/git/gitlab/app/models/project.rb:426 > c:0036 p:0019 s:0142 e:000141 BLOCK > /home/git/gitlab/lib/tasks/gitlab/check.rake:533 > c:0035 p:0008 s:0138 e:000137 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52 > > [FINISH] > c:0034 p:---- s:0135 e:000134 CFUNC :each > c:0033 p:0008 s:0132 e:000131 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52 > c:0032 p:0195 s:0129 e:000128 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:125 > c:0031 p:0020 s:0119 e:000118 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:51 > c:0030 p:0019 s:0115 e:000114 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/querying.rb:9 > c:0029 p:0159 s:0108 E:000a08 METHOD > /home/git/gitlab/lib/tasks/gitlab/check.rake:530 > c:0028 p:0063 s:0101 e:000100 BLOCK > /home/git/gitlab/lib/tasks/gitlab/check.rake:360 [FINISH] > c:0027 p:---- s:0099 e:000098 CFUNC :call > c:0026 p:0028 s:0094 e:000093 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240 > > [FINISH] > c:0025 p:---- s:0091 e:000090 CFUNC :each > c:0024 p:0113 s:0088 e:000087 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235 > c:0023 p:0075 s:0084 e:000083 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179 > c:0022 p:0014 s:0082 e:000081 METHOD > /usr/local/lib/ruby/2.1.0/monitor.rb:211 > c:0021 p:0025 s:0079 e:000078 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172 > c:0020 p:0024 s:0072 e:000071 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:201 > > [FINISH] > c:0019 p:---- s:0068 e:000067 CFUNC :each > c:0018 p:0031 s:0065 e:000064 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199 > c:0017 p:0062 s:0060 e:000059 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:178 > c:0016 p:0014 s:0058 e:000057 METHOD > /usr/local/lib/ruby/2.1.0/monitor.rb:211 > c:0015 p:0025 s:0055 e:000054 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172 > c:0014 p:0036 s:0048 e:000047 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165 > c:0013 p:0033 s:0043 e:000042 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150 > c:0012 p:0009 s:0036 e:000035 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106 > > [FINISH] > c:0011 p:---- s:0033 e:000032 CFUNC :each > c:0010 p:0039 s:0030 e:000029 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106 > c:0009 p:0025 s:0028 e:000027 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115 > c:0008 p:0007 s:0024 e:000023 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100 > c:0007 p:0019 s:0021 e:000020 BLOCK > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78 > c:0006 p:0006 s:0019 e:000018 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176 > c:0005 p:0007 s:0015 e:000014 METHOD > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75 > c:0004 p:0040 s:0012 e:000011 TOP > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/bin/rake:33 > [FINISH] > c:0003 p:---- s:0010 e:000009 CFUNC :load > c:0002 p:0135 s:0006 E:0026e8 EVAL > /home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23 [FINISH] > c:0001 p:0000 s:0002 E:000798 TOP [FINISH] > > /home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23:in `<main>' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/bin/rake:23:in `load' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/bin/rake:33:in > `<top (required)>' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in > > `run' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in > > `standard_exception_handling' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:in > > `block in run' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in > > `top_level' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:in > > `run_with_threads' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in > > `block in top_level' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in > > `each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in > > `block (2 levels) in top_level' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:in > > `invoke_task' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in > > `invoke' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in > > `invoke_with_call_chain' > /usr/local/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:178:in > > `block in invoke_with_call_chain' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in > > `invoke_prerequisites' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in > > `each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:201:in > > `block in invoke_prerequisites' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:in > > `invoke_with_call_chain' > /usr/local/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:in > > `block in invoke_with_call_chain' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in > > `execute' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in > > `each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in > > `block in execute' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in > > `call' > /home/git/gitlab/lib/tasks/gitlab/check.rake:360:in `block (3 levels) in > <top (required)>' > /home/git/gitlab/lib/tasks/gitlab/check.rake:530:in > `check_repos_update_hooks_is_link' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/querying.rb:9:in > > `find_each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:51:in > > `find_each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:125:in > > `find_in_batches' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52:in > > `block in find_each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52:in > > `each' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/relation/batches.rb:52:in > > `block (2 levels) in find_each' > /home/git/gitlab/lib/tasks/gitlab/check.rake:533:in `block in > check_repos_update_hooks_is_link' > /home/git/gitlab/app/models/project.rb:426:in `empty_repo?' > /home/git/gitlab/app/models/project.rb:218:in `repository' > /home/git/gitlab/app/models/project.rb:218:in `new' > /home/git/gitlab/app/models/repository.rb:8:in `initialize' > /home/git/gitlab/app/models/repository.rb:8:in `new' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:32:in > > `initialize' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:109:in > > `discover_default_branch' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:55:in > > `branch_names' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60:in > > `branches' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60:in > > `map' > /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/gitlab_git-6.2.1/lib/gitlab_git/repository.rb:60:in > > `each' > > -- C level backtrace information > ------------------------------------------- > > > > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/71d8396b-7dea-433b-bdd8-0ac96a2cae16%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.