[Bug 215225] www/redmine broken again after upgrade of rubygems
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 5 10:36:26 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215225
--- Comment #9 from Miroslav Lachman <000.fbsd at quip.cz> ---
(In reply to Steve Wills from comment #8)
I pulled this file from SVN
https://svnweb.freebsd.org/ports?view=revision&revision=430588 re-run poudriere
bulk to get new rubygem-thin package and then reinstalled Redmine.
Unfortunately id doesn't start
(root at dice) ~/# pkg version -vRL =
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 at 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...
===> Creating groups.
Using existing group 'www'.
===> 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:
=============================================================================
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
=============================================================================
(root at dice) ~/# service redmine status
redmine is running as pid 99318.
(root at dice) ~/# service redmine stop
Stopping redmine.
Waiting for PIDS: 99318.
(root at dice) ~/# service redmine start
(root at 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 this.
(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 `setup'
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/controller.rb:170:in
`load_adapter'
from
/usr/local/lib/ruby/gems/2.2/gems/thin-1.7.0/lib/thin/controllers/controller.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 `<top
(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.lock
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ruby
mailing list