Well, I got the error again with a clean build. My config file is at this gist.
Looks like it might be a bug, though I’m a novice at multisite.
I get a bunch of errors like this:
Failed to initialize site discourse_instance2
2017-05-10 21:17:15 UTC [20343-1] discourse@discourse_trena ERROR: relation "site_settings" does not exist at character 36
2017-05-10 21:17:15 UTC [20343-2] discourse@discourse_trena STATEMENT: SELECT name, data_type, value FROM site_settings
URGENT: ERROR: relation "site_settings" does not exist
LINE 1: SELECT name, data_type, value FROM site_settings
^
```