Migration error: `ActiveRecord::NotNullViolation: PG::NotNullViolation: ERROR: column "private_message" contains null values`

Sorry, Alan. Yes this did get resolved. Thanks for your help on this one!

For anyone else with this issue, if you do a plain-old ./launcher rebuild app you shouldn’t have any trouble except that your site will potentially be down for a long time while the bootstrap part of the rebuild migrates the database. This is the safe and easy option, and unless you’re a 2-container install, what you’ll do anyway.

I didn’t want to have the site down for the whole bootstrap. For this large forum (5M posts and ~50K pageviews/day?) my solution (that I figured out only with Alan’s help) was to bootstrap with post upgrade migrations off (migrations took virtually no time), crank up the new container and do the post upgrade migrations (migrations took 20-40 minutes–I wasn’t really paying attention to the clock).

If anyone else cares, I’ve since learned that doing the upgrade with docker_manager will do this much more smoothly, so that’s what I’d recommend if anyone else has a big forum and issues with bootstrapping.