Is there an existing issue for this?
Name of mod
linuxserver/mods:swag-crowdsec
Name of base container
linuxserver/swag
Current Behavior
After a container recreate, package installation for the CrowdSec mod fails with an unresolvable Alpine package conflict between nginx and openresty:
ERROR: unable to select packages:
nginx-1.30.4-r1:
conflicts: openresty-1.31.1.1-r0
openresty-1.31.1.1-r0[cmd:nginx=1.30.4-r1]
satisfies: world[nginx]
nginx-mod-http-brotli-1.30.4-r1[nginx=1.30.4-r1]
...
nginx-mod-http-lua-1.30.4-r1[nginx=1.30.4-r1]
...
openresty-1.31.1.1-r0:
conflicts: nginx-1.30.4-r1[nginx]
nginx-1.30.4-r1[cmd:nginx=1.31.1.1-r0]
breaks: nginx-mod-http-brotli-1.30.4-r1[nginx=1.30.4-r1]
...
nginx-mod-http-lua-1.30.4-r1[nginx=1.30.4-r1]
...
satisfies: world[nginx]
openresty-mod-devel-kit-1.31.1.1-r0[cmd:nginx]
openresty-mod-devel-kit-1.31.1.1-r0[openresty]
openresty-mod-http-lua-1.31.1.1-r0[cmd:nginx]
openresty-mod-http-lua-1.31.1.1-r0[openresty]
Expected Behavior
No response
Steps To Reproduce
Run linuxserver/swag with DOCKER_MODS=linuxserver/mods:swag-crowdsec set (plus required CrowdSec env vars).
Environment
- OS:
- How docker service was installed:
CPU architecture
x86-64
Docker creation
Container logs
**** Configuring CrowdSec nginx Bouncer ****
**** adding libmaxminddb to package install list ****
**** Successfully configured CrowdSec nginx Bouncer ****
[pkg-install-init] **** Installing all mod packages ****
ERROR: unable to select packages:
nginx-1.30.4-r1:
conflicts: openresty-1.31.1.1-r0
openresty-1.31.1.1-r0[cmd:nginx=1.30.4-r1]
satisfies: world[nginx]
nginx-mod-http-brotli-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-dav-ext-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-echo-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-fancyindex-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-geoip2-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-headers-more-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-image-filter-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-lua-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-perl-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-redis2-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-set-misc-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-upload-progress-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-xslt-filter-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-mail-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-rtmp-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-stream-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-stream-geoip2-1.30.4-r1[nginx=1.30.4-r1]
openresty-mod-devel-kit-1.31.1.1-r0[cmd:nginx]
openresty-mod-http-lua-1.31.1.1-r0[cmd:nginx]
openresty-1.31.1.1-r0:
conflicts: nginx-1.30.4-r1[nginx]
nginx-1.30.4-r1[cmd:nginx=1.31.1.1-r0]
breaks: nginx-mod-http-brotli-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-dav-ext-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-echo-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-fancyindex-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-geoip2-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-headers-more-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-image-filter-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-lua-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-perl-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-redis2-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-set-misc-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-upload-progress-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-http-xslt-filter-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-mail-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-rtmp-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-stream-1.30.4-r1[nginx=1.30.4-r1]
nginx-mod-stream-geoip2-1.30.4-r1[nginx=1.30.4-r1]
satisfies: world[nginx]
openresty-mod-devel-kit-1.31.1.1-r0[cmd:nginx]
openresty-mod-devel-kit-1.31.1.1-r0[openresty]
openresty-mod-http-lua-1.31.1.1-r0[cmd:nginx]
openresty-mod-http-lua-1.31.1.1-r0[openresty]
Applying the maxmind mod...
sed: /etc/libmaxminddb.cron.conf: No such file or directory
sed: /etc/libmaxminddb.cron.conf: No such file or directory
Applied the maxmind mod
[custom-init] No custom files found, skipping...
Auto-reload: Watching the following folders for changes to .conf files:
/config/nginx
[ls.io-init] done.
2026/08/16 19:27:27 [emerg] 957#957: unknown directive "lua_package_path" in /etc/nginx/http.d/crowdsec_nginx.conf:1
**** Disabling fail2ban Service ****
2026/08/16 19:27:28 [emerg] 1006#1006: unknown directive "lua_package_path" in /etc/nginx/http.d/crowdsec_nginx.conf:1
2026/08/16 19:27:29 [emerg] 1011#1011: unknown directive "lua_package_path" in /etc/nginx/http.d/crowdsec_nginx.conf:1
2026/08/16 19:27:30 [emerg] 1016#1016: unknown directive "lua_package_path" in /etc/nginx/http.d/crowdsec_nginx.conf:1
Is there an existing issue for this?
Name of mod
linuxserver/mods:swag-crowdsec
Name of base container
linuxserver/swag
Current Behavior
After a container recreate, package installation for the CrowdSec mod fails with an unresolvable Alpine package conflict between nginx and openresty:
Expected Behavior
No response
Steps To Reproduce
Run linuxserver/swag with DOCKER_MODS=linuxserver/mods:swag-crowdsec set (plus required CrowdSec env vars).
Environment
CPU architecture
x86-64
Docker creation
Container logs