Can't start indexer
zhangpeizheng123 opened this issue · comments
When I start the indexer,I got this error:
{"error":"openPostgres() err: getMigrationState() get state err: GetMetastate() err: ERROR: relation "metastate" does not exist (SQLSTATE 42P01)","level":"error","msg":"could not init db, openPostgres() err: getMigrationState() get state err: GetMetastate() err: ERROR: relation "metastate" does not exist (SQLSTATE 42P01)","time":"2023-01-10T17:46:47+08:00"}
I don't know what's wrong with the indexer or my postgres db is not installed correctly, any suggestions would be appreciated!
could you please provide the cmd you used to start the indexer? Did you try to start the indexer in read-only mode with an empty Postgres db?
Thanks, problems are solved!
@zhangpeizheng123 I'm having the same problem, how did you solve it?