Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] <title>swag-crowdsec docker mod is broken now #1019

Open
1 task done
vw-kombi opened this issue Mar 18, 2025 · 5 comments
Open
1 task done

[BUG] <title>swag-crowdsec docker mod is broken now #1019

vw-kombi opened this issue Mar 18, 2025 · 5 comments

Comments

@vw-kombi
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Name of mod

Error thrown on startup of swag is this repeated over and over- removing the docker mod and the issue is gone.

2025/03/18 07:47:34 [alert] 3024#3024: 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/common/resty/core/base.lua:24: ngx_http_lua_module 0.10.27 required) in /config/nginx/nginx.conf:172

Name of base container

SWAG

Current Behavior

container does not work - starts but throws the above error -

2025/03/18 07:47:34 [alert] 3024#3024: 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/common/resty/core/base.lua:24: ngx_http_lua_module 0.10.27 required) in /config/nginx/nginx.conf:172

Expected Behavior

Normally starts fine

Steps To Reproduce

Updated the container today, it did a restart.
Got the error as shown.
no other changes made.

Environment

- OS: Unraid
- How docker service was installed: Unraid apps

CPU architecture

x86-64

Docker creation

N/A

Container logs

As above
@Crash1602
Copy link

Crash1602 commented Mar 18, 2025

This is about the same problem:
https://github.com/linuxserver/docker-swag/issues/552

I have test this temp fix, but it´s dosn´t work. Same errors again (with ls370 and ls371).

linuxserver/mods:swag-crowdsec-v1.0.8

@vw-kombi
Copy link
Author

vw-kombi commented Mar 18, 2025

I spun up the unraid NPM container with crowdsec and ported my config as a backup. crowdsec seems to work in that.

@Draky50110
Copy link

I confirm fix with 1.0.8 does not work.

@Crash1602
Copy link

Why doesn't downgrading from the container to, for example, ls369 work? Are the affected parts downloaded when the container is started? That means not all of the files are available directly in the container.

@Crash1602
Copy link

Crash1602 commented Mar 18, 2025

https://github.com/linuxserver/docker-swag/issues/552#issuecomment-2734297510

"lua-resty-core has been updated by the Alpine packagers so the mod should now be working again."

Now my Swag runs with crowdsec mod without problems :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

3 participants