Skip to content

[BUG] certbot-plugin-websupport not selectable when getting cert #556

@RayMondDrakon

Description

@RayMondDrakon

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I would like to use certbot-plugin-websupport with DNS validation, but I got an error when I add DNSPLUGIN=websupport as an ENV parameter:

Expected Behavior

I tried to debug the problem, and what it could be swag eun certbot firstly, and just after the pip install certbot-plugin-websupport

I have manually installed the certbot-plugin-websupport python package inside the swag container, but after a restart I got the same error.

Steps To Reproduce

Just deploy the swag container with the below docker-compose file.

Environment

- OS:Linux openmediavault 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux
- How docker service was installed: Via OMV WebUI, Docker version 28.0.4, build b8034c0

CPU architecture

x86-64

Docker creation

version: "3.8"

networks:
  lsio_network:
    driver: bridge

services:    
  swag:
    image: lscr.io/linuxserver/swag:latest
    container_name: swag
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1006
      - PGID=1004
      - TZ=Europe/Budapest
      - URL=example.com
      - SUBDOMAINS=wildcard
      - VALIDATION=dns
      - DNSPLUGIN=websupport
      - EMAIL=email@gmail.com
      - DOCKER_MODS=linuxserver/mods:swag-ffmpeg|linuxserver/mods:swag-auto-reload|linuxserver/mods:swag-dashboard|linuxserver/mods:swag-imagemagick|linuxserver/mods:swag-maxmind|linuxserver/mods:universal-package-install|lscr.io/linuxserver/mods:universal-unrar6|linuxserver/mods:universal-tshoot|linuxserver/mods:universal-git|linuxserver/mods:universal-cron
      - INSTALL_PACKAGES=rsync|git
      - INSTALL_PIP_PACKAGES=pip|wheel|certbot-plugin-websupport
      - FILE__MAXMINDDB_USER_ID=/run/secrets/MAXMINDDB_USER_ID
      - FILE__MAXMINDDB_LICENSE_KEY=/run/secrets/MAXMINDDB_LICENSE_KEY
      - UMASK=002
    volumes:
      - /home/swag/swag_data/swag_data:/config
      - /srv/container-services/lsio/modcache:/modcache
    ports:
      - 443:443
      - 80:80
    networks:
      - lsio_network
    restart: unless-stopped
    secrets:
       - MAXMINDDB_USER_ID
       - MAXMINDDB_LICENSE_KEY
    hostname: swag

Container logs

