Description
Since the last update the proxy manager would't start properly. In the log I found this entry only: "TZ is unset or invalid. " This never occured bevor. Is this a bug?
When I set a TZ in the enviroment it starts again but in an unhealthy state. The log reports certificate issues but I don't how they are related to the time zone:
2023/08/06 13:27:35 [warn] 6557#6557: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2023/08/06 13:27:35 [warn] 6557#6557: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2023/08/06 13:27:35 [notice] 6557#6557: ModSecurity-nginx v1.0.3 (rules loaded inline/local/remote: 0/796/0)
[SSL ] › ℹ info Renewing TLS certs close to expiry...
[Nginx ] › ℹ info Quitting Nginx
[Nginx ] › ℹ info Starting Nginx in three seconds
[SSL ] › ℹ info Renew Complete
2023/08/06 14:27:35 [warn] 8003#8003: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2023/08/06 14:27:35 [warn] 8003#8003: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2023/08/06 14:27:35 [warn] 8003#8003: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2023/08/06 14:27:35 [notice] 8003#8003: ModSecurity-nginx v1.0.3 (rules loaded inline/local/remote: 0/796/0)
[SSL ] › ℹ info Renewing TLS certs close to expiry...
[IP Ranges] › ℹ info Fetching IP Ranges from online services...
[IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[Nginx ] › ℹ info Quitting Nginx
[Nginx ] › ℹ info Starting Nginx in three seconds
[Nginx ] › ℹ info Quitting Nginx
[Nginx ] › ℹ info Starting Nginx in three seconds
[SSL ] › ℹ info Renew Complete
node:internal/errors:865
const err = new Error(message);
^
Error: Command failed: nginx -s quit
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)
at ChildProcess.exithandler (node:child_process:421:12)
at ChildProcess.emit (node:events:514:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: 1,
killed: false,
signal: null,
cmd: 'nginx -s quit'
}
Node.js v20.5.0
Let's Encrypt certificates cleanup - 2023/08/06 15:27:32
0 file(s) kept.
0 file(s) deleted.
skipped '/data/etc/modsecurity/crs-setup.conf'
no NPM_CERT_ID set, using dummycerts for npm and default hosts.
Working on file: /data/nginx/custom/events.conf
Working on file: /data/nginx/custom/http.conf
Working on file: /data/nginx/custom/http_top.conf
Working on file: /data/nginx/custom/root.conf
Working on file: /data/nginx/custom/server_dead.conf
Working on file: /data/nginx/custom/server_proxy.conf
Working on file: /data/nginx/custom/server_redirect.conf
Working on file: /data/nginx/custom/server_stream.conf
Working on file: /data/nginx/custom/server_stream_tcp.conf
Working on file: /data/nginx/custom/server_stream_udp.conf
Working on file: /data/nginx/custom/stream.conf
Working on file: /data/nginx/default.conf
Working on file: /data/nginx/ip_ranges.conf
Working on file: /data/nginx/proxy_host/7.conf
Success.
| \ | | _ | / |
| | | |) | |/| |
| |\ | __/| | | |
|| _|| || |_|
Version: 2.10.4+991b2c1
Date: Sun Aug 6 15:27:33 UTC 2023
User: root
PUID: 0
User ID: 0
PGID: 0
Group ID: 0
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
[Global ] › ℹ info Using Sqlite: /data/etc/npm/database.sqlite
[Migrate ] › ℹ info Current database version: none
[IP Ranges] › ℹ info Fetching IP Ranges from online services...
[IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[SSL ] › ℹ info Certbot Renewal Timer initialized
[SSL ] › ℹ info Renewing TLS certs close to expiry...
[IP Ranges] › ℹ info IP Ranges Renewal Timer initialized
[Global ] › ℹ info Backend PID 784 listening on port 48693 ...
[Nginx ] › ℹ info Starting Nginx in three seconds
[SSL ] › ℹ info Renew Complete
2023/08/06 15:27:37 [warn] 826#826: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2023/08/06 15:27:37 [warn] 826#826: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2023/08/06 15:27:37 [warn] 826#826: "ssl_stapling" ignored, issuer certificate not found for certificate "/data/tls/dummycert.pem"
2023/08/06 15:27:37 [notice] 826#826: ModSecurity-nginx v1.0.3 (rules loaded inline/local/remote: 0/796/0)