My Musicbrainz server was months behind in replicating, so i decided to download the latest mbdump
I’ve dropped the table and re-imported it all, however now the slave.sh script fails with
Schema sequence mismatch, codebase is 23, database is 1
is there way to fix this? or did the database re-load not work properly.
on a side note has anyone been able to get the replication slave script to update album art / recently added so on the front page the thumbnails update along with all the other data? as well?
poor choice of words… replicate the data… not update… so when the replication occurs that “recently added” album art info is dragged down to server as well.
i ran the import script as per the build guide. i am guessing something went wrong… i would have expected may be 22/23 error as that seems to be fairly common, if you do an update just after the schema changed…
my DBDefs.pm file refers to schema 23, so looks ok.
after dropping the old database i recreated it - ./admin/InitDb.pl --createdb --clean
then ran import script ./admin/InitDb.pl --createdb --import /tmp/dumps/mbdump*.tar.bz2 --echo (path was different to where i saved the bz2 files)
i used the mbdumps from the 10th of december
the server does work, but the replication script fails.
that worked, but had to include createdb - must have dropped the entire table when i dropped it (whoops!)
took about a week to import all hte data gain, but have caught up now using the slave.sh… just need to figure out why it fails when run by cron - but works fine when run from command line (it throws scrips errors in slave.log file