Skip to content

Commit

Permalink
Fix dns-loopia username error (#3838)
Browse files Browse the repository at this point in the history
  • Loading branch information
agnon authored Nov 26, 2024
1 parent 63d078c commit 5d9cb42
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions letsencrypt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 5.2.6

- Fix dns-loopia username error

## 5.2.5

- Update certbot-dns-directadmin to 1.0.12
Expand Down
4 changes: 2 additions & 2 deletions letsencrypt/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ joker_password: ''
joker_domain: ''
linode_key: ''
linode_version: ''
loopia_username: ''
loopia_user: ''
loopia_password: ''
luadns_email: ''
luadns_token: ''
Expand Down Expand Up @@ -591,7 +591,7 @@ keyfile: privkey.pem
challenge: dns
dns:
provider: dns-loopia
loopia_username: example@loopiaapi
loopia_user: example@loopiaapi
loopia_password: supersecretpasswordhere
```

Expand Down
2 changes: 1 addition & 1 deletion letsencrypt/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ schema:
ionos_endpoint: str?
linode_key: str?
linode_version: str?
loopia_username: str?
loopia_user: str?
loopia_password: str?
luadns_email: email?
luadns_token: str?
Expand Down
2 changes: 1 addition & 1 deletion letsencrypt/rootfs/etc/cont-init.d/file-structure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ echo -e "dns_desec_token = $(bashio::config 'dns.desec_token')\n" \
"dns_plesk_api_url = $(bashio::config 'dns.plesk_api_url')\n" \
"dns_linode_key = $(bashio::config 'dns.linode_key')\n" \
"dns_linode_version = $(bashio::config 'dns.linode_version')\n" \
"dns_loopia_username = $(bashio::config 'dns.loopia_username')\n" \
"dns_loopia_user = $(bashio::config 'dns.loopia_user')\n" \
"dns_loopia_password = $(bashio::config 'dns.loopia_password')\n" \
"dns_luadns_email = $(bashio::config 'dns.luadns_email')\n" \
"dns_luadns_token = $(bashio::config 'dns.luadns_token')\n" \
Expand Down
2 changes: 1 addition & 1 deletion letsencrypt/rootfs/etc/services.d/lets-encrypt/run
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-joker" ]; then

# Loopia
elif [ "${CHALLENGE}" == "dns" ] && [ "${DNS_PROVIDER}" == "dns-loopia" ]; then
bashio::config.require 'dns.loopia_username'
bashio::config.require 'dns.loopia_user'
bashio::config.require 'dns.loopia_password'
if (( PROPAGATION_SECONDS < 900 )); then
bashio::log.info "Increasing DNS propagation limit for Loopia to at least 900 seconds due to caching issues."
Expand Down

0 comments on commit 5d9cb42

Please sign in to comment.