This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
custom migrations expect ./?/init.lua
in the path setting
#6867
Labels
You can continue the conversation there. Go to discussion →
./?/init.lua
in the path setting
#6867
If you create a custom plugin in a non standard location and set
lua_package_path = /usr/local/custom/?.lua
, then migrations fail. Since the core file isinit.lua
, and is required askong.plugins.<name>.migrations
.So the migrations expect the
init.lua
to be part of the path;lua_package_path = /usr/local/custom/?.lua;/usr/local/custom/?/init.lua
.The
init.lua
is a common Lua idiom, but should not be required for custom plugins.The text was updated successfully, but these errors were encountered: