-
-
Notifications
You must be signed in to change notification settings - Fork 275
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
2025-09-27 03:39:03,136:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/certbot_dns_porkbun/cert/client.py", line 109, in _perform
self.record_ids[validation] = self._get_porkbun_client().dns_create(self._root_domain,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PKBClient' object has no attribute 'dns_create'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/certbot/_internal/auth_handler.py", line 84, in handle_authorizations
resps = self.auth.perform(achalls)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/plugins/dns_common.py", line 78, in perform
self._perform(domain, validation_domain_name, validation)
File "/lsiopy/lib/python3.12/site-packages/certbot_dns_porkbun/cert/client.py", line 114, in _perform
raise errors.PluginError(e)
certbot.errors.PluginError: 'PKBClient' object has no attribute 'dns_create'
2025-09-27 03:39:03,136:DEBUG:certbot._internal.error_handler:Calling registered functions
2025-09-27 03:39:03,136:INFO:certbot._internal.auth_handler:Cleaning up challenges
2025-09-27 03:39:03,138:ERROR:certbot._internal.error_handler:Encountered exception during recovery: KeyError: '9c7BHuiTJaRQAwzjYzWl4932dxXyCmjki5HP-TgDeFw'
2025-09-27 03:39:03,138:INFO:certbot.compat.misc:Running post-hook command: /config/etc/letsencrypt/renewal-hooks/post/10-nginx
2025-09-27 03:39:03,147:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/lsiopy/lib/python3.12/site-packages/certbot_dns_porkbun/cert/client.py", line 109, in _perform
self.record_ids[validation] = self._get_porkbun_client().dns_create(self._root_domain,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PKBClient' object has no attribute 'dns_create'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/lsiopy/bin/certbot", line 7, in <module>
sys.exit(main())
^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/main.py", line 18, in main
return internal_main.main(cli_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/_internal/main.py", line 1850, in main
return config.func(config, plugins)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/_internal/main.py", line 1562, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/_internal/main.py", line 141, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/_internal/client.py", line 526, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/_internal/client.py", line 427, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/_internal/client.py", line 505, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/_internal/auth_handler.py", line 84, in handle_authorizations
resps = self.auth.perform(achalls)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.12/site-packages/certbot/plugins/dns_common.py", line 78, in perform
self._perform(domain, validation_domain_name, validation)
File "/lsiopy/lib/python3.12/site-packages/certbot_dns_porkbun/cert/client.py", line 114, in _perform
raise errors.PluginError(e)
certbot.errors.PluginError: 'PKBClient' object has no attribute 'dns_create'
2025-09-27 03:39:03,152:ERROR:certbot._internal.log:'PKBClient' object has no attribute 'dns_create'
Expected Behavior
It to work
Steps To Reproduce
- Enter porkbun.ini details
- Start SWAG
Environment
- OS: OpenMediaVault
- How docker service was installed: Compose plugin in OMVCPU architecture
x86-64
Docker creation
services:
swag:
image: lscr.io/linuxserver/swag:latest
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- URL=test.xyz
- VALIDATION=dns
- SUBDOMAINS=immich,pdf
- CERTPROVIDER= # Optional
- DNSPLUGIN=porkbun # Optional
- [email protected] # Optional
- ONLY_SUBDOMAINS=false # Optional
- EXTRA_DOMAINS= # Optional
- STAGING=false # Optional
- DOCKER_MODS=linuxserver/mods:swag-auto-reload
- PROPAGATION=600
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /srv/dev-disk-by-uuid-4868c690-596d-41bd-99b7-09da66808b60/Stuff/.config/docker/data/swag/config:/config
ports:
- 443:443
- 80:80 # Optional
restart: alwaysContainer logs
see beforehoang-himself
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done