 <p>Well, your migration obviously did not complete successfully, based on the traceback. So I would focus on figuring out why it failed, rather than working around things like the broken RAMCache which are likely a result of the migration not having run.</p> <p>The traceback indicates that it broke while trying to <em>abort</em> the transaction...so you'll probably need to do some debugging to determine what caused it to <em>try</em> to abort, since that's not indicated in the logs you pasted.</p>