nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

cPanel DNS SSL plugin give errors

Open jhaveDK opened this issue 2 years ago • 3 comments

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image? No
  • Are you sure you're not using someone else's docker image? Yes
  • Have you searched for similar issues (both open and closed)? Yes

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 protected]" --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 avatar Dec 20 '22 22:12 jhaveDK

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

jhaveDK avatar Dec 21 '22 23:12 jhaveDK

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

dormancygrace avatar Dec 29 '22 02:12 dormancygrace

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

github-actions[bot] avatar Feb 01 '24 01:02 github-actions[bot]