Package: gitlab
Version: 12.9.3+dfsg-1+fto10+1
Severity: normal
Dear Maintainer,
When opening /profile/two_factor_auth to set up 2FA on my account, I get
a 500 internal server error.
Log contains this:
Processing by Profiles::TwoFactorAuthsController#show as HTML
Completed 500 Internal Server Error in 176ms (ActiveRecord: 2.5ms |
Elasticsearch: 0.0ms | Allocations: 14662)
NoMethodError (undefined method `set_attribute_was' for #
Did you mean? custom_attributes):
app/controllers/profiles/two_factor_auths_controller.rb:8:in `show'
app/controllers/application_controller.rb:479:in `set_current_admin'
lib/gitlab/session.rb:11:in `with_session'
app/controllers/application_controller.rb:470:in `set_session_storage'
lib/gitlab/i18n.rb:55:in `with_locale'
lib/gitlab/i18n.rb:61:in `with_user_locale'
app/controllers/application_controller.rb:464:in `set_locale'
lib/gitlab/error_tracking.rb:34:in `with_context'
app/controllers/application_controller.rb:555:in `sentry_context'
lib/gitlab/application_context.rb:46:in `block in use'
lib/gitlab/application_context.rb:46:in `use'
lib/gitlab/application_context.rb:19:in `with_context'
app/controllers/application_controller.rb:455:in `set_current_context'
lib/gitlab/request_profiler/middleware.rb:17:in `call'
lib/gitlab/middleware/go.rb:20:in `call'
lib/gitlab/etag_caching/middleware.rb:13:in `call'
lib/gitlab/middleware/multipart.rb:122:in `call'
lib/gitlab/middleware/read_only/controller.rb:53:in `call'
lib/gitlab/middleware/read_only.rb:18:in `call'
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/middleware/request_context.rb:23:in `call'
config/initializers/fix_local_cache_middleware.rb:9:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:49:in `call'
lib/gitlab/middleware/release_env.rb:12:in `call'
-- System Information:
Debian Release: 10.3
APT prefers stable
APT policy: (700, 'stable'), (650, 'proposed-updates'), (640,
'buster-backports'), (630, 'buster-fasttrack'), (600, 'oldstable'), (550,
'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'testing'), (200,
'unstable'), (160, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gitlab depends on:
ii apache2 [httpd] 2.4.38-3+deb10u3
ii asciidoctor 2.0.10-2~bpo10+1
ii bc 1.07.1-2+b1
ii bundler 1.17.3-3
ii bzip2 1.0.6-9.2~deb10u1
ii dbconfig-pgsql 2.0.11+deb10u1
ii debconf [debconf-2.0] 1.5.71
ii gitlab-common 12.9.3+dfsg-1~bpo10+1
ii gitlab-workhorse8.30+debian-1~bpo10+1
ii libjs-bootstrap4 [node-bootstrap] 4.3.1+dfsg2-1
ii libjs-popper.js [node-popper.js]1.14.6+ds2-1
ii libjs-uglify2.8.29-6
ii lsb-base10.2019051400
ii node-autosize 4.0.2~dfsg1-3
ii node-axios 0.17.1+dfsg-2
ii node-brace-expansion1.1.8-1
ii node-chart.js 2.7.3+dfsg-5
ii node-clipboard 2.0.6+ds-1~bpo10+1
ii node-core-js3.6.1-3
ii node-css-loader 1.0.1-1
ii node-d3-scale 2.2.2-2
ii node-d3-selection 1.4.0-5
ii node-dateformat 3.0.0-1
ii node-exports-loader 0.7.0-2~bpo10+1
ii node-fuzzaldrin-plus0.5.0+dfsg-1
ii node-glob 7.1.3-2
ii node-imports-loader 0.8.0-2~bpo10+1
ii node-jed1.1.1-1
ii node-jquery 3.4.0+dfsg-1
ii node-jquery-ujs 1.2.2-2
ii node-js-cookie 2.2.0-2
ii node-jszip 3.2.2+dfsg-1
ii node-jszip-utils0.0.2+dfsg-1
ii node-lodash 4.17.15+dfsg-2
ii node-marked 0.5.1+dfsg-1
ii node-mousetrap 1.6.1+ds-1
ii node-prismjs1.11.0+dfsg-3
ii node-prosemirror-model 1.9.0-3
ii node-raven-js 3.22.1+dfsg-2
ii node-three-orbit-controls 82.1.0-2
ii node-three-stl-loader 1.0.6-2
ii node-timeago.js 4.0.2-2
ii node-underscore 1.9.1~dfsg-1
ii node-url-loader 3.0.0-1~bpo10+1
ii node-vue-resource 1.5.1+dfsg-5
ii node-webpack-stats-plugin 0