linuxserver / docker-swag

Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.
https://docs.linuxserver.io/general/swag
GNU General Public License v3.0
2.66k stars 231 forks source link

Update Dynu code and .ini file #483

Open panosangel opened 1 month ago

panosangel commented 1 month ago

linuxserver.io



Description:

Running SWAG for the first time I got errors while setting it up to work with Dynu DNS challenge. The code for DNSPLUGIN flag was wrongly named and the .ini config file had the wrong name.

Benefits of this PR and context:

If it's not fixed, every single Dynu DNS user will have to make the same adjustments.

How Has This Been Tested?

I kept making adjustments to docker-compose.yml and the filesystem until there were no errors shown.

Source / References:

aptalca commented 1 month ago

dynu is a different plugin and it's abandoned

LinuxServer-CI commented 1 month ago
I am a bot, here are the test results for this PR: https://ci-tests.linuxserver.io/lspipepr/swag/2.10.0-pkg-b255070a-dev-05b586d6df5df4fb3d648db62de9273bd3329190-pr-483/index.html https://ci-tests.linuxserver.io/lspipepr/swag/2.10.0-pkg-b255070a-dev-05b586d6df5df4fb3d648db62de9273bd3329190-pr-483/shellcheck-result.xml Tag Passed
amd64-2.10.0-pkg-b255070a-dev-05b586d6df5df4fb3d648db62de9273bd3329190-pr-483
arm64v8-2.10.0-pkg-b255070a-dev-05b586d6df5df4fb3d648db62de9273bd3329190-pr-483
panosangel commented 1 month ago

According to docker logs DNSPLUGIN=dynudns is not a recognized value and dynu is suggested. Could it be a validation issue?

swag  | [migrations] started
swag  | [migrations] 01-nginx-site-confs-default: executing...
swag  | [migrations] 01-nginx-site-confs-default: succeeded
swag  | [migrations] done
swag  | ───────────────────────────────────────
swag  | 
swag  |       ██╗     ███████╗██╗ ██████╗
swag  |       ██║     ██╔════╝██║██╔═══██╗
swag  |       ██║     ███████╗██║██║   ██║
swag  |       ██║     ╚════██║██║██║   ██║
swag  |       ███████╗███████║██║╚██████╔╝
swag  |       ╚══════╝╚══════╝╚═╝ ╚═════╝
swag  | 
swag  |    Brought to you by linuxserver.io
swag  | ───────────────────────────────────────
swag  | 
swag  | To support the app dev(s) visit:
swag  | Certbot: https://supporters.eff.org/donate/support-work-on-certbot
swag  | 
swag  | To support LSIO projects visit:
swag  | https://www.linuxserver.io/donate/
swag  | 
swag  | ───────────────────────────────────────
swag  | GID/UID
swag  | ───────────────────────────────────────
swag  | 
swag  | User UID:    1000
swag  | User GID:    1000
swag  | ───────────────────────────────────────
swag  | 
swag  | Setting resolver to  127.0.0.11
swag  | Setting worker_processes to 8
swag  | generating self-signed keys in /config/keys, you can replace these with your own keys if required
swag  | ....+...........+...+...+.......+..+.........+.+......+........+.+.....................+++++++++++++++++++++++++++++++++++++++*....+........+.............+..+.+..+...+....+.....+......+.+++++++++++++++++++++++++++++++++++++++*....+...++++++
swag  | ..+..+...+...+....+......+..+...+++++++++++++++++++++++++++++++++++++++*......+.......+.....+................+.....+.+......+...+++++++++++++++++++++++++++++++++++++++*.+..+...+......+.+...+...............+.....+......+...............................+..................+.....+.+......+.....+..........+...+............+...+.....+......+...++++++
swag  | -----
swag  | Variables set:
swag  | PUID=1000
swag  | PGID=1000
swag  | TZ=Europe/Athens
swag  | URL=domain.com
swag  | SUBDOMAINS=wildcard
swag  | EXTRA_DOMAINS=
swag  | ONLY_SUBDOMAINS=false
swag  | VALIDATION=dns
swag  | CERTPROVIDER=
swag  | DNSPLUGIN=dynudns
swag  | EMAIL=user@domain.com
swag  | STAGING=true
swag  | 
swag  | Please set the DNSPLUGIN variable to one of the following:
swag  | acmedns
swag  | aliyun
swag  | azure
swag  | bunny
swag  | cloudflare
swag  | cpanel
swag  | desec
swag  | digitalocean
swag  | directadmin
swag  | dnsimple
swag  | dnsmadeeasy
swag  | dnspod
swag  | do
swag  | domeneshop
swag  | dreamhost
swag  | duckdns
swag  | dynu
swag  | freedns
swag  | gandi
swag  | gehirn
swag  | glesys
swag  | godaddy
swag  | google
swag  | google-domains
swag  | he
swag  | hetzner
swag  | infomaniak
swag  | inwx
swag  | ionos
swag  | linode
swag  | loopia
swag  | luadns
swag  | namecheap
swag  | netcup
swag  | njalla
swag  | nsone
swag  | ovh
swag  | porkbun
swag  | rfc2136
swag  | route53
swag  | sakuracloud
swag  | standalone
swag  | transip
swag  | vultr
LinuxServer-CI commented 2 weeks ago
I am a bot, here are the test results for this PR: https://ci-tests.linuxserver.io/lspipepr/swag/2.11.0-pkg-c57ee935-dev-b81abc31dc9b1d3030cd67185a379639b99d65dc-pr-483/index.html https://ci-tests.linuxserver.io/lspipepr/swag/2.11.0-pkg-c57ee935-dev-b81abc31dc9b1d3030cd67185a379639b99d65dc-pr-483/shellcheck-result.xml Tag Passed
amd64-2.11.0-pkg-c57ee935-dev-b81abc31dc9b1d3030cd67185a379639b99d65dc-pr-483
arm64v8-2.11.0-pkg-c57ee935-dev-b81abc31dc9b1d3030cd67185a379639b99d65dc-pr-483