mydomain com - main server & dns running on cpanel hosting
analytic mydomain com - on a debian 12 vps running docker and analytic app,
DNS from #1 “A” records point to #2 IP address. ssh can connect to the analytic domain.
Swag docker is running on #2
I have configured to VALIDATION=dns, set config/dns-conf/cpanel.ini with the correct credentials, url and API token (triple checked it).
But when i run swag, i keep getting Error adding TXT record: Unable to find SOA record
Any pointer / help would be appriciated.
thanks.
result of $:docker compose up
swag | Linuxserver.io version: 3.3.0-ls370
swag | Build-date: 2025-03-15T03:31:31+00:00
swag | ───────────────────────────────────────
swag |
swag | using keys found in /config/keys
swag | Variables set:
swag | PUID=1000
swag | PGID=100
swag | TZ=utc/UTC
swag | URL=mydomain.com
swag | SUBDOMAINS=www.analytic,analytic
swag | EXTRA_DOMAINS=
swag | ONLY_SUBDOMAINS=true
swag | VALIDATION=dns
swag | CERTPROVIDER=
swag | DNSPLUGIN=cpanel
swag | EMAIL=
swag | STAGING=false
swag |
swag | Using Let's Encrypt as the cert provider
swag | SUBDOMAINS entered, processing
swag | Sub-domains processed are: www.analytic.mydomain.com,analytic.mydomain.com
swag | No e-mail address entered or address invalid
swag | dns validation via cpanel plugin is selected
swag | Generating new certificate
swag | Saving debug log to /config/log/letsencrypt/letsencrypt.log
swag | Requesting a certificate for www.analytic.mydomain.com and analytic.mydomain.com
swag | Unsafe permissions on credentials configuration file: /config/dns-conf/cpanel.ini
swag | /config/dns-conf/cpanel.ini: token and password are exclusive, token will be used when both are provided
swag | Error adding TXT record: Unable to find SOA record.
swag | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /config/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
swag | ERROR: Cert does not exist! Please see the validation error above. Make sure you entered correct credentials into the /config/dns-conf/cpanel.ini file.