kong-plugin-url-rewrite icon indicating copy to clipboard operation
kong-plugin-url-rewrite copied to clipboard

Plugin Installation

Open ritika1003 opened this issue 3 years ago • 0 comments

Issue Description

Kong Version: 2.8.1 Kong is running as a docker container and I want to install the kong-plugin-url-rewrite. I have installed lua and the plugin using the command sudo luarocks install kong-plugin-url-rewrite and then added the name of the plugin in kong.conf, enabled the plugin using the curl command and restarted the kong container. But the container never restarts properly and keeps on enetering the restart state. I get the following error message:

stack traceback: [C]: in function 'assert' /usr/local/share/lua/5.1/kong/init.lua:543: in function 'init' init_by_lua:3: in main chunk nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:543: error loading plugin schemas: on plugin 'kong-plugin-url-rewrite': kong-plugin-url-rewrite plugin is enabled but not installed; no plugin found stack traceback: [C]: in function 'assert' /usr/local/share/lua/5.1/kong/init.lua:543: in function 'init' init_by_lua:3: in main chunk

Expected Behavior

The container should be started properly and plugin should be working as expected.

Could anyone please help me with the installation.

ritika1003 avatar Aug 30 '22 14:08 ritika1003