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] Mod Incompatibility swag-geoip2influx and swag-f2bdiscord #962

Closed
1 task done
SAS-1 opened this issue Oct 3, 2024 · 1 comment
Closed
1 task done

[BUG] Mod Incompatibility swag-geoip2influx and swag-f2bdiscord #962

SAS-1 opened this issue Oct 3, 2024 · 1 comment

Comments

@SAS-1
Copy link

SAS-1 commented Oct 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Name of mod

swag-f2bdiscord and swag-geoip2influx

Name of base container

SWAG

Current Behavior

If you have both these mods enabled they conflict with each other causing the container to not start properly.
This is because the swag-geoip2influx is using geoip2==4.8.0 and swag-f2bdiscord geoip2==3.0.0

this is causing a version mismatch

Expected Behavior

the container starts as both versions are the same

Steps To Reproduce

spin up a SWAG container and apply the 2 mods

Environment

- OS:
- How docker service was installed:

CPU architecture

arm64

Docker creation

- STAGING=false #optional
      - MAXMINDDB_LICENSE_KEY=PRIVATE
      - MAXMINDDB_USER_ID=PRIVATE
      - DOCKER_MODS=linuxserver/mods:swag-imagemagick|linuxserver/mods:swag-maxmind|linuxserver/mods:swag-geoip2influx|linuxserver/mods:swag-auto-reload|linuxserver/mods:swag-cloudflare-real-ip|linuxserver/mods:swag-f2bdiscord|linuxserver/mods:swag-dashboard
      - NGINX_LOG_PATH=/config/log/nginx/all.log 
      - USE_INFLUXDB_V2=true
      - INFLUXDB_V2_TOKEN=PRIVATE 
      - INFLUXDB_V2_URL=PRIVATE
      - INFLUXDB_V2_ORG=PRIVATE
      - INFLUXDB_V2_BUCKET=geoip2influx
      - GEO_MEASUREMENT=geoip2influx  # InfluxDB measurement name for geohashes
      - LOG_MEASUREMENT=nginx_access_logs  # InfluxDB measurement name for nginx logs
      - SEND_NGINX_LOGS=true 
      - GEOIP2INFLUX_LOG_LEVEL=INFO  # Set to debug for debugging..

Container logs

Traceback (most recent call last):
  File "/geoip2influx/run.py", line 6, in <module>
    from geoip2influx import LogParser, configure_logging
  File "/geoip2influx/geoip2influx/__init__.py", line 2, in <module>
    from .logparser import LogParser
  File "/geoip2influx/geoip2influx/logparser.py", line 11, in <module>
    from geoip2.database import Reader
ModuleNotFoundError: No module named 'geoip2'
@Roxedus Roxedus mentioned this issue Oct 10, 2024
1 task
@Roxedus
Copy link
Member

Roxedus commented Oct 10, 2024

#965

@Roxedus Roxedus closed this as completed Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants