Difference between dev environment and installing by deb

I write a custom plugin and test it in the kong-vagrant development environment and it works.

Then I want to test it in a real ubuntu environment in which I installed kong by kong.deb. But there is something wrong when I ran kong migrations up.

The error is ‘No LuaRocks module found for kong.dao.migrations.helpers’, because I require the package in my migration files.

What can I do to fix this? And what are the differences between the two environments?


I fix this by adding a helpers.lua file manually to the kong directory in ubuntu.

1 Like