I've started fresh (I needed to updgrade my build anyway). Thanks - _az I'll be watching my typing
I'm still getting the following error:
[Mon 28 Jun 2021 04:13:26 PM CST] Changing owner/group of .well-known to www-data:www-data
[Mon 28 Jun 2021 04:13:26 PM CST] chown: changing ownership of '/var/www/letsencrypt/.well-known/acme-challenge/x9aTqsdbnK5ypAFeYZ2yJbYNObT75NF3ZpF-R3uyYx8': Operation not permitted
chown: changing ownership of '/var/www/letsencrypt/.well-known/acme-challenge/yEyLoRq1mLQQu4wKpH6Lptt1kWKs86atrQmKHwb35w0': Operation not permitted
chown: changing ownership of '/var/www/letsencrypt/.well-known/acme-challenge/IyQyU5SBzZYRSQbdHWFLzaYkkBmzknembubvUBaSIsE': Operation not permitted
chown: changing ownership of '/var/www/letsencrypt/.well-known/acme-challenge': Operation not permitted
chown: changing ownership of '/var/www/letsencrypt/.well-known': Operation not permitted
The problem looks similar to:
https://community.letsencrypt.org/t/error-429-and-operation-not-permited/142941
I've tried writing a test file as acme
echo "this is a test file" > /var/www/letsencrypt/.well-known/acme-challenge/test-acme
This works but when trying to change permissions I get the following:
acmeuser@stanworth-cloud:/var/www/letsencrypt/.well-known/acme-challenge$ chown www-data:www-data test-acme
chown: changing ownership of 'test-acme': Operation not permitted
As far as I know acme user is set correctly:
usermod -a -G www-data acmeuser
the http.conf looks like this:
upstream php-handler {
server unix:/run/php/php8.0-fpm.sock;
}
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name stanworth.cloud;
location ^~ /.well-known/acme-challenge {
default_type text/plain;
root /var/www/letsencrypt;
}
location / {
return 301 https://$host$request_uri;
}
}
Any input is really appreciated