[DRE-maint] Bug#922772: redmine: start via unicorn fails
Jörg-Volker Peetz
jvpeetz at web.de
Wed Feb 20 13:48:59 GMT 2019
Package: redmine
Version: 4.0.1-1
Severity: grave
Dear Maintainer team,
after upgrading from 3.4.6 the start of redmine via unicorn
fails. Please find the error protocol appended.
It seems to fail in line 19 of /usr/share/redmine/config/environment.rb
Regards,
Jörg.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (600, 'testing'), (500, 'unstable'), (5, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.10 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages redmine depends on:
ii dbconfig-common 2.0.11
ii debconf [debconf-2.0] 1.5.70
ii libjs-jquery 3.3.1~dfsg-1
ii libjs-jquery-ui 1.12.1+dfsg-5
ii libjs-raphael 2.1.0-1
ii redmine-sqlite 4.0.1-1
ii ruby 1:2.5.1
ii ruby-actionpack-action-caching 1.2.0-2
ii ruby-actionpack-xml-parser 2.0.1-3
ii ruby-bundler 1.17.3-2
ii ruby-coderay 1.1.2-2
ii ruby-csv 3.0.2-1
ii ruby-i18n 1.5.3-1
ii ruby-jquery-rails 4.3.3-1
ii ruby-mail 2.7.1+dfsg1-1
ii ruby-mime-types 3.2.2-1
ii ruby-mimemagic 0.3.2+dfsg-1
ii ruby-mini-mime 1.0.1-1
ii ruby-net-ldap 0.16.1-1
ii ruby-nokogiri 1.10.0+dfsg1-2
ii ruby-openid 2.7.0debian-1
ii ruby-rack 2.0.6-3
ii ruby-rack-openid 1.4.2-1
ii ruby-rack-test 0.7.0-1
ii ruby-rails 2:5.2.2+dfsg-5
ii ruby-rails-dom-testing 2.0.3-3
ii ruby-rails-observers 0.1.5-1
ii ruby-rbpdf 1.19.5+ds.1-1
ii ruby-redcarpet 3.4.0-4+b1
ii ruby-request-store 1.3.0-1
ii ruby-rmagick 2.16.0-6
ii ruby-roadie 3.2.2-1
ii ruby-roadie-rails 1.3.0-1
ii ruby-rouge 3.3.0-1
Versions of packages redmine recommends:
pn passenger <none>
Versions of packages redmine suggests:
pn bzr <none>
ii cvs 2:1.12.13+real-27
pn darcs <none>
ii git 1:2.20.1-2
ii mercurial 4.9-2
pn ruby-fcgi <none>
ii subversion 1.10.4-1
-- debconf information:
redmine/instances/default/missing-db-package-error: abort
redmine/instances/default/pgsql/authmethod-admin: ident
redmine/instances/default/remote/newhost:
* redmine/current-instances: default
* redmine/instances/default/default-language: en
redmine/instances/default/upgrade-backup: true
redmine/default-language: en
redmine/instances/default/mysql/admin-user:
redmine/old-instances:
redmine/instances/default/pgsql/changeconf: false
* redmine/instances/default/dbconfig-install: true
redmine/instances/default/db/app-user: redmine
redmine/instances/default/dbconfig-reinstall: false
redmine/instances/default/upgrade-error: abort
* redmine/instances/default/db/basepath: /var/lib/redmine/default/db
redmine/notify-migration:
redmine/instances/default/internal/skip-preseed: false
redmine/instances/default/passwords-do-not-match:
redmine/instances/default/dbconfig-remove:
redmine/instances/default/remote/host: localhost
redmine/instances/default/dbconfig-upgrade: true
* redmine/instances/default/db/dbname: redmine.sqlite
redmine/instances/default/pgsql/manualconf:
redmine/instances/default/remote/port:
redmine/instances/default/remove-error: abort
redmine/instances/default/pgsql/no-empty-passwords:
redmine/instances/default/pgsql/authmethod-user: password
redmine/instances/default/pgsql/method: TCP/IP
redmine/missing-redmine-package:
redmine/instances/default/purge: false
redmine/instances/default/internal/reconfiguring: false
redmine/instances/default/pgsql/admin-user: postgres
redmine/instances/default/install-error: abort
redmine/instances/default/mysql/method: Unix socket
* redmine/instances/default/database-type: sqlite3
-------------- next part --------------
I, [2019-02-20T12:01:44.139905 #29924] INFO -- : Refreshing Gem list
I, [2019-02-20T12:01:48.342802 #29924] INFO -- : listening on addr=/run/www/unicorn-redmine-default.sock fd=13
I, [2019-02-20T12:01:48.353250 #29924] INFO -- : master process ready
I, [2019-02-20T12:01:48.385812 #29930] INFO -- : worker=1 ready
I, [2019-02-20T12:01:48.386122 #29927] INFO -- : worker=0 ready
I, [2019-02-20T12:02:22.860110 #29924] INFO -- : reaped #<Process::Status: pid 29927 exit 0> worker=0
I, [2019-02-20T12:02:22.860331 #29924] INFO -- : reaped #<Process::Status: pid 29930 exit 0> worker=1
I, [2019-02-20T12:02:22.860486 #29924] INFO -- : master complete
I, [2019-02-20T13:13:34.284742 #373] INFO -- : Refreshing Gem list
/usr/share/rubygems-integration/all/gems/actionpack-5.2.2/lib/action_dispatch/routing/mapper.rb:2099:in `direct': The direct method can't be used inside a routes scope block (RuntimeError)
from /usr/share/rubygems-integration/all/gems/activestorage-5.2.2/config/routes.rb:6:in `block in <top (required)>'
from /usr/share/rubygems-integration/all/gems/actionpack-5.2.2/lib/action_dispatch/routing/mapper.rb:641:in `instance_exec'
from /usr/share/rubygems-integration/all/gems/actionpack-5.2.2/lib/action_dispatch/routing/mapper.rb:641:in `block in with_default_scope'
from /usr/share/rubygems-integration/all/gems/actionpack-5.2.2/lib/action_dispatch/routing/mapper.rb:879:in `scope'
from /usr/share/rubygems-integration/all/gems/actionpack-5.2.2/lib/action_dispatch/routing/mapper.rb:640:in `with_default_scope'
from /usr/share/rubygems-integration/all/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:430:in `eval_block'
from /usr/share/rubygems-integration/all/gems/actionpack-5.2.2/lib/action_dispatch/routing/route_set.rb:414:in `draw'
from /usr/share/rubygems-integration/all/gems/activestorage-5.2.2/config/routes.rb:3:in `<top (required)>'
from /usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `load'
from /usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `block in load'
from /usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
from /usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `load'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application/routes_reloader.rb:41:in `block in load_paths'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application/routes_reloader.rb:41:in `each'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application/routes_reloader.rb:41:in `load_paths'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application/routes_reloader.rb:20:in `reload!'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application/routes_reloader.rb:30:in `block in updater'
from /usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/file_update_checker.rb:83:in `execute'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application/routes_reloader.rb:10:in `execute'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application/finisher.rb:130:in `block in <module:Finisher>'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `instance_exec'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `run'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:61:in `block in run_initializers'
from /usr/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
from /usr/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /usr/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /usr/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /usr/lib/ruby/2.5.0/tsort.rb:347:in `each'
from /usr/lib/ruby/2.5.0/tsort.rb:347:in `call'
from /usr/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
from /usr/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
from /usr/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:60:in `run_initializers'
from /usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application.rb:361:in `initialize!'
from /usr/share/redmine/config/environment.rb:19:in `<top (required)>'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
from config.ru:4:in `block in <main>'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
from config.ru:1:in `new'
from config.ru:1:in `<main>'
from /usr/lib/ruby/vendor_ruby/unicorn.rb:56:in `eval'
from /usr/lib/ruby/vendor_ruby/unicorn.rb:56:in `block in builder'
from /usr/lib/ruby/vendor_ruby/unicorn/http_server.rb:795:in `build_app!'
from /usr/lib/ruby/vendor_ruby/unicorn/http_server.rb:139:in `start'
from /usr/bin/unicorn:126:in `<main>'
More information about the Pkg-ruby-extras-maintainers
mailing list