Error when "./discourse rebuild app" due to theme error

Hmm. Did you run a cleanup? (But it doesn’t much matter now why you can’t start the old container.)

There should be a way to disable broken themes on rebuild. I changed your subject to call attention to this issue.

It might be possible to build a container with only postgres, then remove the theme with sql, then put back the web template and rebuild then.