Error de LetsEncrypt al reconstruir el foro

Ve este error:

I, [2025-04-14T12:47:09.997719 #1]  INFO -- : > if [ -z "$LETSENCRYPT_ACCOUNT_EMAIL" ]; then echo "LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set."; exit 1; fi
I, [2025-04-14T12:47:10.004236 #1]  INFO -- : LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set.

I, [2025-04-14T12:47:10.232706 #1]  INFO -- : Terminating async processes
I, [2025-04-14T12:47:10.237265 #1]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/15/bin/postmaster -D /etc/postgresql/15/main pid: 43
2025-04-14 12:47:10.238 UTC [43] LOG:  received fast shutdown request
I, [2025-04-14T12:47:10.239346 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 110
110:signal-handler (1744634830) Received SIGTERM scheduling shutdown...
2025-04-14 12:47:10.246 UTC [43] LOG:  aborting any active transactions
110:M 14 Apr 2025 12:47:10.469 # User requested shutdown...
110:M 14 Apr 2025 12:47:10.470 * Saving the final RDB snapshot before exiting.
2025-04-14 12:47:10.477 UTC [43] LOG:  background worker "logical replication launcher" (PID 57) exited with exit code 1
2025-04-14 12:47:10.491 UTC [52] LOG:  shutting down
2025-04-14 12:47:10.495 UTC [52] LOG:  checkpoint starting: shutdown immediate
2025-04-14 12:47:11.995 UTC [52] LOG:  checkpoint complete: wrote 220 buffers (1.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=1.475 s, sync=0.006 s, total=1.502 s; sync files=11, longest=0.004 s, average=0.001 s; distance=1706 kB, estimate=1706 kB
2025-04-14 12:47:12.475 UTC [43] LOG:  database system is shut down
110:M 14 Apr 2025 12:47:12.492 * DB saved on disk
110:M 14 Apr 2025 12:47:12.493 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: if [ -z "$LETSENCRYPT_ACCOUNT_EMAIL" ]; then echo "LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set."; exit 1; fi failed with return #<Process::Status: pid 2923 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cmd"=>["if [ -z \"$LETSENCRYPT_ACCOUNT_EMAIL\" ]; then echo \"LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set.\"; exit 1; fi", "/bin/bash -c \"if [[ ! \\\"$LETSENCRYPT_ACCOUNT_EMAIL\\\" =~ ([^@]+)@([^\\\\.]+) ]]; then echo \\\"LETSENCRYPT_ACCOUNT_EMAIL is not a valid email address\\\"; exit 1; fi\""]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
9a7cc1d7e6fbf0611632c1a8ffd0355718fd76510460435570375f22f1566651

Lamentablemente, no puedo publicar nada por encima de esto, ya que parece que no puedo desplazarme en la terminal (lo que antes podía hacer).

Mi app.yml:

Como puedes ver, mi correo electrónico de cuenta de LetsEncrypt está comentado, ya que no lo uso (creo que mi proveedor de dominio ya aplica protecciones de dominio con https en sus dominios), entonces, ¿por qué encuentro este problema?

¿Se trata de una configuración nueva o de una configuración existente con la que tiene problemas?

Si no necesita SSL, deberá deshabilitar el aprovisionamiento automático de SSL desde la plantilla de su app.yml (debería estar en la parte superior). Puede comentar estas líneas de la siguiente manera:

#  - "templates/web.ssl.template.yml"
#  - "templates/web.letsencrypt.ssl.template.yml"

Esta es una configuración existente.

Lo intentaré y te informaré al respecto.

¡Gracias!

Hola @nat Ahora tengo este error:

Mis disculpas por la imagen. No puedo desplazarme en mi terminal, así que una captura de pantalla fue lo mejor que pude.

Puedes probar echo "set -g mouse on"  ~/.tmux.conf. Pero hay varias formas de desplazarse, copiar y pegar, así que Google es el camino. Incluso man tmux podría ofrecer algo — nunca lo he probado, debo decir.

1 me gusta

No veo ningún error. La penúltima línea parece ser el id del contenedor, que generalmente se devuelve cuando ha comenzado con éxito.

Hmm… raro. La página web ni siquiera carga, sin embargo.