Closed
Description
Hi Team,
Have been attempting to retrieve a cert via LE in confconsole and met with the following traceback.
Copied from confconsole UI, please excuse malformatting.
Hopefully I provide enough info and don't require too much back-and-forth:
Steps: confconsole > Lets encrypt > Get certificate > Accept TOS > dns-01
Traceback (most recent call last):
File "/usr/bin/confconsole", line 719, in loop
new_dialog = method()
^^^^^^^^
File "/usr/lib/confconsole/plugin.py", line 121, in run
ret: Optional[str] = self.module.run()
^^^^^^^^^^^^^^^^^
File "/usr/lib/confconsole/plugins.d/Lets_Encrypt/get_certificate.py", line 153, in run
config = dns_01.load_config()
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute
'load_config'
I'm kind of average at digging, but seems loosely that some configuration files might be missing ...
Particulars:
root@pve1a:~# pveversion
pve-manager/8.0.4/d258a813cfa6b390 (running kernel: 6.2.16-12-pve)
CT Template:
debian-12-turnkey-core_18.0-1_amd64.tar.gz
root@tkcore ~# turnkey-version
turnkey-core-18.0-bookworm-amd64
root@tkcore ~# apt show confconsole | grep Vers
Version: 2.1.1
- LXC IP and Domain are static on LXC. Privileged container.
- Domain is hosted on Cloudflare.
- Nameservers were Gateway and 1.1.1.1, but also tried only the latter and 8.8.8.8; resolution was fine from the start however.
- Have retrieved many certs via other methods (PVE, opnsense, certbot, Traefik etc etc)
- Tried reinstalling confconsole via apt as well as manually installing latest deb from GH (though it's older).
- Rebuilt again from template.
If any other info is wanted, please let me know.
Attached the apt output (probably not useful) and the files mentioned in the trace:
apt_show_confconsole.txt
trace_files.zip