Letsencrypt-auto renew returns "permission denied" under root cron and su, but works if I sudo su - Ubuntu 16.04


#1

Please fill out the fields below so we can help you better.

My domain is:

I ran this command:

It produced this output:

My operating system is (include version):

My web server is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):


#2

My domain is: multiple (all fail renewal)

I ran this command: sudo /home/dc1/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log

It produced this output: “Permission Denied” with su, and /etc/letsencrypt/live/domain.com/fullchain.pem (failure)

My operating system is (include version): Ubuntu 16.04

My web server is (include version): Apache 2.4.18

My hosting provider, if applicable, is: self

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


#3

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