My domain is: services24.kull-hafner.ch
I ran this command: sudo certbot certonly -a manual -d services24.kull-hafner.ch --preferred-challenges dns
It produced this output:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 6, in
from pkg_resources import load_entry_point
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 3191, in
@_call_aside
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 3175, in _call_aside
f(*args, **kwargs)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 3204, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'certbot==0.34.2' distribution was not found and is required by the application
admin24@services24 ~ %
My web server is (include version): Apache Tomcat 9.0.39
The operating system my web server runs on is (include version): MacOS 12.6.1
My hosting provider, if applicable, is: N/A
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 0.34.2
I recently had to change my Mac machine (OS X 10.15.7 / Intel) to a bigger machine (OS X 12.0.1 / Intel). There I'm running a tomcat 9.0.39.
Does anyone has an idea what's going wrong or had the same issue? It seems the installation is broken. I have not found a compatibility list, where I can see Certbot version supports which OS X. Is 0.34.2 just ok for OS X 12.0.1? It was originally set up with home-brew. Now brew is:
Homebrew 3.1.3-dirty Homebrew/homebrew-core (git revision 65e5a0ea75; last commit 2021-04-21)
What is best for updating - if needed? Is there a chance to fix the current installation? First uninstall the current? Do I loose all 'settings/ dependencies' when installing a newer version?
Thanks for any help.