# kong 0.13 plugin not loaded

**URL:** <https://discuss.konghq.com/t/kong-0-13-plugin-not-loaded/1247>\
**Category:** Questions\
**Created:** [June 11, 2018, 6:54am UTC](https://discuss.konghq.com/t/kong-0-13-plugin-not-loaded/1247 "2018-06-11T06:54:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![videni](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/videni/32/374_2.png) [@videni](https://discuss.konghq.com/u/videni)\
**Post date:** [June 11, 2018, 6:54am UTC](https://discuss.konghq.com/t/kong-0-13-plugin-not-loaded/1247/1 "2018-06-11T06:54:29Z")

</div>

I try to install [kong-influxdb](https://github.com/videni/kong-influxdb) as following steps

luarocks install

luarocks list | grep influxdb

> kong-influxdb

I can see kong-influxdb is installed to luarocks tree.

vim /etc/kong/kong.conf

```auto
custom_plugins = kong-influxdb
log_level = debug  

```

kong reload -vvv

> ‘kong.plugins.kong-influxdb.handler’ not found:No LuaRocks module found for kong.plugins.kong-influxdb.handler  
> kong\_1 | no field package.preload[‘kong.plugins.kong-influxdb.handler’]  
> kong\_1 | no file ‘./kong/plugins/kong-influxdb/handler.lua’  
> kong\_1 | no file ‘./kong/plugins/kong-influxdb/handler/init.lua’  
> kong\_1 | no file ‘/usr/local/openresty/site/lualib/kong/plugins/kong-influxdb/handler.ljbc’  
> kong\_1 | no file ‘/usr/local/openresty/site/lualib/kong/plugins/kong-influxdb/handler/init.ljbc’  
> kong\_1 | no file ‘/usr/local/openresty/lualib/kong/plugins/kong-influxdb/handler.ljbc’  
> kong\_1 | no file ‘/usr/local/openresty/lualib/kong/plugins/kong-influxdb/handler/init.ljbc’  
> kong\_1 | no file ‘/usr/local/openresty/site/lualib/kong/plugins/kong-influxdb/handler.lua’  
> kong\_1 | no file ‘/usr/local/openresty/site/lualib/kong/plugins/kong-influxdb/handler/init.lua’  
> kong\_1 | no file ‘/usr/local/openresty/lualib/kong/plugins/kong-influxdb/handler.lua’  
> kong\_1 | no file ‘/usr/local/openresty/lualib/kong/plugins/kong-influxdb/handler/init.lua’  
> kong\_1 | no file ‘/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/kong/plugins/kong-influxdb/handler.lua’  
> kong\_1 | no file ‘/usr/local/share/lua/5.1/kong/plugins/kong-influxdb/handler.lua’  
> kong\_1 | no file ‘/usr/local/share/lua/5.1/kong/plugins/kong-influxdb/handler/init.lua’  
> kong\_1 | no file ‘/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/kong-influxdb/handler.lua’  
> kong\_1 | no file ‘/usr/local/openresty/luajit/share/lua/5.1/kong/plugins/kong-influxdb/handler/init.lua’  
> kong\_1 | no file ‘/root/.luarocks/share/lua/5.1/kong/plugins/kong-influxdb/handler.lua’  
> kong\_1 | no file ‘/root/.luarocks/share/lua/5.1/kong/plugins/kong-influxdb/handler/init.lua’  
> kong\_1 | no file ‘/usr/local/openresty/site/lualib/kong/plugins/kong-influxdb/handler.so’  
> kong\_1 | no file ‘/usr/local/openresty/lualib/kong/plugins/kong-influxdb/handler.so’  
> kong\_1 | no file ‘./kong/plugins/kong-influxdb/handler.so’  
> kong\_1 | no file ‘/usr/local/lib/lua/5.1/kong/plugins/kong-influxdb/handler.so’  
> kong\_1 | no file ‘/usr/local/openresty/luajit/lib/lua/5.1/kong/plugins/kong-influxdb/handler.so’  
> kong\_1 | no file ‘/usr/local/lib/lua/5.1/loadall.so’  
> kong\_1 | no file ‘/root/.luarocks/lib/lua/5.1/kong/plugins/kong-influxdb/handler.so’  
> kong\_1 | no file ‘/usr/local/openresty/site/lualib/kong.so’  
> kong\_1 | no file ‘/usr/local/openresty/lualib/kong.so’  
> kong\_1 | no file ‘./kong.so’  
> kong\_1 | no file ‘/usr/local/lib/lua/5.1/kong.so’  
> kong\_1 | no file ‘/usr/local/openresty/luajit/lib/lua/5.1/kong.so’  
> kong\_1 | no file ‘/usr/local/lib/lua/5.1/loadall.so’  
> kong\_1 | no file ‘/root/.luarocks/lib/lua/5.1/kong.so’

---

<div class="post-metadata">

**Author:** ![thibaultcha](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/thibaultcha/32/340_2.png) [@thibaultcha](https://discuss.konghq.com/u/thibaultcha)\
**Post date:** [June 11, 2018, 7:01am UTC](https://discuss.konghq.com/t/kong-0-13-plugin-not-loaded/1247/2 "2018-06-11T07:01:52Z")

</div>

@videni

> I can see kong-influxdb is installed to luarocks tree.

Where exactly? Do you mind sharing more details? Where are you deploying Kong? In the host machine? In a containerized environment?

---

<div class="post-metadata">

**Author:** ![videni](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/videni/32/374_2.png) [@videni](https://discuss.konghq.com/u/videni)\
**Post date:** [June 11, 2018, 7:10am UTC](https://discuss.konghq.com/t/kong-0-13-plugin-not-loaded/1247/3 "2018-06-11T07:10:55Z")

</div>

thanks, I figure it out now, when it is enabled in kong configuration , it should be `custom_plugins = influxdb` instead of `custom_plugins = kong-influxdb`

---

<div class="post-metadata">

**Author:** ![thibaultcha](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/thibaultcha/32/340_2.png) [@thibaultcha](https://discuss.konghq.com/u/thibaultcha)\
**Post date:** [June 11, 2018, 7:11am UTC](https://discuss.konghq.com/t/kong-0-13-plugin-not-loaded/1247/4 "2018-06-11T07:11:49Z")

</div>

@videni Great, glad you figured it out!
