Open DuneJeeper opened 12 months ago
Getting new permissions error when requesting SSL cert. Using unRAID
Get SSL cert and properly add proxy
THIS IS A COPY/PASTE FROM MY DOZZLE CONTAINER 07/15/2023 6:02:40 AM [app ] [7/15/2023] [6:02:40 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf 07/15/2023 6:02:40 AM [app ] [7/15/2023] [6:02:40 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf.err 07/15/2023 6:02:40 AM [app ] [7/15/2023] [6:02:40 AM] [Nginx ] › ⬤ debug Could not delete file: { 07/15/2023 6:02:40 AM [app ] "errno": -2, 07/15/2023 6:02:40 AM [app ] "syscall": "unlink", 07/15/2023 6:02:40 AM [app ] "code": "ENOENT", 07/15/2023 6:02:40 AM [app ] "path": "/data/nginx/proxy_host/1.conf.err" 07/15/2023 6:02:40 AM [app ] } 07/15/2023 6:02:40 AM [app ] [7/15/2023] [6:02:40 AM] [Nginx ] › ℹ info Reloading Nginx 07/15/2023 6:02:45 AM [app ] [7/15/2023] [6:02:45 AM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #26: nextcloud.jsbserver.com 07/15/2023 6:02:45 AM [app ] [7/15/2023] [6:02:45 AM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-26" --agree-tos --authenticator webroot --email "xxxx@gmail.com" --preferred-challenges "dns,http" --domains "nextcloud.xxxx.com" 07/15/2023 6:02:46 AM [app ] [7/15/2023] [6:02:46 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_26.conf 07/15/2023 6:02:46 AM [app ] [7/15/2023] [6:02:46 AM] [Nginx ] › ℹ info Reloading Nginx 07/15/2023 6:02:46 AM [app ] [7/15/2023] [6:02:46 AM] [Express ] › ⚠ warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-26" --agree-tos --authenticator webroot --email "xxxx@gmail.com" --preferred-challenges "dns,http" --domains "xxxx" 07/15/2023 6:02:46 AM [app ] The following error was encountered: 07/15/2023 6:02:46 AM [app ] [Errno 13] Permission denied: '/var/log/letsencrypt/letsencrypt.log' 07/15/2023 6:02:46 AM [app ] Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths. 07/15/2023 6:02:46 AM [app ] Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-85nl26o5/log or re-run Certbot with -v for more details. 07/15/2023 6:06:18 AM [app ] [7/15/2023] [6:06:18 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf 07/15/2023 6:06:18 AM [app ] [7/15/2023] [6:06:18 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf.err 07/15/2023 6:06:18 AM [app ] [7/15/2023] [6:06:18 AM] [Nginx ] › ⬤ debug Could not delete file: { 07/15/2023 6:06:18 AM [app ] "errno": -2, 07/15/2023 6:06:18 AM [app ] "syscall": "unlink", 07/15/2023 6:06:18 AM [app ] "code": "ENOENT", 07/15/2023 6:06:18 AM [app ] "path": "/data/nginx/proxy_host/1.conf.err" 07/15/2023 6:06:18 AM [app ] } 07/15/2023 6:06:18 AM [app ] [7/15/2023] [6:06:18 AM] [Nginx ] › ℹ info Reloading Nginx 07/15/2023 6:06:23 AM [app ] [7/15/2023] [6:06:23 AM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #27: nextcloud.jsbserver.com 07/15/2023 6:06:23 AM [app ] [7/15/2023] [6:06:23 AM] [SSL ] › ℹ info Command: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-27" --agree-tos --authenticator webroot --email "xxxxrn@gmail.com" --preferred-challenges "dns,http" --domains "nextcloud.jxxxxr.com" 07/15/2023 6:06:24 AM [app ] [7/15/2023] [6:06:24 AM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/temp/letsencrypt_27.conf 07/15/2023 6:06:24 AM [app ] [7/15/2023] [6:06:24 AM] [Nginx ] › ℹ info Reloading Nginx 07/15/2023 6:06:24 AM [app ] [7/15/2023] [6:06:24 AM] [Express ] › ⚠ warning Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-27" --agree-tos --authenticator webroot --email "xxxx@gmail.com" --preferred-challenges "dns,http" --domains "nextcloud.xxxx.com" 07/15/2023 6:06:24 AM [app ] The following error was encountered: 07/15/2023 6:06:24 AM [app ] [Errno 13] Permission denied: '/var/log/letsencrypt/letsencrypt.log' 07/15/2023 6:06:24 AM [app ] Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths. 07/15/2023 6:06:24 AM [app ] Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-fa6dp8rp/log or re-run Certbot with -v for more details. 07/15/2023 6:19:56 AM [app ] [7/15/2023] [6:19:56 AM] [SSL ] › ℹ info Renewing SSL certs close to expiry... 07/15/2023 6:19:57 AM [app ] [7/15/2023] [6:19:57 AM] [SSL ] › ✖ error Error: Command failed: certbot renew --non-interactive --quiet --config "/etc/letsencrypt.ini" --preferred-challenges "dns,http" --disable-hook-validation 07/15/2023 6:19:57 AM [app ] The following error was encountered: 07/15/2023 6:19:57 AM [app ] [Errno 13] Permission denied: '/var/log/letsencrypt/letsencrypt.log' 07/15/2023 6:19:57 AM [app ] Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths. 07/15/2023 6:19:57 AM [app ] at ChildProcess.exithandler (node:child_process:402:12) 07/15/2023 6:19:57 AM [app ] at ChildProcess.emit (node:events:513:28) 07/15/2023 6:19:57 AM [app ] at maybeClose (node:internal/child_process:1100:16) 07/15/2023 6:19:57 AM [app ] at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
No response
This began after I pulled my domains back from Cloudflare to Google domains. Also launched a mealie proxy (http) and it deployed just fine.
Current Behavior
Getting new permissions error when requesting SSL cert. Using unRAID
Expected Behavior
Get SSL cert and properly add proxy
Steps To Reproduce
Environment
Container creation
Container log
Container inspect
No response
Anything else?
This began after I pulled my domains back from Cloudflare to Google domains. Also launched a mealie proxy (http) and it deployed just fine.