Date: Thu, 05 Jan 2017 10:36:24 +0000 From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 215225] www/redmine broken again after upgrade of rubygems Message-ID: <bug-215225-21402-Sr0vNS9FT0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-215225-21402@https.bugs.freebsd.org/bugzilla/> References: <bug-215225-21402@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215225 --- Comment #9 from Miroslav Lachman <000.fbsd@quip.cz> --- (In reply to Steve Wills from comment #8) I pulled this file from SVN https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D430588 re-run p= oudriere bulk to get new rubygem-thin package and then reinstalled Redmine. Unfortunately id doesn't start (root@dice) ~/# pkg version -vRL =3D Updating codelab repository catalogue... codelab repository is up-to-date. Updating redmine repository catalogue... [dice ] Fetching meta.txz: 100% 820 B 0.8kB/s 00:01 [dice ] Fetching packagesite.txz: 100% 36 KiB 36.6kB/s 00:01 Processing entries: 100% redmine repository update completed. 139 packages processed. rubygem-thin-1.7.0 < needs updating (remote has 1.7.0_1) (root@dice) ~/# pkg upgrade -f rubygem-thin redmine Updating codelab repository catalogue... codelab repository is up-to-date. Updating redmine repository catalogue... redmine repository is up-to-date. All repositories are up-to-date. The following 3 package(s) will be affected (of 0 checked): New packages to be INSTALLED: rubygem-rack: 2.0.1,3 [redmine] Installed packages to be UPGRADED: rubygem-thin: 1.7.0 -> 1.7.0_1 [redmine] Installed packages to be REINSTALLED: redmine-3.2.3_4 [redmine] Number of packages to be installed: 1 Number of packages to be upgraded: 1 Number of packages to be reinstalled: 1 2 MiB to be downloaded. Proceed with this action? [y/N]: y [dice ] Fetching rubygem-thin-1.7.0_1.txz: 100% 50 KiB 50.9kB/s 00:01 [dice ] Fetching redmine-3.2.3_4.txz: 100% 2 MiB 1.6MB/s 00:01 Checking integrity... done (0 conflicting) [dice ] [1/3] Installing rubygem-rack-2.0.1,3... [dice ] [1/3] Extracting rubygem-rack-2.0.1,3: 100% [dice ] [2/3] Upgrading rubygem-thin from 1.7.0 to 1.7.0_1... [dice ] [2/3] Extracting rubygem-thin-1.7.0_1: 100% [dice ] [3/3] Reinstalling redmine-3.2.3_4... =3D=3D=3D> Creating groups. Using existing group 'www'. =3D=3D=3D> Creating users Using existing user 'www'. [dice ] [3/3] Extracting redmine-3.2.3_4: 100% You may need to manually remove /usr/local/www/redmine/config/database.yml = if it is no longer needed. You may need to manually remove /usr/local/www/redmine/config/settings.yml = if it is no longer needed. Message from redmine-3.2.3_4: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Redmine was installed. You now need to setup your Redmine installation so please have a look at the Installation Guide. http://www.redmine.org/wiki/redmine/RedmineInstall If you are upgrading please read the Upgrading Guide before starting the new version. http://www.redmine.org/wiki/redmine/RedmineUpgrade =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D (root@dice) ~/# service redmine status redmine is running as pid 99318. (root@dice) ~/# service redmine stop Stopping redmine. Waiting for PIDS: 99318. (root@dice) ~/# service redmine start (root@dice) ~/# service redmine status redmine is not running. Writing PID to tmp/pids/thin.pid Changing process privilege to www:www Using rack adapter Exiting! /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/runtime.rb:40:= in `block in setup': You have already activated rack 2.0.1, but your Gemfile requires rack 1.6.5. Prepending `bundle exec` to your command may solve thi= s. (Gem::LoadError) from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/runtime.rb:25:= in `map' from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/runtime.rb:25:= in `setup' from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler.rb:99:in `setu= p' from /usr/local/lib/ruby/gems/2.2/gems/bundler-1.13.7/lib/bundler/setup.rb:20:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:133:in `require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:133:in `rescue in require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:40:in `require' from /usr/local/www/redmine/config/boot.rb:4:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/www/redmine/config/application.rb:1:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/www/redmine/config/environment.rb:2:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/lib/ruby/site_ruby/2.2/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/www/redmine/config.ru:3:in `block in <main>' from /usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/builder.rb:55:in `instance_eval' from /usr/local/lib/ruby/gems/2.2/gems/rack-2.0.1/lib/rack/builder.rb:55:in `initialize' from /usr/local/www/redmine/config.ru:1:in `new' from /usr/local/www/redmine/config.ru:1:in `<main>' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/rack/adapter/loader.rb:33:= in `eval' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/rack/adapter/loader.rb:33:= in `load' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/rack/adapter/loader.rb:42:= in `for' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/controllers/controlle= r.rb:170:in `load_adapter' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/controllers/controlle= r.rb:74:in `start' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/runner.rb:200:in `run_command' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/runner.rb:156:in `run= !' from /usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/bin/thin:6:in `<t= op (required)>' from /usr/local/bin/thin:22:in `load' from /usr/local/bin/thin:22:in `<main>' I don't know what went wrong but Gemfile.lock is empty # ll /usr/local/www/redmine/Gemfile* -r--r--r-- 1 www www 3.2K Jan 5 11:24 /usr/local/www/redmine/Gemfile -rw-r--r-- 1 www www 0B Jan 5 11:24 /usr/local/www/redmine/Gemfile.l= ock And rubygem-rack-2.0.1,3 is still required by these packages # pkg info -r -d rubygem-rack rubygem-rack-2.0.1,3 Depends on : ruby-2.2.6_1,1 ruby22-gems-2.6.8 Required by : rubygem-rack-test-0.6.3_2 rubygem-sprockets3-3.7.1 rubygem-rack-openid-1.4.2_3 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215225-21402-Sr0vNS9FT0>