hirosystems / ordinals-api

Bitcoin Ordinals API
Apache License 2.0
199 stars 61 forks source link

Error when running Ordinals-api #375

Open soliman9 opened 1 month ago

soliman9 commented 1 month ago

I've started ordhook and trying to start ordinals-api but it seems that migrations didn't start because I found this error when running npm run start

"err":{"type":"PostgresError","message":"relation \"chain_tip\" does not exist","stack":"PostgresError: relation \"chain_tip\" does not exist

rafaelcr commented 1 month ago

hi @soliman9 is this from a completely fresh start with a new DB? Or did that start happening after some use? can you double check that the API has the correct DB connection settings in the .env file? That could be an error when running migrations

soliman9 commented 1 month ago

@rafaelcr It is from a completely fresh start with a new DB. and yes , the connection settings are correct.