Topic: Can't locate object method "new" via package "LWP::UserAgent"
Since the server update to v-2012-09-03, I get the following error executing the replication task
carton exec -- ./admin/replication/LoadReplicationChanges
Can't locate object method "new" via package "LWP::UserAgent" (perhaps you forgot to load "LWP::UserAgent"?) at /home/mb/musicbrainz-server/admin/replication/../../lib/MusicBrainz/Server/Context.pm line 42.
Manually re-installing LWP::UserAgent doesn't help.
Thanks to Google, I found the following ticket: http://tickets.musicbrainz.org/browse/MBS-5270
and manually added the "green diff line" from here: http://codereview.musicbrainz.org/r/226 … dex_header to the script lib/MusicBrainz/Server/Context.pm
Now the replication works again.