Skip to content

[BUG] Please set DNSPLUGIN variable to one of the following: #480

@ewenlau

Description

@ewenlau

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When attempting to switch from HTTP to DNS validation, I get this error when setting DNSPLUGIN to cloudflare: Please set DNSPLUGIN variable to one of the following:
The container then hangs forever.

Expected Behavior

It should not be stuck and not ask for DNSPLUGIN as DNSPLUGIN is set and my CPU supports SSE4.2.

Steps To Reproduce

  1. Have a E5-2680 (which supports SSE4.2)
  2. Set DNSPLUGIN to cloudflare
  3. docker compose up -d

Environment

- Host OS: Proxmox VE 8.2.2
- Guest OS: Debian 12.5
- CPU mode: Host
- CPU: Intel Xeon E5-2680 v1
- Docker: installed via instructions from docs.docker.com, aka custom APT repository.

CPU architecture

x86-64

Docker creation

services:
  swag:
    image: lscr.io/linuxserver/swag:latest
    container_name: swag
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/paris
      - URL=mydomain.com
      - VALIDATION=dns
      - SUBDOMAINS=wildcard
      - EMAIL=myemail
      - ONLY_SUBDOMAINS=false
      - STAGING=false
      - DOCKER_MODS=linuxserver/mods:swag-dashboard|linuxserver/mods:swag-dbip
      - CERTPROVIDER=zerossl
      - DNSPLUGIN=cloudflare
    volumes:
      - /opt/docker-files/swag/config:/config
    ports:
      - 443:443
      - 80:80
      - 81:81
    restart: unless-stopped
    network_mode: bridge

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-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] 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:    1000
User GID:    1000
───────────────────────────────────────

using keys found in /config/keys
Variables set:
PUID=1000
PGID=1000
TZ=Europe/paris
URL=mydomain.com
SUBDOMAINS=wildcard
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=dns
CERTPROVIDER=zerossl
DNSPLUGIN=cloudflare
EMAIL=myemail
STAGING=false

Please set the DNSPLUGIN variable to one of the following:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions