Deployment New Project to Staging with existing project: database connection error

@jasperfrumau I haven’t looked into the specifics of what might be producing the database error.

I’m not too surprised that two separate Trellis projects with configurations for different sites might have trouble running on the same server. I think you’ll have more luck with “one-to-one” or “one-to-many” in terms of Trellis projects to servers (vs. “many-to-one”). So, instead of this:

# Multiple Trellis projects, one server
site.nl/
    site/
    trellis/
site.com/
    site/
    trellis/

I think you’ll have more luck with this:

# One Trellis, one or more servers
my-sites/
    site.com/
    site.nl/
    trellis/

See these links for related notes on implementation.

Edit. I couldn’t tell whether you reran server.yml with the second site’s info before running deploy.yml, but you should.