Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-6403

Resetting password ignores DB_READ_ONLY

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2013-07-22
    • None
    • Accounts
    • None

      Internal Server Error
      Oops, something went wrong!

      Error:

      Caught exception in MusicBrainz::Server::Controller::Account->reset_password "Failed query:
      'UPDATE editor SET password = ?, last_login_date = now() WHERE name=?'
      (xxxxxxx sunk818)
      DBD::Pg::st execute failed: ERROR: cannot execute UPDATE in a read-only transaction at lib/Sql.pm line 107, line 3.

      at lib/Sql.pm line 113, line 3.
      Sql::_ANON_('DBD::Pg::st execute failed: ERROR: cannot execute UPDATE in ...') called at local/lib/perl5/Try/Tiny.pm line 100
      Try::Tiny::try('CODE(0xe8ca6a0)', 'Try::Tiny::Catch=REF(0xe8ca748)') called at lib/Sql.pm line 114
      Sql::do('Sql=HASH(0xeb2b358)', 'UPDATE editor SET password = ?, last_login_date = now() WHERE...', 'xxxxxxxx', 'sunk818') called at lib/MusicBrainz/Server/Data/Editor.pm line 262
      MusicBrainz::Server::Data::Editor::_ANON_() called at lib/Sql.pm line 307
      Sql::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 76
      eval

      {...} called at local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0xe8895e0)', 'Try::Tiny::Catch=REF(0xe0aa780)') called at lib/Sql.pm line 320
      Sql::_auto_transaction('CODE(0xea8d838)', 'Sql=HASH(0xeb2b358)') called at lib/Sql.pm line 325
      Sql::_run_in_transaction_one('CODE(0xea8d838)', 'Sql=HASH(0xeb2b358)') called at lib/Sql.pm line 339
      Sql::run_in_transaction('CODE(0xea8d838)', 'Sql=HASH(0xeb2b358)') called at lib/MusicBrainz/Server/Data/Editor.pm line 264
      MusicBrainz::Server::Data::Editor::update_password('MusicBrainz::Server::Data::Editor=HASH(0xbb1a8a0)', 'sunk818', 'xxxxxxxx') called at lib/MusicBrainz/Server/Controller/Account.pm line 228
      MusicBrainz::Server::Controller::Account::reset_password('MusicBrainz::Server::Controller::Account=HASH(0xcca9400)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xd2178c0)', 'MusicBrainz::Server::Controller::Account=HASH(0xcca9400)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst.pm line 1672
      eval {...}

      called at local/lib/perl5/Catalyst.pm line 1672
      Catalyst::execute('MusicBrainz::Server=HASH(0xea647e8)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xd2178c0)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xea647e8)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xd2178c0)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xd2178c0)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst/Controller.pm line 158
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::Account=HASH(0xcca9400)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xd211228)', 'MusicBrainz::Server::Controller::Account=HASH(0xcca9400)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst.pm line 1672
      eval

      {...} called at local/lib/perl5/Catalyst.pm line 1672
      Catalyst::execute('MusicBrainz::Server=HASH(0xea647e8)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xd211228)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xea647e8)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xd211228)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xd211228)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x45b6fd0)', 'forward', 'MusicBrainz::Server=HASH(0xea647e8)', '_ACTION') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x45b6fd0)', 'MusicBrainz::Server=HASH(0xea647e8)', '_ACTION') called at local/lib/perl5/Catalyst.pm line 362
      Catalyst::forward('MusicBrainz::Server=HASH(0xea647e8)', '_ACTION') called at local/lib/perl5/Catalyst/Controller.pm line 132
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::Account=HASH(0xcca9400)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xd210ee0)', 'MusicBrainz::Server::Controller::Account=HASH(0xcca9400)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst.pm line 1672
      eval {...}

      called at local/lib/perl5/Catalyst.pm line 1672
      Catalyst::execute('MusicBrainz::Server=HASH(0xea647e8)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xd210ee0)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xea647e8)', 'MusicBrainz::Server::Controller::Account', 'Catalyst::Action=HASH(0xd210ee0)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xd210ee0)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x45b6fd0)', 'forward', 'MusicBrainz::Server=HASH(0xea647e8)', '/account/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x45b6fd0)', 'MusicBrainz::Server=HASH(0xea647e8)', '/account/_DISPATCH') called at local/lib/perl5/Catalyst.pm line 362
      Catalyst::forward('MusicBrainz::Server=HASH(0xea647e8)', '/account/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x45b6fd0)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst.pm line 1618
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xea647e8)') called at lib/MusicBrainz/Server.pm line 326
      MusicBrainz::Server::_ANON_() called at lib/MusicBrainz/Server.pm line 300
      MusicBrainz::Server::with_translations('MusicBrainz::Server=HASH(0xea647e8)', 'CODE(0xd88a668)') called at lib/MusicBrainz/Server.pm line 327
      Class::MOP::Class:::around('CODE(0x3997ed0)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xea647e8)') called at lib/MusicBrainz/Server.pm line 341
      Class::MOP::Class:::around('CODE(0xd252168)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xea647e8)') called at lib/MusicBrainz/Server.pm line 386
      Class::MOP::Class:::around('CODE(0xd26ae20)', 'MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 35
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xea647e8)') called at local/lib/perl5/Catalyst.pm line 1968
      Catalyst::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 76
      eval

      {...}

      called at local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0xea7e910)', 'Try::Tiny::Catch=REF(0xeb530d0)') called at local/lib/perl5/Catalyst.pm line 1974
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xeb4d8f0)', 'response_cb', 'CODE(0xde10510)') called at local/lib/perl5/Catalyst/Plugin/AutoRestart.pm line 117
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xeb4d8f0)', 'response_cb', 'CODE(0xde10510)') called at local/lib/perl5/Catalyst/Engine.pm line 688
      Catalyst::Engine::_ANON_('CODE(0xde10510)') called at local/lib/perl5/Plack/Handler/FCGI.pm line 130
      Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x18d09d0)', 'CODE(0xd284138)') called at local/lib/perl5/Plack/Loader.pm line 84
      Plack::Loader::run('Plack::Loader=HASH(0x17f7c90)', 'Plack::Handler::FCGI=HASH(0x18d09d0)') called at local/lib/perl5/Plack/Runner.pm line 267
      Plack::Runner::run('Plack::Runner=HASH(0x1680808)') called at local/bin/plackup line 10
      at lib/Sql.pm line 320."
      Stack trace:
      line 264 MusicBrainz::Server::Data::Editor
      line 228 MusicBrainz::Server::Controller::Account
      line 326 MusicBrainz::Server
      line 300 MusicBrainz::Server
      line 327 MusicBrainz::Server
      line 341 MusicBrainz::Server
      line 386 MusicBrainz::Server
      Request data:

      $VAR1 = {
      'query_parameters' =>

      { 'time' => '1369409246', 'id' => '480637', 'key' => 'DoDqxptrD7OuUURO4JNdsFD/EBU' }

      ,
      'body_parameters' =>

      { 'resetpassword.confirm_password' => 'xxxxx', 'resetpassword.password' => 'xxxxx' }

      };

      Host: astro

      URL: http://musicbrainz.org/reset-password?time=1369409246&id=480637&key=DoDqxptrD7OuUURO4JNdsFD%2FEBU

      We're terribly sorry for this problem. Please wait a few minutes and repeat your request — the problem may go away.

      If the problem persists, please report a bug and include any error message that is shown above.

      Please be sure to include the stack trace and request data shown above!

      Donate | Wiki | Forums | Bug Tracker | Twitter | Use beta site Cover Art provided by the Cover Art Archive. Hosted by Digital West. Sponsored by: Google, OSUOSL and others....

            ianmcorvidae Ian McEwen
            sunk818 Sun W. Kim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2013-07-22