英文:
Error loading Golang and Lua plugins in Kong
问题
我正在尝试安装一个新的 Kong 实例,但在尝试启动服务时遇到以下错误:
stat /tmp/go-plugins/lua_plugin.so: 没有那个文件或目录
安装应该会安装一个使用 Golang 构建的插件和一个仍然使用 Lua 编写的插件。如果我移除 Lua 插件,服务就可以正常启动。让我困惑的是,为什么 Kong 假设这两个插件都是用 Golang 编写的?其他安装都正常工作,所以现在它为什么会这样做,让人很困惑。
英文:
I'm trying to install a new instance of Kong, but I'm getting the following error trying to start the service:
stat /tmp/go-plugins/lua_plugin.so: no such file or directory
The installation is supposed to install a plugin built using Golang and a plugin that is still written in Lua. If I remove the Lua plugin, the service starts up fine. The part that's confusing me is why is Kong assuming that both plugins are written in Golang? Other installations have worked fine, so it's very confusing why it's doing it now.
答案1
得分: 0
问题是我挂载的目录中包含的lua插件没有正确地挂载到容器中。具体来说,是卷定义的主机路径有问题,修复这个问题解决了该问题。
英文:
The issue was the directory I was mounting in containing the lua plugins was not being mounted into the container properly. Specifically, the host path for the volume definitions, so fixing that resolved the issue.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论