Welcome! Log In Create A New Profile

Advanced

Nginx Amplify permissions errors with letsencrypt certificates and access log

Dan Randa
August 28, 2023 10:08PM
I am running Ubuntu 22.04 server. I have installed Nginx Amplify. In my /var/log/amplify-agent/agent.log I am getting permissions errors with letsencrypt certificates.

cat /var/log/amplify-agent/agent.log

2023-08-28 20:34:50,140 [8851] supervisor ssl certificate found /etc/letsencrypt/live/example.com/fullchain.pem
2023-08-28 20:34:50,140 [8851] supervisor could not read /etc/letsencrypt/live/example.com/fullchain.pem (maybe permissions?)
2023-08-28 20:34:50,943 [8851] supervisor failed to initialize pipeline for "/var/log/nginx/access.log" due to PermissionError (maybe has no rights?)
2023-08-28 20:34:50,953 [8851] supervisor failed to initialize pipeline for "/var/log/nginx/mail.example.com.access.log" due to PermissionError (maybe has no rights?)
2023-08-28 20:34:50,954 [8851] supervisor failed to initialize pipeline for "/var/log/nginx/mail.example.com.error.log" due to PermissionError (maybe has no rights?)

How can I fix all of these permissions errors so nginx can view my certificates from letsencrypt? Also, how can I fix the pipeline errors?

Thanks in advance for any help.

Dan
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx Amplify permissions errors with letsencrypt certificates and access log

Dan Randa August 28, 2023 10:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 105
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready