title: How to solve the init_by_lua error in kong?
body: <p>I have created a docker-compose file to spin up <strong>Postgres, kong-migration and kong</strong> in a container. All the containers were up and I was able to use kong for the first time. But yesterday onwards, I am getting the below error:</p>
  <blockquote>
  <p>stack traceback:  [C]: in function 'error'
  /usr/local/share/lua/5.1/kong/cmd/utils/migrations.lua:16: in
  function 'check_state'    /usr/local/share/lua/5.1/kong/init.lua:432: in
  function 'init'   init_by_lua:3: in main chunk nginx: [error]
  init_by_lua error:
  /usr/local/share/lua/5.1/kong/cmd/utils/migrations.lua:16: Database
  needs bootstrapping or is older than Kong 1.0.</p>
  <p>To start a new installation from scratch, run 'kong migrations
  bootstrap'.</p>
  <p>To migrate from a version older than 1.0, migrated to Kong 1.5.0
  first.  If you still have 'apis' entities, you can convert them to
  Routes and Services using the 'kong migrations migrate-apis' command
  in Kong 1.5.0.</p>
  </blockquote>