Error 500 how to fix?

It looks like it’s not possible to do this upgrade from the UI and that Discourse_docker should not attempt to do an upgrade. I’ve at two sites that broke doing the upgrade and this is at least the second one I’ve seen here since the latest release.