FS#58039 - [gitlab] database upgrade after package upgrade broken
Attached to Project:
Community Packages
Opened by Please Delete (balticer) - Friday, 30 March 2018, 10:25 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 31 March 2018, 03:40 GMT
Opened by Please Delete (balticer) - Friday, 30 March 2018, 10:25 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 31 March 2018, 03:40 GMT
|
Details
Description: Latest gitlab update has a problem with (maybe
included) libicuuc.
Additional info: Related bug report https://bugs.archlinux.org/task/58033 Steps to reproduce: su - gitlab -s /bin/sh -c "cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake db:migrate RAILS_ENV=production" rake aborted! LoadError: libicuuc.so.60: cannot open shared object file: No such file or directory - /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/charlock_holmes-0.7.5/lib/charlock_holmes/charlock_holmes.so /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/charlock_holmes-0.7.5/lib/charlock_holmes.rb:1:in `<top (required)>' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/github-linguist-5.3.3/lib/linguist/blob_helper.rb:2:in `<top (required)>' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/github-linguist-5.3.3/lib/linguist.rb:1:in `<top (required)>' /usr/share/webapps/gitlab/config/application.rb:5:in `<top (required)>' /usr/share/webapps/gitlab/Rakefile:5:in `require' /usr/share/webapps/gitlab/Rakefile:5:in `<top (required)>' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>' (See full trace by running task with --trace)su - gitlab -s /bin/sh -c "cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake db:migrate RAILS_ENV=production" rake aborted! LoadError: libicuuc.so.60: cannot open shared object file: No such file or directory - /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/charlock_holmes-0.7.5/lib/charlock_holmes/charlock_holmes.so /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/charlock_holmes-0.7.5/lib/charlock_holmes.rb:1:in `<top (required)>' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/github-linguist-5.3.3/lib/linguist/blob_helper.rb:2:in `<top (required)>' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/github-linguist-5.3.3/lib/linguist.rb:1:in `<top (required)>' /usr/share/webapps/gitlab/config/application.rb:5:in `<top (required)>' /usr/share/webapps/gitlab/Rakefile:5:in `require' /usr/share/webapps/gitlab/Rakefile:5:in `<top (required)>' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>' (See full trace by running task with --trace)su - gitlab -s /bin/sh -c "cd '/usr/share/webapps/gitlab'; bundle-2.3 exec rake db:migrate RAILS_ENV=production" rake aborted! LoadError: libicuuc.so.60: cannot open shared object file: No such file or directory - /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/charlock_holmes-0.7.5/lib/charlock_holmes/charlock_holmes.so /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/charlock_holmes-0.7.5/lib/charlock_holmes.rb:1:in `<top (required)>' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/github-linguist-5.3.3/lib/linguist/blob_helper.rb:2:in `<top (required)>' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/github-linguist-5.3.3/lib/linguist.rb:1:in `<top (required)>' /usr/share/webapps/gitlab/config/application.rb:5:in `<top (required)>' /usr/share/webapps/gitlab/Rakefile:5:in `require' /usr/share/webapps/gitlab/Rakefile:5:in `<top (required)>' /usr/share/webapps/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>' (See full trace by running task with --trace) regards Kai |
This task depends upon
Closed by Doug Newgard (Scimmia)
Saturday, 31 March 2018, 03:40 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#58033
Saturday, 31 March 2018, 03:40 GMT
Reason for closing: Duplicate
Additional comments about closing:
Also building in a clean chroot fails, with the errors similar to above issue.
Either wait for Gitlab (we should create an issue about this) to update the package, or we hack it by upgrading the Gemfile or adding the make flag somewhere.
https://gitlab.com/gitlab-org/gitlab-ce/commit/a951b96be2862ce660dc715a364f574c2f5f72e1