One of my older systems started complaining during certbot upgrades. I copied the script to the /root folder and edited it. Changed /etc/cron.d/certbot to point to that instead, and added the --no-self-upgrade switch to the call.
root@ns004:~# diff /usr/local/bin/certbot-auto /root/ 1121c1121,1123 < error "Your system is not supported by certbot-auto anymore." --- > if [ "$NO_SELF_UPGRADE" != 1 ]; then > error "Your system is not supported by certbot-auto anymore." > fi 1128,1129c1130,1133 < error "Certbot will no longer receive updates." < error "Please visit https://certbot.eff.org/ to check for other alternatives." --- > if [ "$NO_SELF_UPGRADE" != 1 ]; then > error "Certbot will no longer receive updates." > error "Please visit https://certbot.eff.org/ to check for other alternatives." > fi
last updated 2020-12-03 11:09:19. served from tektonic.jcomeau.com