Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
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):
Requesting to rerun /usr/local/bin/certbot-auto with root privileges...
WARNING: unable to check for updates.
/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible.
utils.PersistentlyDeprecated2018,
certbot 0.37.2
I'm not sure how this issue is Let's Encrypt related: your cron is trying to run a certain script, but that script isn't there.
We can't tell you what happened to that script: was it there once in the first place? Or was it never there? What happened to it? All questions we can't answer for you.
Sure, but, clearly something on your system has changed. There is also some reference to certbot-auto which was deprecated years ago. I don't know how we could reproduce such a problem to try to help.
The script works great when run manually via SSH.
My letsencrypt/ folder is owned by root:root
I was never able to get the cron working and have been running it manually for years. Finally got tired of it.
How do you run it manually? What's the output of ls -l /opt/bitnami/letsencrypt/scripts/renew-certificate.sh?
Also, if your script is using lego, it doesn't make much sense to use certbot-auto. The "certbot" in the "version of my client" question was just an example of a possible ACME client. When using lego, the proper answer to that question was the version of the lego ACME client used.
That's not the correct format for a cronjob task. The 5th option is day of week not "sudo". That changes the parsing of all the following options and "-u" is not executable