LetsEncrypt auto renew with sudo not working in Crontab


#1

So, I found out that my LE certificates are not automatically renewing. Turns out there was no sudo in the crontab entry. So I added it. Next I just ran the crontab entry manually and this is what I got :

usr@svr:~$ sudo ee site update --le=renew --all 2> /dev/null [sudo] password for usr: Updating site mysitename.com, please wait…

It goes back to the prompt … does not renew anything and that’s that …

manually entering sudo ee site update mysitename.com --le=renew however does work …

What’s wrong here ?


#2