Update/rebuild error. How to diagnose and recover?

Yesterday i gave up and commented out maxmind. I then went into the container and added the values to discourse.conf and it pulled the database successfully (a rather complicated work around).

I don’t understand how this could be happening, but it does look like a bug.

I think the only solution now is to do without maxmind.