Middleware not working

This was a new install or an upgrade?

For upgrades it seems to be related to large audit logs in 24.x. May or may not be the same for 25.x