App does not deploy 0.2.0+v4.12.1-nginx #2

Open
opened 2025-06-05 14:35:34 +00:00 by kawaiipunk · 2 comments
Owner

Sorry, messed up copy and paste here due to running in tmux.

abra app logs cryptpad.sensorica.autonomic.zone                                   │······························································
X2025-06-05T14:33:46.992645000Z 2025-06-05 14:33:46,992 INFO Set uid to user 0 succeeded                                                            │······························································
2025-06-05T14:33:47.005183000Z 2025-06-05 14:33:47,004 CRIT Server 'unix_http_server' running without any HTTP authentication checking              │······························································
[2025-06-05T14:33:47.005620000Z 2025-06-05 14:33:47,004 INFO supervisord started with pid 1                                                         │······························································
]2025-06-05T14:33:48.010293000Z 2025-06-05 14:33:48,009 INFO spawned: 'processes' with pid 18                                                       │······························································
X2025-06-05T14:33:48.015061000Z 2025-06-05 14:33:48,014 INFO spawned: 'node' with pid 19                                                            │······························································
Y2025-06-05T14:33:48.019379000Z 2025-06-05 14:33:48,018 INFO spawned: 'nginx' with pid 20                                                           │······························································
b2025-06-05T14:33:48.038370000Z 2025/06/05 14:33:48 [notice] 20#20: using the "epoll" event method                                                  │······························································
P2025-06-05T14:33:48.038669000Z 2025/06/05 14:33:48 [notice] 20#20: nginx/1.14.2                                                                    │······························································
\2025-06-05T14:33:48.038819000Z 2025/06/05 14:33:48 [notice] 20#20: OS: Linux 6.1.0-33-amd64                                                        │······························································
m2025-06-05T14:33:48.038934000Z 2025/06/05 14:33:48 [notice] 20#20: getrlimit(RLIMIT_NOFILE): 1048576:1048576                                       │······························································
Z2025-06-05T14:33:48.039074000Z 2025/06/05 14:33:48 [notice] 20#20: start worker processes                                                          │······························································
[2025-06-05T14:33:48.039314000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 26                                                         │······························································
[2025-06-05T14:33:48.039497000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 27                                                         │······························································
[2025-06-05T14:33:48.039688000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 28                                                         │······························································
[2025-06-05T14:33:48.039952000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 29                                                         │······························································
[2025-06-05T14:33:48.040176000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 30                                                         │······························································
[2025-06-05T14:33:48.040368000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 31                                                         │······························································
[2025-06-05T14:33:48.040636000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 32                                                         │······························································
[2025-06-05T14:33:48.040862000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 33                                                         │······························································
2025-06-05T14:33:48.154162000Z Config not found, loading the example config. You can customize the configuration by copying config/config.example.js│······························································
 to ../config/config.js                                                                                                                             │······························································
e2025-06-05T14:33:48.171748000Z Serving content for http://localhost:3000/ via http://127.0.0.1:3000.                                               │······························································
 2025-06-05T14:33:48.172158000Z                                                                                                                     │······························································
e2025-06-05T14:33:48.172376000Z Your instance is not correctly configured for safe use in production.                                               │······························································
X2025-06-05T14:33:48.172570000Z See http://localhost:3000/checkup/ for more information.                                                            │······························································
 2025-06-05T14:33:48.172924000Z                                                                                                                     │······························································
2025-06-05T14:33:49.174293000Z 2025-06-05 14:33:49,173 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (st│······························································
artsecs)                                                                                                                                            │······························································
2025-06-05T14:33:49.175526000Z 2025-06-05 14:33:49,173 INFO success: node entered RUNNING state, process has stayed up for > than 1 seconds (startse│······························································
cs)                                                                                                                                                 │······························································
2025-06-05T14:33:49.175842000Z 2025-06-05 14:33:49,173 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (starts│······························································
ecs)     

I'm seeing Error code: SSL_ERROR_UNRECOGNIZED_NAME_ALERT

Sorry, messed up copy and paste here due to running in tmux. ``` abra app logs cryptpad.sensorica.autonomic.zone │······························································ X2025-06-05T14:33:46.992645000Z 2025-06-05 14:33:46,992 INFO Set uid to user 0 succeeded │······························································ 2025-06-05T14:33:47.005183000Z 2025-06-05 14:33:47,004 CRIT Server 'unix_http_server' running without any HTTP authentication checking │······························································ [2025-06-05T14:33:47.005620000Z 2025-06-05 14:33:47,004 INFO supervisord started with pid 1 │······························································ ]2025-06-05T14:33:48.010293000Z 2025-06-05 14:33:48,009 INFO spawned: 'processes' with pid 18 │······························································ X2025-06-05T14:33:48.015061000Z 2025-06-05 14:33:48,014 INFO spawned: 'node' with pid 19 │······························································ Y2025-06-05T14:33:48.019379000Z 2025-06-05 14:33:48,018 INFO spawned: 'nginx' with pid 20 │······························································ b2025-06-05T14:33:48.038370000Z 2025/06/05 14:33:48 [notice] 20#20: using the "epoll" event method │······························································ P2025-06-05T14:33:48.038669000Z 2025/06/05 14:33:48 [notice] 20#20: nginx/1.14.2 │······························································ \2025-06-05T14:33:48.038819000Z 2025/06/05 14:33:48 [notice] 20#20: OS: Linux 6.1.0-33-amd64 │······························································ m2025-06-05T14:33:48.038934000Z 2025/06/05 14:33:48 [notice] 20#20: getrlimit(RLIMIT_NOFILE): 1048576:1048576 │······························································ Z2025-06-05T14:33:48.039074000Z 2025/06/05 14:33:48 [notice] 20#20: start worker processes │······························································ [2025-06-05T14:33:48.039314000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 26 │······························································ [2025-06-05T14:33:48.039497000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 27 │······························································ [2025-06-05T14:33:48.039688000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 28 │······························································ [2025-06-05T14:33:48.039952000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 29 │······························································ [2025-06-05T14:33:48.040176000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 30 │······························································ [2025-06-05T14:33:48.040368000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 31 │······························································ [2025-06-05T14:33:48.040636000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 32 │······························································ [2025-06-05T14:33:48.040862000Z 2025/06/05 14:33:48 [notice] 20#20: start worker process 33 │······························································ 2025-06-05T14:33:48.154162000Z Config not found, loading the example config. You can customize the configuration by copying config/config.example.js│······························································ to ../config/config.js │······························································ e2025-06-05T14:33:48.171748000Z Serving content for http://localhost:3000/ via http://127.0.0.1:3000. │······························································ 2025-06-05T14:33:48.172158000Z │······························································ e2025-06-05T14:33:48.172376000Z Your instance is not correctly configured for safe use in production. │······························································ X2025-06-05T14:33:48.172570000Z See http://localhost:3000/checkup/ for more information. │······························································ 2025-06-05T14:33:48.172924000Z │······························································ 2025-06-05T14:33:49.174293000Z 2025-06-05 14:33:49,173 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (st│······························································ artsecs) │······························································ 2025-06-05T14:33:49.175526000Z 2025-06-05 14:33:49,173 INFO success: node entered RUNNING state, process has stayed up for > than 1 seconds (startse│······························································ cs) │······························································ 2025-06-05T14:33:49.175842000Z 2025-06-05 14:33:49,173 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (starts│······························································ ecs) ``` I'm seeing Error code: SSL_ERROR_UNRECOGNIZED_NAME_ALERT
Author
Owner

Need to add a wildcard cert for *.cryptpad.sensorica.autonomic.zone

README needs improving.

Need to add a wildcard cert for *.cryptpad.sensorica.autonomic.zone README needs improving.
Author
Owner

Deployed but the app is struggling. Some stuff is set to run on localhost:3001 and CSP is blocking it:

Content-Security-Policy: The page’s settings blocked the loading of a resource (frame-src) at http://localhost:3001/code/inner.html?ver=4.12.1-1749134601858#%7B%22cfg%22%3A%7B%22baseUrl%22%3A%22%2Fcode%2F%22%2C%22paths%22%3A%7B%22text%22%3A%22%2Fbower_components%2Frequirejs-plugins%2Flib%2Ftext%22%2C%22json%22%3A%22%2Fbower_components%2Frequirejs-plugins%2Fsrc%2Fjson%22%2C%22jquery%22%3A%22%2Fbower_components%2Fjquery%2Fdist%2Fjquery.min%22%2C%22mermaid%22%3A%22%2Fcode%2Fmermaid.min%22%2C%22json.sortify%22%3A%22%2Fbower_components%2Fjson.sortify%2Fdist%2FJSON.sortify%22%2C%22cm%22%3A%22%2Fbower_components%2Fcodemirror%22%2C%22tui-code-snippet%22%3A%22%2Flib%2Fcalendar%2Ftui-code-snippet.min%22%2C%22tui-date-picker%22%3A%22%2Flib%2Fcalendar%2Fdate-picker%22%2C%22netflux-client%22%3A%22%2Fbower_components%2Fnetflux-websocket%2Fnetflux-client%22%2C%22chainpad-netflux%22%3A%22%2Fbower_components%2Fchainpad-netflux%2Fchainpad-netflux%22%2C%22chainpad-listmap%22%3A%22%2Fbower_components%2Fchainpad-listmap%2Fchainpad-listmap%22%7D%2C%22map%22%3A%7B%22*%22%3A%7B%22css%22%3A%22%2Fbower_components%2Frequire-css%2Fcss.js%22%2C%22less%22%3A%22%2Fcommon%2FRequireLess.js%22%7D%7D%2C%22waitSeconds%22%3A600%2C%22urlArgs%22%3A%22ver%3D4.12.1-1749134601858%22%7D%2C%22req%22%3A%5B%22%2Fcommon%2Floading.js%22%5D%2C%22pfx%22%3A%22https%3A%2F%2Fcryptpad.sensorica.autonomic.zone%22%2C%22themeOS%22%3A%22dark%22%2C%22lang%22%3A%22en%22%7D because it violates the following directive: “frame-src 'self' https://sandbox.cryptpad.sensorica.autonomic.zone blob:”
``
Deployed but the app is struggling. Some stuff is set to run on localhost:3001 and CSP is blocking it: ``` Content-Security-Policy: The page’s settings blocked the loading of a resource (frame-src) at http://localhost:3001/code/inner.html?ver=4.12.1-1749134601858#%7B%22cfg%22%3A%7B%22baseUrl%22%3A%22%2Fcode%2F%22%2C%22paths%22%3A%7B%22text%22%3A%22%2Fbower_components%2Frequirejs-plugins%2Flib%2Ftext%22%2C%22json%22%3A%22%2Fbower_components%2Frequirejs-plugins%2Fsrc%2Fjson%22%2C%22jquery%22%3A%22%2Fbower_components%2Fjquery%2Fdist%2Fjquery.min%22%2C%22mermaid%22%3A%22%2Fcode%2Fmermaid.min%22%2C%22json.sortify%22%3A%22%2Fbower_components%2Fjson.sortify%2Fdist%2FJSON.sortify%22%2C%22cm%22%3A%22%2Fbower_components%2Fcodemirror%22%2C%22tui-code-snippet%22%3A%22%2Flib%2Fcalendar%2Ftui-code-snippet.min%22%2C%22tui-date-picker%22%3A%22%2Flib%2Fcalendar%2Fdate-picker%22%2C%22netflux-client%22%3A%22%2Fbower_components%2Fnetflux-websocket%2Fnetflux-client%22%2C%22chainpad-netflux%22%3A%22%2Fbower_components%2Fchainpad-netflux%2Fchainpad-netflux%22%2C%22chainpad-listmap%22%3A%22%2Fbower_components%2Fchainpad-listmap%2Fchainpad-listmap%22%7D%2C%22map%22%3A%7B%22*%22%3A%7B%22css%22%3A%22%2Fbower_components%2Frequire-css%2Fcss.js%22%2C%22less%22%3A%22%2Fcommon%2FRequireLess.js%22%7D%7D%2C%22waitSeconds%22%3A600%2C%22urlArgs%22%3A%22ver%3D4.12.1-1749134601858%22%7D%2C%22req%22%3A%5B%22%2Fcommon%2Floading.js%22%5D%2C%22pfx%22%3A%22https%3A%2F%2Fcryptpad.sensorica.autonomic.zone%22%2C%22themeOS%22%3A%22dark%22%2C%22lang%22%3A%22en%22%7D because it violates the following directive: “frame-src 'self' https://sandbox.cryptpad.sensorica.autonomic.zone blob:” ``
Sign in to join this conversation.
No description provided.