[Bug 289170] www/freenginx: cannot use the Lua module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Aug 2025 19:20:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289170
Bug ID: 289170
Summary: www/freenginx: cannot use the Lua module
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: joneum@FreeBSD.org
Reporter: feld@FreeBSD.org
Flags: maintainer-feedback?(joneum@FreeBSD.org)
Assignee: joneum@FreeBSD.org
When trying to use the Lua module it errors:
2025/08/29 17:55:28 [alert] 84678#443875: failed to load the 'resty.core'
module (https://github.com/openresty/lua-resty-core); ensure you are using an
OpenResty release from https://openresty.org/en/download.html (reason:
/usr/local/share/lua/5.1/resty/core/base.lua:24: ngx_http_lua_module 0.10.28
required) in /usr/local/etc/nginx/nginx.conf:46
the /usr/local/share/lua/5.1/resty/core/base.lua file does require
ngx_http_lua_module 0.10.28:
if subsystem == 'http' then
if not ngx.config
or not ngx.config.ngx_lua_version
or ngx.config.ngx_lua_version ~= 10028
then
error("ngx_http_lua_module 0.10.28 required")
end
elseif subsystem == 'stream' then
if not ngx.config
or not ngx.config.ngx_lua_version
or ngx.config.ngx_lua_version ~= 16
then
error("ngx_stream_lua_module 0.0.16 required")
end
else
error("ngx_http_lua_module 0.10.28 or "
.. "ngx_stream_lua_module 0.0.16 required")
end
The LUA support in this port is only shipping v0.10.27:
LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.27:lua
--
You are receiving this mail because:
You are the assignee for the bug.