GetPageSpeed / nginx-extras

Submit your NGINX module for build in GetPageSpeed extras RPM repository
https://www.getpagespeed.com/nginx-extras
BSD 2-Clause "Simplified" License
10 stars 5 forks source link

Broken dependecy of `nginx-module-lua` on `lua-resty-core` #18

Closed jbartak closed 1 year ago

jbartak commented 1 year ago

We've upgraded Nginx to 1.24 which automatically invoked update of nginx-module-lua. An update of nginx-module-lua should invoke an update of lua-resty-core which did not happened.

Nginx started throwing:

nginx: [alert] 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/share/lua/5.1/resty/core/base.lua:24: ngx_http_lua_module 0.10.19 or 0.10.20 required) in /etc/nginx/nginx.conf:86 

We've manually upgraded lua-resty-core to 0.1.27.


OS: CentOS Linux 7 (Core)

$ rpm -qa | grep nginx
...
nginx-module-lua-1.20.2.0.10.19.0.3.1-3.el7.gps.x86_64
nginx-1.20.2-22.el7.ngx.x86_64

$ rpm -qa | grep lua
...
nginx-module-lua-1.20.2.0.10.19.0.3.1-3.el7.gps.x86_64
lua-resty-core-0.1.22-3.el7.noarch