Re: stash takes a hash or hashref at /Library/Perl/5.18/Catalyst.pm line 517

Ulrich Klauer <[email protected]> Sun, 01 Mar 2015 10:48:13 +0100
Newsgroups gmane.comp.audio.musicbrainz.devel
Message-ID <[email protected]>
Neal Piche wrote:

> Use of uninitialized value $iSchemaSequence in printf at  
> ./admin/replication/LoadReplicationChanges line 139.
> Sat Feb 28 12:12:50 2015 : Schema sequence mismatch - codebase is  
> 21, database is 0

> it seems to me that both scripts are using the same method to  
> connect to the database and for some reason see it as blank. I have  
> used psql to verify that the database is indeed intact. I did an  
> import of the Feb 18th full export minus the edit file. Please let  
> me know what I might be missing or how to continue troubleshooting.  
> I have tried redoing this many times with the same result.

It seems that the replication_control table is empty. Are you sure you  
imported everything (except -edit), including the main file  
mbdump.tar.bz2 without a -whatever in it? (What do you get for SELECT  
COUNT(*) FROM artist?) If this is in the database, I'd next check if  
the database configured in lib/DBDefs.pm is the same you were looking  
at with psql.

Ulrich