apisix
apisix copied to clipboard
help request: config.yaml configuration not work
Description
我原先使用的是2.13.2版本 升到2.15.0 后在config.yaml中配置,apisix的部分没有效果,必须在config-default.yaml中进行配置
比如
启动后发现压根无效
在报错的路径中压根找不到/home/apisix/plugins/ 目录
而且我配置了control
在lua中使用
它报错为nil
由此可见我的config.yaml文件中有关apisix的配置失效了 但是我的另一台升完级后 这样配置是正常的
为什么!!!
Environment
- APISIX version (2.15.0):
Can you describe the steps to reproduce in detail? It seems that your custom plugin does not exist.
由此可见我的config.yaml文件中有关apisix的配置失效了 但是我的另一台升完级后 这样配置是正常的
You can look for the differences between the two server configurations. If I understand correctly, since it is normal for the other server to do the same operation, the problem may be the difference between the two.
我自定义了一个info-report插件,文件放在/tmp/apisix/plugins/目录下
对config.yaml进行配置
启动出现错误
但是如果配置到config-default文件中就成功启动,不知道为什么
try with
apisix:
extra_lua_path: "/tmp/apisix/plugins/?.lua"
in config.yaml
You can locate the problem by searching the path.
@yuqiquan any updates?
Due to lack of the reporter's response this issue has been labeled with "no response". It will be close in 3 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.