See this 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
I can’t post anything above this, sadly, since I don’t seem to be able to scroll in the terminal (which used to be able to).
My app.yml
:
As you can see, my LetsEncrypt account email is commented out, since I don’t use it (I think my domain provider puts domain protections with https on their domains already), so why do I encounter this issue?