Can't run migrations


#1

System:Centos7.2
Kong version:1.0.0rc2
Postgresql:9.6


How can i fix it?:joy::joy::joy:


#2

Hey friend, I hope you are fine, you need to run te following command:
kong migrations bootstrap [-c config] kong start [-c config]

Cya


#3

Thks i solved it!:grin:


#4

Hi,

I am trying to deploy kong in a docker container, but I run in the same issue after following step 3 of the installation guide. Here is the image of my terminal:

System: Debian 9
Kong: 1.0.0
PostgreSQL: 9.6


#5

The install guide is currently out of date for 1.0.0, please execute the following to bootstrap the database and then start the Kong container:

docker run --rm \
     --network=kong-net \
     -e "KONG_DATABASE=postgres" \
     -e "KONG_PG_HOST=kong-database" \
     kong:latest kong migrations bootstrap

#6

Thank you for your quick reply! It worked now.
Have a nice day!