I’m using Let’s Encrypt on Apache 2.4.7 running on Ubuntu 14.04, and I’m trying to set up a cron job to auto renew.
$ ./certbot-auto renew --dry-run --quiet --no-self-upgrade
executes fine from the shell. When I put this into a user’s crontab, however (without the “dry run”, of course), I get emailed with the error
apt-get update hit problems but continuing anyway... and the renewal fails.
apt-get shouldn’t be involved here. What’s happening?