Sorry, there was an error upgrading Discourse

try doing the update via the command line instead of the web interface.