Trouble upgrading PostgreSQL from 9.3 to current

Changing the template should work; it’s how we did all the 9.3->9.5 migrations here at CDCK. Can you expand on “doesn’t work”?