Package: redmine Version: 1.1.3-1 Severity: important Tags: wheezy
After a recent aptitude upgrade operation our previously fine working Redmine server has severe issues with LDAP authentication. Trying to log in gives a 500 Internal Server Error, but then manually returning to the homepage shows that the login did actually succeed. Trying to log out just gives a 500 Internal Server Error, but does not succeed. In other words it's now impossible to log out apart from trashing cookies manually. Since the issue appeared after an aptitude upgrade operation, and we do these on a 1 to 2 weekly basis for all servers, and Redmine package itself wasn't updated since late May, it is suspected that the package is now incompatible with one of its updated dependencies. Call stack for the error when logging in (logout gives exact same error and crash location, top 5 calls are identical): Processing AccountController#login (for [FILTERED] at 2011-08-12 00:03:52) [POST] Parameters: {"back_url"=>"[FILTERED]", "action"=>"login", "authenticity_token"=>"[FILTERED]", "username"=>"[FILTERED]", "autologin"=>"1", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login »"} NoMethodError (private method `gsub' called for :autologin:Symbol): /usr/lib/ruby/vendor_ruby/rack/backports/uri/common.rb:24:in /`encode_www_form_component' /usr/lib/ruby/vendor_ruby/rack/utils.rb:23:in `escape' /usr/lib/ruby/vendor_ruby/rack/utils.rb:201:in `set_cookie_header!' /usr/lib/ruby/vendor_ruby/rack/response.rb:59:in `set_cookie' /usr/lib/ruby/1.8/action_controller/response.rb:180:in `set_cookie' /usr/lib/ruby/1.8/action_controller/cookies.rb:84:in `[]=' app/controllers/account_controller.rb:207:in `successful_authentication' app/controllers/account_controller.rb:155:in `password_authentication' app/controllers/account_controller.rb:142:in `authenticate_user' app/controllers/account_controller.rb:30:in `login' /usr/lib/ruby/1.8/action_controller/base.rb:1333:in `send' /usr/lib/ruby/1.8/action_controller/base.rb:1333:in /`perform_action_without_filters' /usr/lib/ruby/1.8/action_controller/filters.rb:617:in `call_filters' /usr/lib/ruby/1.8/action_controller/filters.rb:610:in /`perform_action_without_benchmark' /usr/lib/ruby/1.8/action_controller/benchmarking.rb:68:in /`perform_action_without_rescue' /usr/lib/ruby/1.8/action_controller/benchmarking.rb:68:in /`perform_action_without_rescue' /usr/lib/ruby/1.8/action_controller/rescue.rb:160:in /`perform_action_without_flash' /usr/lib/ruby/1.8/action_controller/flash.rb:151:in `perform_action' /usr/lib/ruby/1.8/action_controller/base.rb:532:in `send' /usr/lib/ruby/1.8/action_controller/base.rb:532:in /`process_without_filters' /usr/lib/ruby/1.8/action_controller/filters.rb:606:in `process' /usr/lib/ruby/1.8/action_controller/base.rb:391:in `process' /usr/lib/ruby/1.8/action_controller/base.rb:386:in `call' /usr/lib/ruby/1.8/action_controller/routing/route_set.rb:438:in `call' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:87:in `dispatch' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:121:in `_call' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:130:in /`build_middleware_stack' /usr/lib/ruby/1.8/active_record/query_cache.rb:29:in `call' /usr/lib/ruby/1.8/active_record/query_cache.rb:29:in `call' /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/query_cache.rb:34:in /`cache' /usr/lib/ruby/1.8/active_record/query_cache.rb:9:in `cache' /usr/lib/ruby/1.8/active_record/query_cache.rb:28:in `call' /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_pool.rb:361:in /`call' /usr/lib/ruby/1.8/action_controller/string_coercion.rb:25:in `call' /usr/lib/ruby/vendor_ruby/rack/head.rb:9:in `call' /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:24:in `call' /usr/lib/ruby/1.8/action_controller/params_parser.rb:15:in `call' /usr/lib/ruby/1.8/action_controller/session/cookie_store.rb:99:in `call' /usr/lib/ruby/1.8/action_controller/failsafe.rb:26:in `call' /usr/lib/ruby/vendor_ruby/rack/lock.rb:15:in `call' /usr/lib/ruby/1.8/action_controller/dispatcher.rb:106:in `call' /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in /`process_request' /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in /`main_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in /`start_request_handler' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in /`handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in /`handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in /`start_synchronously' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in /`start' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in /`spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in /`lookup_or_add' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in /`spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in /`synchronize' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in /`synchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in /`spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in /`spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in /`handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in /`start_synchronously' /usr/lib/phusion_passenger/passenger-spawn-server:61 Rendering /usr/share/redmine/public/500.html (500 Internal Server Error) -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages redmine depends on: ii dbconfig-common 1.8.47 common framework for packaging dat ii debconf [debconf-2.0] 1.5.40 Debian configuration management sy ii libactionmailer-ruby 2.3.11-0.1 Framework for generation of custom ii libactionpack-ruby 2.3.11-0.1 Controller and View framework used ii libactiveresource-ruby 2.3.11-0.1 Connects objects and REST web serv ii libactivesupport-ruby 2.3.11-0.1 utility classes and extensions (Ru ii libjs-scriptaculous 1.9.0-2 JavaScript library for dynamic web ii rails 2.3.11-0.1 MVC ruby based framework geared fo ii redmine-mysql 1.1.3-1 metapackage providing MySQL depend ii redmine-sqlite 1.1.3-1 metapackage providing sqlite depen ii ruby 4.8 Transitional package for ruby1.8 ii ruby1.8 [ruby] 1.8.7.352-1 Interpreter of object-oriented scr redmine recommends no packages. Versions of packages redmine suggests: pn libopenid-ruby <none> (no description available) pn librmagick-ruby <none> (no description available) pn libsvn-ruby <none> (no description available) -- debconf information: redmine/instances/default/password-confirm: (password omitted) redmine/instances/default/mysql/admin-pass: (password omitted) redmine/instances/default/app-password-confirm: (password omitted) redmine/instances/default/mysql/app-pass: (password omitted) redmine/instances/default/pgsql/admin-pass: (password omitted) redmine/instances/default/pgsql/app-pass: (password omitted) redmine/instances/default/passwords-do-not-match: redmine/instances/default/remote/newhost: redmine/instances/default/db/basepath: redmine/instances/default/pgsql/changeconf: false redmine/instances/default/missing-db-package-error: abort redmine/default-language: ${defaultLocale} redmine/instances/default/pgsql/no-empty-passwords: redmine/instances/default/pgsql/method: unix socket * redmine/instances/default/database-type: mysql redmine/instances/default/pgsql/manualconf: redmine/instances/default/pgsql/authmethod-admin: ident redmine/instances/default/pgsql/admin-user: postgres * redmine/missing-redmine-package: redmine/instances/default/pgsql/authmethod-user: password redmine/instances/default/dbconfig-reinstall: false * redmine/instances/default/db/app-user: redmine * redmine/instances/default/default-language: en redmine/notify-migration: redmine/old-instances: redmine/instances/default/upgrade-error: abort * redmine/instances/default/db/dbname: redmine_default redmine/instances/default/purge: false * redmine/current-instances: default redmine/instances/default/remote/host: redmine/instances/default/dbconfig-upgrade: true redmine/instances/default/internal/reconfiguring: false redmine/instances/default/upgrade-backup: true redmine/instances/default/install-error: abort * redmine/instances/default/mysql/admin-user: root * redmine/instances/default/mysql/method: unix socket redmine/instances/default/internal/skip-preseed: false redmine/instances/default/remove-error: abort redmine/instances/default/dbconfig-remove: redmine/instances/default/remote/port: * redmine/instances/default/dbconfig-install: true -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org