[custom-init] No custom services found, skipping...
[mod-init] Running Docker Modification Logic
[mod-init] Adding linuxserver/mods:swag-ffmpeg to container
[mod-init] linuxserver/mods:swag-ffmpeg at sha256:b8437a3e17d032cda9d6ed4c41c636deea1de3dfbb16098dde43fa9d465ff1ac found in modcache, applying
[mod-init] Installing linuxserver/mods:swag-ffmpeg
[mod-init] linuxserver/mods:swag-ffmpeg applied to container
[mod-init] Adding linuxserver/mods:swag-auto-reload to container
[mod-init] linuxserver/mods:swag-auto-reload at sha256:1bb1bf7a2165408af38c3f52716a57898bf5e4b75c0272608a999ceb09267b26 found in modcache, applying
[mod-init] Installing linuxserver/mods:swag-auto-reload
[mod-init] linuxserver/mods:swag-auto-reload applied to container
[mod-init] Adding linuxserver/mods:swag-dashboard to container
[mod-init] linuxserver/mods:swag-dashboard at sha256:6f012e39cfcf8c8d780a11c48ddab7995b2b7d8bca937a940593d0a696ba55e0 found in modcache, applying
[mod-init] Installing linuxserver/mods:swag-dashboard
[mod-init] linuxserver/mods:swag-dashboard applied to container
[mod-init] Adding linuxserver/mods:swag-imagemagick to container
[mod-init] linuxserver/mods:swag-imagemagick at sha256:54cd42cfd8118ba7ac1c2d8993621c27443902cd02649a5b8f73a4d3562b55dd found in modcache, applying
[mod-init] Installing linuxserver/mods:swag-imagemagick
[mod-init] linuxserver/mods:swag-imagemagick applied to container
[mod-init] Adding linuxserver/mods:swag-maxmind to container
[mod-init] linuxserver/mods:swag-maxmind at sha256:975cff53644ab8c0c228f24b8ac713c6b3f52e5391c552fecc6e0df2156f5d9d found in modcache, applying
[mod-init] Installing linuxserver/mods:swag-maxmind
[mod-init] linuxserver/mods:swag-maxmind applied to container
[mod-init] Adding linuxserver/mods:universal-package-install to container
[mod-init] linuxserver/mods:universal-package-install at sha256:179666823e425c84f903183aa0b76eb4fe6ce386fdeb55ca85b56b7791669140 found in modcache, applying
[mod-init] Installing linuxserver/mods:universal-package-install
[mod-init] linuxserver/mods:universal-package-install applied to container
[mod-init] Adding linuxserver/mods:universal-unrar6 to container
[mod-init] linuxserver/mods:universal-unrar6 at sha256:64fb65901f20592411722fdf00948f4b6f676f075ff7e18bf1945832cb2896e9 found in modcache, applying
[mod-init] Installing linuxserver/mods:universal-unrar6
[mod-init] linuxserver/mods:universal-unrar6 applied to container
[mod-init] Adding linuxserver/mods:universal-tshoot to container
[mod-init] linuxserver/mods:universal-tshoot at sha256:7c6b7fa8184ac3c2f023fbbf318f5edb0987d5b1960fd5bc8be45b34fa844941 found in modcache, applying
[mod-init] Installing linuxserver/mods:universal-tshoot
[mod-init] linuxserver/mods:universal-tshoot applied to container
[mod-init] Adding linuxserver/mods:universal-git to container
[mod-init] linuxserver/mods:universal-git at sha256:ca6915c7374dbbecabe92b0e9fc3ef1a03a21efbbb4e0112e51ae364fadd0849 found in modcache, applying
[mod-init] Installing linuxserver/mods:universal-git
[mod-init] linuxserver/mods:universal-git applied to container
[mod-init] Adding linuxserver/mods:universal-cron to container
[mod-init] linuxserver/mods:universal-cron at sha256:76cda2de7139afa9c3727602470e028b6ea64967f44fc30691f52e801e84e7b3 found in modcache, applying
[mod-init] Installing linuxserver/mods:universal-cron
[mod-init] linuxserver/mods:universal-cron applied to container
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[env-init] MAXMINDDB_LICENSE_KEY set from FILE__MAXMINDDB_LICENSE_KEY
[migrations] 02-swag-old-certbot-paths: skipped
[migrations] done
[env-init] MAXMINDDB_USER_ID set from FILE__MAXMINDDB_USER_ID
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   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:    1006
User GID:    1004
───────────────────────────────────────
Linuxserver.io version: 3.3.0-ls373
Build-date: 2025-03-29T03:33:22+00:00
───────────────────────────────────────
    
using keys found in /config/keys
Variables set:
�������
6
�������
4
TZ=Europe/Budapest
URL=example.com
SUBDOMAINS=wildcard
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=dns
CERTPROVIDER=
DNSPLUGIN=websupport
EMAIL=email@gmail.com
STAGING=
Please set the DNSPLUGIN variable to one of the following:
acmedns
aliyun
azure
bunny
cloudflare
cpanel
desec
�������
digitalocean
directadmin
dnsimple
dnsmadeeasy
dnspod
do
domeneshop
�������
t
duckdns
dynu
freedns
gandi
gehirn
glesys
godaddy
google
he
hetzner
infomaniak
inwx
ionos
linode
loopia
luadns
�������
p
netcup
njalla
nsone
ovh
porkbun
rfc2136
route53
sakuracloud
standalone
transip
vultr

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