Billy12347

Members
  • Posts

    5
  • Joined

  • Last visited

Billy12347's Achievements

Noob

Noob (1/14)

2

Reputation

  1. I ended up adding a completely new NPM container and was able to register new certs without issue, i guess I'll see if they renew in a couple months. Thanks for your help in troubleshooting, I'm still learning Linux and Docker, so any help is invaluable.
  2. I did try to restart, as well as force update. I could try just creating a new NPM install, although this would be the second time I've had to blow it away and start from scratch. I'll try checking the serial numbers before I start over again.
  3. I checked that log file, it's a similar output to the docker log: Traceback (most recent call last): File "/usr/bin/certbot", line 8, in <module> sys.exit(main()) File "/usr/lib/python3.8/site-packages/certbot/main.py", line 15, in main return internal_main.main(cli_args) File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 1514, in main plugins = plugins_disco.PluginsRegistry.find_all() File "/usr/lib/python3.8/site-packages/certbot/_internal/plugins/disco.py", line 237, in find_all plugin_ep = cls._load_entry_point(entry_point, plugins, with_prefix=False) File "/usr/lib/python3.8/site-packages/certbot/_internal/plugins/disco.py", line 255, in _load_entry_point plugin_ep = PluginEntryPoint(entry_point, with_prefix) File "/usr/lib/python3.8/site-packages/certbot/_internal/plugins/disco.py", line 51, in __init__ self.plugin_cls: interfaces.IPluginFactory = entry_point.load() File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in load self.require(*args, **kwargs) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2472, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 772, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'mock' distribution was not found and is required by the application 2021-07-05 23:10:53,098:ERROR:certbot._internal.log:An unexpected error occurred: 2021-07-05 23:10:53,099:ERROR:certbot._internal.log:pkg_resources.DistributionNotFound: The 'mock' distribution was not foun d and is required by the application It's strange though, when i manually run a certbot renew I get this for the output: The following certificates are not due for renewal yet: /etc/letsencrypt/live/npm-1/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-10/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-11/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-12/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-13/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-14/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-15/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-16/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-17/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-18/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-4/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-5/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-6/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-7/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-8/fullchain.pem expires on 2021-10-04 (skipped) /etc/letsencrypt/live/npm-9/fullchain.pem expires on 2021-10-04 (skipped) Which as far as I can tell are my certs. Certbot is saying they're still good, but NPM and Digicert's certificate checker are saying they're due to expire on the 14th. Seems like certbot is looking at a different set of something than NPM.
  4. Probably should have mentioned this in the first post, but this happens when I run the renew cert in the gui, I haven't tried /been able to do much with cli. As for the log file, I tried looking for it in the app data folder and couldn't find it, I'll try to get there with the console and see what it says.
  5. Hi everyone, I've been banging my head on this for a while now, I originally thought it was because my router wasn't allowing access to the internal sites via the dns name, but I've since fixed that and nothing has changed. I'm betting it's something easy that i just don't know about. Here is the error in the container logs: at ChildProcess.exithandler (child_process.js:308:12) at ChildProcess.emit (events.js:314:20) at maybeClose (internal/child_process.js:1022:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) [7/2/2021] [8:54:03 PM] [SSL ] › ℹ info Renewing Let'sEncrypt certificates for Cert #1: site.domain.com (this is redacted, not sure it really matters) [7/2/2021] [8:54:04 PM] [Express ] › ⚠ warning Command failed: certbot renew --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-1" --preferred-challenges "dns,http" --disable-hook-validation An unexpected error occurred: pkg_resources.DistributionNotFound: The 'mock' distribution was not found and is required by the application Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/tmpih4raccg/log or re-run Certbot with -v for more details.