Is there an existing issue for this?
Current Behavior
Will not complete startup. Throws Lua errors.
Expected Behavior
Completes startup.
Steps To Reproduce
Install with crowdsec mod. Try to start container.
Environment
- OS:Unraid 6.12.15
- How docker service was installed:CA Template
CPU architecture
x86-64
Docker creation
docker run
-d
--name='swag'
--net='docker'
--pids-limit 2048
-e TZ="America/New_York"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="HOST"
-e HOST_CONTAINERNAME="swag"
-e 'URL'='myurl.com'
-e 'VALIDATION'='dns'
-e 'SUBDOMAINS'='wildcard'
-e 'CERTPROVIDER'='zerossl'
-e 'DNSPLUGIN'='cloudflare'
-e 'PROPAGATION'='60'
-e 'EMAIL'=''
-e 'ONLY_SUBDOMAINS'='false'
-e 'EXTRA_DOMAINS'=''
-e 'STAGING'='false'
-e 'TZ'='America/New_York'
-e 'CROWDSEC_API_KEY'=''
-e 'CROWDSEC_LAPI_URL'='http://192.168.100.88:8083'
-e 'CROWDSEC_F2B_DISABLE'='true'
-e 'DOCKER_MODS'='linuxserver/mods:swag-dashboard | linuxserver/mods:swag-crowdsec | linuxserver/mods:swag-dbip'
-e 'PUID'='99'
-e 'PGID'='100'
-e 'UMASK'='022'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver-ls-logo.png'
-p '443:443/tcp'
-p '8009:81/tcp'
-p '80:80/tcp'
-v '/mnt/docker_vm/appdata/swag':'/config':'rw'
--cap-add=NET_ADMIN
--no-healthcheck
--log-opt max-size=50m
--log-opt max-file=3 'lscr.io/linuxserver/swag'
Container logs
[mod-init] Running Docker Modification Logic
[mod-init] Adding linuxserver/mods:swag-dashboard to container
[mod-init] Downloading linuxserver/mods:swag-dashboard from lscr.io
[mod-init] Installing linuxserver/mods:swag-dashboard
[mod-init] linuxserver/mods:swag-dashboard applied to container
[mod-init] Adding linuxserver/mods:swag-crowdsec to container
[mod-init] Downloading linuxserver/mods:swag-crowdsec from lscr.io
[mod-init] Installing linuxserver/mods:swag-crowdsec
[mod-init] linuxserver/mods:swag-crowdsec applied to container
[mod-init] Adding linuxserver/mods:swag-dbip to container
[mod-init] Downloading linuxserver/mods:swag-dbip from lscr.io
[mod-init] Installing linuxserver/mods:swag-dbip
[mod-init] linuxserver/mods:swag-dbip applied to container
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-swag-old-certbot-paths: skipped
[migrations] done
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support the app dev(s) visit:
Certbot: https://supporters.eff.org/donate/support-work-on-certbot
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 99
User GID: 100
───────────────────────────────────────
Linuxserver.io version: 3.3.0-ls370
Build-date: 2025-03-15T03:31:31+00:00
───────────────────────────────────────
using keys found in /config/keys
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│ old date │ new date │ path │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
│ 2023-04-13 │ 2024-12-17 │ /config/nginx/nginx.conf │
│ 2023-08-13 │ 2024-12-06 │ /config/nginx/ssl.conf │
│ 2024-07-16 │ 2024-12-17 │ /config/nginx/site-confs/default.conf │
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
**** The following site-confs have extensions other than .conf ****
**** This may be due to user customization. ****
**** You should review the files and rename them to use the .conf extension or remove them. ****
**** nginx.conf will only include site-confs with the .conf extension. ****
/config/nginx/site-confs/default.conf~
/config/nginx/site-confs/.default.conf.un~
Variables set:
PUID=99
PGID=100
TZ=America/New_York
URL=
SUBDOMAINS=wildcard
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=dns
CERTPROVIDER=zerossl
DNSPLUGIN=cloudflare
EMAIL=
STAGING=false
ZeroSSL is selected as the cert provider, registering cert with
SUBDOMAINS entered, processing
Wildcard cert for will be requested
E-mail address entered:
dns validation via cloudflare plugin is selected
Certificate exists; parameters unchanged; starting nginx
The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).
Applying the dbip mod...
**** Applying the SWAG dashboard mod... ****
**** Configuring CrowdSec nginx Bouncer ****
Applied the dbip mod
**** Adding goaccess to package install list ****
**** libmaxminddb already installed, skipping ****
**** The swag-dashboard conf has been updated ****
**** Compare the changes using the sample file: /config/nginx/proxy-confs/dashboard.subdomain.conf.sample
**** Applied the SWAG dashboard mod ****
**** Successfully configured CrowdSec nginx Bouncer ****
[pkg-install-init] **** Installing all mod packages ****
fetch http://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
(1/17) Installing gettext-envsubst (0.22.5-r0)
(2/17) Installing libgomp (14.2.0-r4)
(3/17) Installing gettext-libs (0.22.5-r0)
(4/17) Installing gettext (0.22.5-r0)
(5/17) Installing goaccess (1.9.3-r0)
(6/17) Installing lua5.1-libs (5.1.5-r13)
(7/17) Installing lua5.1 (5.1.5-r13)
(8/17) Installing lua-resty-http (0.17.2-r0)
(9/17) Installing luajit (2.1_p20240815-r0)
(10/17) Installing lua-resty-lrucache (0.13-r1)
(11/17) Installing lua-resty-core (0.1.29-r0)
(12/17) Installing nginx-mod-http-lua (1.26.3-r0)
(13/17) Installing lua-resty-string (0.15-r0)
(14/17) Installing lua-sec (1.3.2-r0)
(15/17) Installing lua5.1-socket (3.1.0-r1)
(16/17) Installing lua5.1-sec (1.3.2-r0)
(17/17) Installing lua5.1-cjson (2.1.0-r11)
Executing busybox-1.37.0-r12.trigger
OK: 189 MiB in 239 packages
[custom-init] No custom files found, skipping...
[ls.io-init] done.
2025/03/16 23:42:05 [emerg] 968#968: module "/var/lib/nginx/modules/ngx_http_lua_module.so" version 1026003 instead of 1026002 in /etc/nginx/modules/30_http_lua.conf:1
Server ready
2025/03/16 23:42:06 [emerg] 1048#1048: module "/var/lib/nginx/modules/ngx_http_lua_module.so" version 1026003 instead of 1026002 in /etc/nginx/modules/30_http_lua.conf:1
2025/03/16 23:42:07 [emerg] 1057#1057: module "/var/lib/nginx/modules/ngx_http_lua_module.so" version 1026003 instead of 1026002 in /etc/nginx/modules/30_http_lua.conf:1
2025/03/16 23:42:08 [emerg] 1066#1066: module "/var/lib/nginx/modules/ngx_http_lua_module.so" version 1026003 instead of 1026002 in /etc/nginx/modules/30_http_lua.conf:1
2025/03/16 23:42:09 [emerg] 1075#1075: module "/var/lib/nginx/modules/ngx_http_lua_module.so" version 1026003 instead of 1026002 in /etc/nginx/modules/30_http_lua.conf:1
2025/03/16 23:42:10 [emerg] 1084#1084: module "/var/lib/nginx/modules/ngx_http_lua_module.so" version 1026003 instead of 1026002 in /etc/nginx/modules/30_http_lua.conf:1
Is there an existing issue for this?
Current Behavior
Will not complete startup. Throws Lua errors.
Expected Behavior
Completes startup.
Steps To Reproduce
Install with crowdsec mod. Try to start container.
Environment
CPU architecture
x86-64
Docker creation
Container logs