# Postgres database 'kong' is missing migration

**URL:** <https://discuss.konghq.com/t/postgres-database-kong-is-missing-migration/1927>\
**Category:** Questions\
**Created:** [September 24, 2018, 5:59am UTC](https://discuss.konghq.com/t/postgres-database-kong-is-missing-migration/1927 "2018-09-24T05:59:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejas3190](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@tejas3190](https://discuss.konghq.com/u/tejas3190)\
**Post date:** [September 24, 2018, 5:59am UTC](https://discuss.konghq.com/t/postgres-database-kong-is-missing-migration/1927/1 "2018-09-24T05:59:55Z")

</div>

root@dn-apim:~# kong start --v  
2018/09/24 05:57:55 [verbose] Kong: 0.14.1  
2018/09/24 05:57:55 [verbose] reading config file at /etc/kong/kong.conf  
2018/09/24 05:57:55 [verbose] prefix in use: /usr/local/kong  
2018/09/24 05:57:55 [verbose] preparing nginx prefix directory at /usr/local/kong  
2018/09/24 05:57:55 [verbose] Admin SSL enabled, no custom certificate set: using default certificate  
2018/09/24 05:57:55 [verbose] admin SSL certificate found at /usr/local/kong/ssl/admin-kong-default.crt  
2018/09/24 05:57:55 [warn] ulimit is currently set to “1024”. For better performance set it to at least “4096” using “ulimit -n”  
2018/09/24 05:57:55 [verbose] could not start Kong, stopping services  
2018/09/24 05:57:55 [verbose] stopped services  
Error:  
/usr/local/share/lua/5.1/kong/cmd/start.lua:71: /usr/local/share/lua/5.1/kong/cmd/start.lua:60: nginx: [warn] [lua] log.lua:63: log(): postgres database ‘kong’ is missing migration: (dn-api) 2018-09-21-001-config\_lookup  
nginx: [error] init\_by\_lua error: /usr/local/share/lua/5.1/kong/init.lua:200: [postgres error] the current database schema does not match this version of Kong. Please run `kong migrations up` to update/initialize the database schema. Be aware that Kong migrations should only run from a single node, and that nodes running migrations concurrently will conflict with each other and might corrupt your database schema!  
stack traceback:  
[C]: in function ‘assert’  
/usr/local/share/lua/5.1/kong/init.lua:200: in function ‘init’  
init\_by\_lua:3: in main chunk

stack traceback:  
[C]: in function ‘error’  
/usr/local/share/lua/5.1/kong/cmd/start.lua:71: in function ‘cmd\_exec’  
/usr/local/share/lua/5.1/kong/cmd/init.lua:87: in function \</usr/local/share/lua/5.1/kong/cmd/init.lua:87\>  
[C]: in function ‘xpcall’  
/usr/local/share/lua/5.1/kong/cmd/init.lua:87: in function \</usr/local/share/lua/5.1/kong/cmd/init.lua:44\>  
/usr/local/bin/kong:7: in function ‘file\_gen’  
init\_worker\_by\_lua:47: in function \<init\_worker\_by\_lua:45\>  
[C]: in function ‘xpcall’  
init\_worker\_by\_lua:54: in function \<init\_worker\_by\_lua:52\>

---

<div class="post-metadata">

**Author:** ![tejas3190](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@tejas3190](https://discuss.konghq.com/u/tejas3190)\
**Post date:** [September 24, 2018, 1:32pm UTC](https://discuss.konghq.com/t/postgres-database-kong-is-missing-migration/1927/2 "2018-09-24T13:32:34Z")

</div>

Found solution here - [https://github.com/Kong/kong/issues/3394](https://github.com/Kong/kong/issues/3394)

---

<div class="post-metadata">

**Author:** ![hbagdi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/hbagdi/32/562_2.png) [@hbagdi](https://discuss.konghq.com/u/hbagdi)\
**Post date:** [September 24, 2018, 3:14pm UTC](https://discuss.konghq.com/t/postgres-database-kong-is-missing-migration/1927/3 "2018-09-24T15:14:53Z")

</div>

Hello @tejas3190 To better help the community, could you mark your post as “Solved” by accepting the link you posted above? Thanks in advance!
