"certbot-auto renew" cron job tries to apt-get update even with --no-self-upgrade option

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?

can you post the log files from: \var\log\letsencrypt

as it will provide the source of errors


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.