Skip to content

could not open extension control zhparser.control #1

@luquitared

Description

@luquitared

Hi. Cool project. Great work so far!

I am trying to get the app to run locally.

I've run "supabase start" in the root after running "supabase init". Works fine.

After, I do a migration to seed the DB:
npx prisma migrate dev --name init

I receive this error:

Error: P3006

Migration `20210429025219_init` failed to apply cleanly to the shadow database.
Error:
Database error
Error querying the database: db error: ERROR: could not open extension control file "/usr/share/postgresql/12/extension/zhparser.control": No such file or directory
   0: sql_migration_connector::flavour::postgres::sql_schema_from_migration_history
             at migration-engine/connectors/sql-migration-connector/src/flavour/postgres.rs:375
   1: sql_migration_connector::validate_migrations
             at migration-engine/connectors/sql-migration-connector/src/lib.rs:323
   2: migration_core::api::DevDiagnostic
             at migration-engine/core/src/api.rs:89

I am also running "docker-compose up" in a different terminal. Seems there is something wrong there as well as I get:

keeplink    | Error: P1001: Can't reach database server at `localhost`:`5432`
keeplink    |
keeplink    | Please make sure your database server is running at `localhost`:`5432`.

I have a feeling I am not running the docker stuff correctly for local development. Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions