I ran the update v2.4.0rc3 and changed my keys just in case - ie secret key base etc. But the last bit on . From RAILS_ENV=production bundle exec rails console (or docker-compose equivalent), run: User.update_all(otp_required_for_login: false, encrypted_otp_secret: nil)
trying any of thse lines generates errors - I cannot get this to work and thus cannot login to my instance because 2FA is broke with me changing the key. I’m using docker on this instance.
If I try to type rails c i get :
[!] There was an error parsing `Gemfile`: no implicit conversion of Symbol into Integer. Bundler cannot continue.
# from /home/mastodon/mastodon/Gemfile:4
# -------------------------------------------
# source 'https://rubygems.org'
> ruby '>= 2.3.0', '< 2.6.0'
#
# -------------------------------------------