Everything was going smoothly. I saw the following and rebuilt. The build completed without errors, but my site won’t open.
-------------------------------------------------------------------------------------
UPGRADE OF POSTGRES COMPLETE
Old 13 database is stored at /shared/postgres_data_old
To complete the upgrade, rebuild again using:
./launcher rebuild app
-------------------------------------------------------------------------------------
When I run this
tail /var/discourse/shared/standalone/log/var-log/postgres/current
Output
2025-02-04 18:11:50.943 UTC [573] LOG: shutting down
2025-02-04 18:11:50.945 UTC [573] LOG: checkpoint starting: shutdown immediate
2025-02-04 18:11:50.970 UTC [573] LOG: checkpoint complete: wrote 139 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.017 s, sync=0.005 s, total=0.027 s; sync files=27, longest=0.002 s, average=0.001 s; distance=410 kB, estimate=410 kB
2025-02-04 18:11:51.034 UTC [547] LOG: database system is shut down
2025-02-04 18:15:04.302 UTC [548] LOG: starting PostgreSQL 15.10 (Debian 15.10-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2025-02-04 18:15:04.303 UTC [548] LOG: listening on IPv4 address "0.0.0.0", port 5432
2025-02-04 18:15:04.303 UTC [548] LOG: listening on IPv6 address "::", port 5432
2025-02-04 18:15:04.305 UTC [548] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2025-02-04 18:15:04.313 UTC [575] LOG: database system was shut down at 2025-02-04 18:14:37 UTC
2025-02-04 18:15:04.318 UTC [548] LOG: database system is ready to accept connections
Also ./launcher logs app
gives the following output
x86_64 arch detected.
run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/01-cleanup-web-pids
run-parts: executing /etc/runit/1.d/anacron
run-parts: executing /etc/runit/1.d/cleanup-pids
Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
run-parts: executing /etc/runit/1.d/letsencrypt
[Tue Feb 4 06:15:03 PM UTC 2025] Domains not changed.
[Tue Feb 4 06:15:03 PM UTC 2025] Skip, Next renewal time is: 2025-02-09T00:30:10Z
[Tue Feb 4 06:15:03 PM UTC 2025] Add '--force' to force to renew.
[Tue Feb 4 06:15:03 PM UTC 2025] Installing key to: /shared/ssl/forum.myforum.com.key
[Tue Feb 4 06:15:03 PM UTC 2025] Installing full chain to: /shared/ssl/forum.myforum.com.cer
[Tue Feb 4 06:15:03 PM UTC 2025] Run reload cmd: sv reload nginx
warning: nginx: unable to open supervise/ok: file does not exist
[Tue Feb 4 06:15:03 PM UTC 2025] Reload error for :
[Tue Feb 4 06:15:03 PM UTC 2025] Domains not changed.
[Tue Feb 4 06:15:03 PM UTC 2025] Skip, Next renewal time is: 2025-02-09T00:30:15Z
[Tue Feb 4 06:15:03 PM UTC 2025] Add '--force' to force to renew.
[Tue Feb 4 06:15:04 PM UTC 2025] Installing key to: /shared/ssl/forum.myforum.com_ecc.key
[Tue Feb 4 06:15:04 PM UTC 2025] Installing full chain to: /shared/ssl/forum.myforum.com_ecc.cer
[Tue Feb 4 06:15:04 PM UTC 2025] Run reload cmd: sv reload nginx
warning: nginx: unable to open supervise/ok: file does not exist
[Tue Feb 4 06:15:04 PM UTC 2025] Reload error for :
Started runsvdir, PID is 537
ok: run: redis: (pid 552) 0s
ok: run: postgres: (pid 548) 0s
nginx: [warn] duplicate extension "wasm", content type: "application/wasm", previous content type: "application/wasm" in /etc/nginx/conf.d/discourse.conf:4
supervisor pid: 546 unicorn pid: 579