Skip to content

libnginx-mod-http-lua 1.30.4-1+clp-noble installs but contains no module #795

Description

@roybj

Summary

The package libnginx-mod-http-lua (version 1.30.4-1+clp-noble) published in the CloudPanel apt repository installs successfully but contains no files. It ships no .so, no modules-available configuration, and nothing is added to /etc/nginx/modules-enabled/. The Lua module is therefore unavailable even though the package reports as installed.

Its dependency libnginx-mod-http-ndk at the same version is packaged correctly, so this appears to affect only the Lua module.

Environment

  • CloudPanel 2.5.4-3+clp-noble
  • Ubuntu 24.04.4 LTS (noble)
  • nginx 1.30.4-1+clp-noble (nginx-full)
  • Repo: https://d17k9fuiwb52nc.cloudfront.net noble/nginx

Steps to reproduce

apt-get install libnginx-mod-http-lua
dpkg -L libnginx-mod-http-lua

Expected

The package installs ngx_http_lua_module.so under /usr/lib/nginx/modules/ and a
mod-http-lua.conf under /usr/share/nginx/modules-available/, symlinked into
/etc/nginx/modules-enabled/, matching the pattern used by the other module packages.

Actual

$ dpkg -L libnginx-mod-http-lua
/.
/usr
/usr/share

$ dpkg -s libnginx-mod-http-lua
Package: libnginx-mod-http-lua
Status: install ok installed
Version: 1.30.4-1+clp-noble
Installed-Size: 16
Description: Lua module for Nginx

$ find / -name "*lua*.so" -path "*nginx*"
(no results)

$ nginx -T | grep -c "load_module.*lua"
0

For comparison, the NDK dependency installs correctly:

$ dpkg -L libnginx-mod-http-ndk
/usr/lib/nginx/modules/ndk_http_module.so
/usr/share/nginx/modules-available/mod-http-ndk.conf

After installing both, /etc/nginx/modules-enabled/ gains only 10-mod-http-ndk.conf.

apt-get install -s does not reveal the problem, since dependency resolution succeeds
normally — the package only turns out to be empty after installation.

Impact

Any nginx module or tooling that depends on ngx_http_lua_module cannot be used on CloudPanel.

Neither available alternative works:

  • Ubuntu noble's libnginx-mod-http-lua 1:0.10.26-2 is built against noble's nginx 1.24.0 and
    is not binary compatible with nginx 1.30.4.
  • nginx-extras 1.30.4-1+clp-noble does not include the Lua module — its dependency list
    covers 14 libnginx-mod-* packages, none of which is Lua.

The CloudPanel repository does ship several lua-nginx-* and lua-resty-* libraries
(lua-resty-core, lua-resty-lrucache, lua-nginx-redis, and others). These are pure-Lua
libraries that run inside ngx_http_lua_module and cannot be used without it, which suggests
the Lua module is intended to be available.

Suggested fix

Rebuild and republish libnginx-mod-http-lua so it ships ngx_http_lua_module.so and its
modules-available configuration, as libnginx-mod-http-ndk already does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions