Update 5.1.0 > 5.2.1, unable to start
pztrn opened this issue · 1 comments
pztrn commented
cryptpad-cryptpad-1 | Removing temporary build directory (/tmp/CRYPTPAD_TEMP_BUILD/)
cryptpad-cryptpad-1 | Successfully removed /tmp/CRYPTPAD_TEMP_BUILD/
cryptpad-cryptpad-1 | 2023-03-18 16:25:59,083 INFO Set uid to user 0 succeeded
cryptpad-cryptpad-1 | 2023-03-18 16:25:59,089 CRIT Server 'unix_http_server' running without any HTTP authentication checking
cryptpad-cryptpad-1 | 2023-03-18 16:25:59,089 INFO supervisord started with pid 1
cryptpad-cryptpad-1 | 2023-03-18 16:26:00,093 INFO spawned: 'processes' with pid 26
cryptpad-cryptpad-1 | 2023-03-18 16:26:00,095 INFO spawned: 'node' with pid 27
cryptpad-cryptpad-1 | 2023-03-18 16:26:00,098 INFO spawned: 'nginx' with pid 28
cryptpad-cryptpad-1 | nginx: [emerg] "real_ip_recursive" directive is duplicate in /etc/nginx/conf.d/cryptpad.conf:18
cryptpad-cryptpad-1 | 2023-03-18 16:26:00,107 INFO exited: nginx (exit status 1; not expected)
cryptpad-cryptpad-1 | Serving content for https://pad.internal/ via http://127.0.0.1:3000.
cryptpad-cryptpad-1 |
cryptpad-cryptpad-1 | 2023-03-18 16:26:01,431 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
cryptpad-cryptpad-1 | 2023-03-18 16:26:01,431 INFO success: node entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
cryptpad-cryptpad-1 | 2023-03-18 16:26:01,434 INFO spawned: 'nginx' with pid 215
cryptpad-cryptpad-1 | nginx: [emerg] "real_ip_recursive" directive is duplicate in /etc/nginx/conf.d/cryptpad.conf:18
cryptpad-cryptpad-1 | 2023-03-18 16:26:02,443 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
cryptpad-cryptpad-1 | 2023-03-18 16:26:02,444 INFO exited: nginx (exit status 1; not expected)
cryptpad-cryptpad-1 | 2023-03-18 16:26:03,449 INFO spawned: 'nginx' with pid 216
cryptpad-cryptpad-1 | 2023-03-18 16:26:03,450 WARN received SIGQUIT indicating exit request
cryptpad-cryptpad-1 | 2023-03-18 16:26:03,450 INFO waiting for processes, node, nginx to die
cryptpad-cryptpad-1 | nginx: [emerg] "real_ip_recursive" directive is duplicate in /etc/nginx/conf.d/cryptpad.conf:18
cryptpad-cryptpad-1 | 2023-03-18 16:26:03,458 INFO stopped: nginx (exit status 1)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,525 INFO stopped: node (terminated by SIGQUIT (core dumped))
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,525 INFO reaped unknown pid 39 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,525 INFO reaped unknown pid 40 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,526 INFO reaped unknown pid 46 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,526 INFO reaped unknown pid 47 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,526 INFO reaped unknown pid 53 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,526 INFO reaped unknown pid 59 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,526 INFO reaped unknown pid 65 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,526 INFO reaped unknown pid 71 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,526 INFO reaped unknown pid 77 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,526 INFO reaped unknown pid 83 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,526 INFO reaped unknown pid 93 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,527 INFO reaped unknown pid 96 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,527 INFO reaped unknown pid 103 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,527 INFO reaped unknown pid 109 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,527 INFO reaped unknown pid 116 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,527 INFO reaped unknown pid 123 (exit status 0)
cryptpad-cryptpad-1 | 2023-03-18 16:26:04,527 INFO stopped: processes (terminated by SIGTERM)
Dockerfile envs:
CPAD_MAIN_DOMAIN: "pad.internal"
CPAD_SANDBOX_DOMAIN: "editors.internal"
CPAD_TRUSTED_PROXY: "192.168.8.20"
CPAD_REALIP_HEADER: "X-Forwarded-For"
CPAD_REALIP_RECURSIVE: "off"
CPAD_HTTP2_DISABLE: "true"
manlycucumber commented
This is similar to my issue #58. Until there is a permanent fix, you may be able to get your container back up and running by doing the following:
Attach a console to your Docker container
Navigate to /etc/nginx/conf.d/
Modify cryptpad.conf by removing the following lines (Lines 14-22):
listen [::]:443 ssl;
Set trusted proxy and header containing real client IP
set_real_ip_from 172.20.0.0/8;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
Let's Encrypt webroot
include letsencrypt-webroot;