Ash Framework (PragProg)

Getting this error trying to setup the repo:

** (Mix) The database for Tunez.Repo couldn’t be created: ERROR XX000 (internal_error) template database “template1” has a collation version mismatch

hint: Rebuild all objects in the template database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.

The template database was created using collation version 2.38, but the operating system provides version 2.40.

What is the command to rebuild the objects in the template database? And what lib or application is being referred to as version 2.38 vs 2.40?

===========
Nevermind. Solved by following instructions here.

1 Like