ERROR: Upgrade failed: DB: Statement violates GTID consistency

Thanks @asmecher

Turning that off results in the site becoming unavailable. In Firefox, the error is:

The page isn't redirecting properly

An error occurred during a connection to press-start.gla.ac.uk.

    This problem can sometimes be caused by disabling or refusing to accept cookies.