NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
21.93k stars 2.53k forks source link

cPanel DNS SSL plugin give errors #2493

Open jhaveDK opened 1 year ago

jhaveDK commented 1 year ago

Checklist

Describe the bug If the module is enabled its give this error in the docker log

app_1 | [12/20/2022] [10:09:08 PM] [SSL ] › ✖ error Error: Command failed: certbot renew --non-interactive --quiet --config "/etc/letsencrypt.ini" --preferred-challenges "dns,http" --disable-hook-validation app_1 | An unexpected error occurred: app_1 | AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator' app_1 | app_1 | at ChildProcess.exithandler (node:child_process:402:12) app_1 | at ChildProcess.emit (node:events:513:28) app_1 | at maybeClose (node:internal/child_process:1100:16) app_1 | at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) app_1 | QueryBuilder#allowEager method is deprecated. You should use allowGraph instead. allowEager method will be removed in 3.0 app_1 | QueryBuilder#eager method is deprecated. You should use the withGraphFetched method instead. eager method will be removed in 3.0 app_1 | QueryBuilder#omit is deprecated. This method will be removed in version 3.0 app_1 | Model#$omit is deprected and will be removed in 3.0.

Nginx Proxy Manager Version v2.9.19

To Reproduce Steps to reproduce the behavior:

  1. Go to SSL cert and add
  2. Type domain.com and *.domain.com
  3. Select DNS challenge
  4. Select cPanel and set all settings

Error in NPM

Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-2" --agree-tos --email "email@domain.com" --domains "*.domain.com,domain.com" --authenticator cpanel --cpanel-credentials "/etc/letsencrypt/credentials/credentials-2" An unexpected error occurred: AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator' Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-ok7p235n/log or re-run Certbot with -v for more details.

at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

Operating System Ubuntu X86

jhaveDK commented 1 year ago

Its look like the problem its newer create /etc/letsencrypt/credentials/credentials-2

dormancygrace commented 1 year ago

https://github.com/NginxProxyManager/docker-nginx-full/pull/10

github-actions[bot] commented 7 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1: