Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new database extension fails #8694

Open
BOHEUS opened this issue Nov 22, 2024 · 0 comments
Open

Adding new database extension fails #8694

BOHEUS opened this issue Nov 22, 2024 · 0 comments

Comments

@BOHEUS
Copy link
Contributor

BOHEUS commented Nov 22, 2024

When running npx nx database:reset twenty-server, there are errors in logs about failed creation of extensions

> ts-node ./scripts/setup-db.ts

query failed: CREATE EXTENSION IF NOT EXISTS "vector"
error: error: extension "vector" is not available
Failed to perform 'create extension "vector (pgvector)"': QueryFailedError: extension "vector" is not available
Performed 'create schema "public"' successfully
Performed 'create schema "metadata"' successfully
Performed 'create schema "core"' successfully
Performed 'create extension "uuid-ossp"' successfully
Performed 'create extension "postgres_fdw"' successfully
Performed 'create extension "wrappers"' successfully
Performed 'create extension "mysql_fdw"' successfully
query failed:
          CREATE FOREIGN DATA WRAPPER "airtable_fdw"
          HANDLER "airtable_fdw_handler"
          VALIDATOR "airtable_fdw_validator";

error: error: foreign-data wrapper "airtable_fdw" already exists
Performed 'create airtable "wrappers"' successfully
query failed:
          CREATE FOREIGN DATA WRAPPER "bigquery_fdw"
          HANDLER "big_query_fdw_handler"
          VALIDATOR "big_query_fdw_validator";

error: error: foreign-data wrapper "bigquery_fdw" already exists
Performed 'create bigQuery "wrappers"' successfully
query failed:
          CREATE FOREIGN DATA WRAPPER "clickhouse_fdw"
          HANDLER "click_house_fdw_handler"
          VALIDATOR "click_house_fdw_validator";

error: error: foreign-data wrapper "clickhouse_fdw" already exists
Performed 'create clickHouse "wrappers"' successfully
query failed:
          CREATE FOREIGN DATA WRAPPER "firebase_fdw"
          HANDLER "firebase_fdw_handler"
          VALIDATOR "firebase_fdw_validator";

error: error: foreign-data wrapper "firebase_fdw" already exists
Performed 'create firebase "wrappers"' successfully
query failed:
          CREATE FOREIGN DATA WRAPPER "logflare_fdw"
          HANDLER "logflare_fdw_handler"
          VALIDATOR "logflare_fdw_validator";

error: error: foreign-data wrapper "logflare_fdw" already exists
Performed 'create logflare "wrappers"' successfully
query failed:
          CREATE FOREIGN DATA WRAPPER "s3_fdw"
          HANDLER "s3_fdw_handler"
          VALIDATOR "s3_fdw_validator";

error: error: foreign-data wrapper "s3_fdw" already exists
Performed 'create s3 "wrappers"' successfully
query failed:
          CREATE FOREIGN DATA WRAPPER "stripe_fdw"
          HANDLER "stripe_fdw_handler"
          VALIDATOR "stripe_fdw_validator";

error: error: foreign-data wrapper "stripe_fdw" already exists
Performed 'create stripe "wrappers"' successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant