the data directory was initialized by postgresql version 12 code example Example: database files are incompatible with server brew postgresql-upgrade-database