Error: Permissions could not be set. This is probably because your volume mounts are remote or read-only

chown: cannot dereference '/config/keys/letsencrypt': No such file or directory
find: /var/lib/letsencrypt: No such file or directory
find: /var/log/letsencrypt: No such file or directory
/etc/s6-overlay/s6-rc.d/init-certbot-config/run: line 372:   361 Illegal instruction     certbot certonly --non-interactive --renew-by-default
chown: cannot dereference '/config/keys/letsencrypt': No such file or directory
find: /var/lib/letsencrypt: No such file or directory
find: /var/log/letsencrypt: No such file or directory
/etc/s6-overlay/s6-rc.d/init-certbot-config/run: line 372:   364 Illegal instruction     certbot certonly --non-interactive --renew-by-default
using keys found in /config/keys
**** Permissions could not be set. This is probably because your volume mounts are remote or read-only. ****
**** The app may not work properly and we will not provide support for it. ****
Variables set:
PUID=99
PGID=100
TZ=America/Los_Angeles
URL=<redacted>
SUBDOMAINS=<redacted>
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=true
VALIDATION=http
CERTPROVIDER=
DNSPLUGIN=duckdns
EMAIL=email@email.com
STAGING=false

**** Permissions could not be set. This is probably because your volume mounts are remote or read-only. ****
**** The app may not work properly and we will not provide support for it. ****
Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
Sub-domains processed are: <redacted>
E-mail address entered: email@email.com
http validation is selected
Generating new certificate
ERROR: Cert does not exist! Please see the validation error above. The issue may be due to incorrect dns or port forwarding settings. Please fix your settings and recreate the container
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   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:    99
User GID:    100
───────────────────────────────────────

using keys found in /config/keys
**** Permissions could not be set. This is probably because your volume mounts are remote or read-only. ****
**** The app may not work properly and we will not provide support for it. ****
Variables set:
PUID=99
PGID=100
TZ=America/Los_Angeles
URL=<redacted>
SUBDOMAINS=<redacted>
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=true
VALIDATION=http
CERTPROVIDER=
DNSPLUGIN=duckdns
EMAIL=email@email.com
STAGING=false

**** Permissions could not be set. This is probably because your volume mounts are remote or read-only. ****
**** The app may not work properly and we will not provide support for it. ****
Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
Sub-domains processed are: <redacted>
E-mail address entered: email@email.com
http validation is selected
Generating new certificate
ERROR: Cert does not exist! Please see the validation error above. The issue may be due to incorrect dns or port forwarding settings. Please fix your settings and recreate the container

Docker Container:

docker run
  -d
  --name='swag'
  --net='proxynet'
  -e TZ="America/Los_Angeles"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Tower"
  -e HOST_CONTAINERNAME="swag"
  -e 'URL'='<redacte>'
  -e 'VALIDATION'='http'
  -e 'SUBDOMAINS'='<redacted>'
  -e 'CERTPROVIDER'=''
  -e 'DNSPLUGIN'='duckdns'
  -e 'PROPAGATION'=''
  -e 'EMAIL'='email@email.com'
  -e 'ONLY_SUBDOMAINS'='true'
  -e 'EXTRA_DOMAINS'=''
  -e 'STAGING'='false'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver-ls-logo.png'
  -p '1443:443/tcp'
  -p '180:80/tcp'
  -v '/mnt/user/appdata/swag':'/config':'rw'
  --cap-add=NET_ADMIN 'lscr.io/linuxserver/swag' 

Router:

External -> Internal
443 -> 1443
80 -> 180

Ideas of where to look for the problem?

I looked at the code for this line that was in the eror message:

/etc/s6-overlay/s6-rc.d/init-certbot-config/run: line 372:

Which is this command:
certbot certonly --non-interactive --renew-by-default

I ran the above from the command line:

# certbot certonly --non-interactive --renew-by-default
Illegal instruction

Something appears wrong with certbot:

# certbot
Illegal instruction