Closed nik13 closed 1 year ago
+1 I'm seeing the same issue
This was due to a major change. Can you please run the two commands below first
bootstrap -c schema.json -t bootstrap -c schema.json
This was due to a major change.
Can you please run the two commands below first
bootstrap -c schema.json -t
bootstrap -c schema.json
I was also facing the same issue and tried your solution but it's not working for me.
Hi, I am facing the exact same issue, I keep getting this error despite trying teardown and bootstrapping again.
are you sure you:
bootstrap -c schema.json -t
bootstrap -c schema.json
@toluaina facing the same issue with:
I did this and the problem persists:
bootstrap -c schema.json -t
bootstrap -c schema.json
However, this version works just fine with PostgreSQL 14.5
@toluaina facing the same issue with:
- pgsync 2.5.0
- OpenSearch 1.3
I did this and the problem persists:
- ran
bootstrap -c schema.json -t
- followed by
bootstrap -c schema.json
However, this version works just fine with PostgreSQL 14.5
I try to run: drop materialized view _view;
to drop the materialized view (_view
). And it worked fine.
are you sure you:
- pulled the main branch from GitHub
- ran
bootstrap -c schema.json -t
- followed by
bootstrap -c schema.json
- Can you share more details about the stack trace?
- alternatively are you running under docker?
I'm also having the same error.
PGSync version: 2.5.0
Postgres version: 13
Elasticsearch version: 7.13.4
Redis version: 5.0
Python version: 3.7
I'm running under docker. The error occurred after I changed the name of a column in the database, I updated the schema.json
to reflect the change but the error is still appearing.
I am assuming the error you keep getting is
"RuntimeError: Required materialized view columns not present on _view. Please re-run bootstrap."
Can you try this: psql> DROP MATERIALIZED VIEW _view; bootstrap -c schema.json -t bootstrap -c schema.json
Let me know if this resolves the issue. Seems the teardown is not removing all objects entirely.
@toluaina Dropping the materialized view resolved the issue. Thank you!
Finally fixed in the main branch. Thanks and closing this issue
PGSync version: 2.3.3
Postgres version: 13
Elasticsearch version: 8.4
Redis version: 7.0.5
Python version: 3.10
Problem Description: I was installing the pysync from master branch. Today when I updated my latest version, I cannot run the pgsync as its showing me following error to all my syncs.
Error Message (if any):
It is showing me same error if I try to run bootstrap command. A validation was added in the latest commit. It seems that its not working as expected.
I also tried installing from commit ca76e53 and its working fine.