db config was using the incorrect template.