App stuck in pending state after restarts, rescaling

Based on this comment, I was able to get up and running again by scaling to a dedicated CPU.

If I scale back down to a shared CPU, I get stuck in pending state again.