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

Failed to compute diff between source and target schemas, error: failed to parse and preprocess old statements #11535

Open
pkExec opened this issue Apr 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pkExec
Copy link

pkExec commented Apr 5, 2024

Provide the Bytebase version you are using

2.14.1

Describe the bug

I tried using the schema sync in the hosted version, was getting 502 errors.
So I tried the same in self-host version and I got the same error, but this time I could see this in the docker logs:

Failed to compute diff between source and target schemas, error: failed to parse and preprocess old statements

Followed by what appears to be a schema dump of the entire database.

The schema diff is being done between 2 databases on the same instance. Both are PostGIS-enabled databases if that makes any difference.
PostGIS version: 3.4.0

Steps to reproduce

  1. Sync Schema
  2. Select source schema
  3. Select target databases

Expected behavior

Show Schema changes

Provide the database you are using

PostgreSQL 12.16 (Ubuntu 12.16-1.pgdg20.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, 64-bit

Provide the version control system you are using

No response

Additional context

No response

@pkExec pkExec added the bug Something isn't working label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant