Postgres Error when installing from scratch

I am trying to install the latest version 21.2.0 on a VM.
I am getting the following error on postgres logs

postgres_1                                  | PostgreSQL init process complete; ready for start up.
postgres_1                                  | 
postgres_1                                  | LOG:  could not create IPv6 socket: Address family not supported by protocol
postgres_1                                  | LOG:  database system was shut down at 2021-03-02 23:44:51 UTC
postgres_1                                  | LOG:  MultiXact member wraparound protections are now enabled
postgres_1                                  | LOG:  database system is ready to accept connections
postgres_1                                  | LOG:  autovacuum launcher started
postgres_1                                  | ERROR:  relation "sentry_option" does not exist at character 114
postgres_1                                  | STATEMENT:  SELECT "sentry_option"."id", "sentry_option"."key", "sentry_option"."value", "sentry_option"."last_updated" FROM "sentry_option" WHERE "sentry_option"."key" = 'system.url-prefix'
postgres_1                                  | ERROR:  relation "sentry_option" does not exist at character 114
postgres_1                                  | STATEMENT:  SELECT "sentry_option"."id", "sentry_option"."key", "sentry_option"."value", "sentry_option"."last_updated" FROM "sentry_option" WHERE "sentry_option"."key" = 'github.apps-install-url'
postgres_1                                  | ERROR:  relation "sentry_option" does not exist at character 114
postgres_1                                  | STATEMENT:  SELECT "sentry_option"."id", "sentry_option"."key", "sentry_option"."value", "sentry_option"."last_updated" FROM "sentry_option" WHERE "sentry_option"."key" = 'system.url-prefix'
postgres_1                                  | ERROR:  relation "sentry_option" does not exist at character 114
postgres_1                                  | STATEMENT:  SELECT "sentry_option"."id", "sentry_option"."key", "sentry_option"."value", "sentry_option"."last_updated" FROM "sentry_option" WHERE "sentry_option"."key" = 'system.url-prefix'
postgres_1                                  | ERROR:  relation "sentry_option" does not exist at character 114
postgres_1                                  | STATEMENT:  SELECT "sentry_option"."id", "sentry_option"."key", "sentry_option"."value", "sentry_option"."last_updated" FROM "sentry_option" WHERE "sentry_option"."key" = 'vercel.integration-slug'
postgres_1                                  | ERROR:  relation "sentry_option" does not exist at character 114
postgres_1                                  | STATEMENT:  SELECT "sentry_option"."id", "sentry_option"."key", "sentry_option"."value", "sentry_option"."last_updated" FROM "sentry_option" WHERE "sentry_option"."key" = 'system.url-prefix'
postgres_1                                  | ERROR:  relation "sentry_option" does not exist at character 114
postgres_1                                  | STATEMENT:  SELECT "sentry_option"."id", "sentry_option"."key", "sentry_option"."value", "sentry_option"."last_updated" FROM "sentry_option" WHERE "sentry_option"."key" = 'msteams.app-id'
postgres_1                                  | ERROR:  relation "sentry_projectkey" does not exist at character 371
postgres_1                                  | STATEMENT:  SELECT "sentry_projectkey"."id", "sentry_projectkey"."project_id", "sentry_projectkey"."label", "sentry_projectkey"."public_key", "sentry_projectkey"."secret_key", "sentry_projectkey"."roles", "sentry_projectkey"."status", "sentry_projectkey"."date_added", "sentry_projectkey"."rate_limit_count", "sentry_projectkey"."rate_limit_window", "sentry_projectkey"."data" FROM "sentry_projectkey" WHERE ("sentry_projectkey"."project_id" = 1 AND "sentry_projectkey"."roles" = (("sentry_projectkey"."roles" | 1)) AND "sentry_projectkey"."status" = 0) ORDER BY "sentry_projectkey"."id" ASC LIMIT 1
postgres_1                                  | ERROR:  relation "south_migrationhistory" does not exist at character 15
postgres_1                                  | STATEMENT:  SELECT 1 FROM south_migrationhistory LIMIT 1
postgres_1                                  | LOG:  received fast shutdown request
postgres_1                                  | LOG:  aborting any active transactions
postgres_1                                  | LOG:  autovacuum launcher shutting down
postgres_1                                  | LOG:  shutting down
postgres_1                                  | LOG:  database system is shut down
postgres_1                                  | 
postgres_1                                  | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1                                  | 
postgres_1                                  | LOG:  could not create IPv6 socket: Address family not supported by protocol
postgres_1                                  | LOG:  database system was shut down at 2021-03-02 23:47:13 UTC
postgres_1                                  | LOG:  MultiXact member wraparound protections are now enabled
postgres_1                                  | LOG:  database system is ready to accept connections
postgres_1                                  | LOG:  autovacuum launcher started

Can someone please tell me what is going on or what is missing ?

Kind regards

We’d need the full install logs to be able to diagnose.