Ich habe versucht, über die Benutzeroberfläche ein Upgrade durchzuführen, was wie unter folgendem Link beschrieben fehlgeschlagen ist:
Also habe ich mein Droplet aus einem Backup wiederhergestellt und dann versucht, manuell ein Upgrade durchzuführen.
cd /var/discourse
git pull
./launcher rebuild app
was Folgendes ergibt:
WARNING: Docker version 20.10.7 deprecated, recommend upgrade to 24.0.7 or newer.
x86_64 arch detected.
WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed
Please be patient
2.0.20240825-0027: Pulling from discourse/base
e4fff0779e6d: Pulling fs layer
04dda0e597e7: Pulling fs layer
0b0ac7902d91: Pulling fs layer
1ea0327cd622: Waiting
459f11cf96b2: Waiting
cd49b55154ee: Waiting
4f4fb700ef54: Pull complete
890a63bee26b: Pull complete
1d239a1092e9: Pull complete
7439767d748f: Pull complete
19e63282f9d1: Pull complete
6da4866029f1: Pull complete
3274548c87f4: Pull complete
fb2589b81eef: Pull complete
da453ab7ba03: Pull complete
260969aca4e8: Pull complete
0c7927423a10: Pull complete
cfdfd8bdc03e: Pull complete
f837c184a2c0: Pull complete
d14903daf553: Pull complete
01422fc4dc02: Pull complete
e918b15c8f19: Pull complete
3202b43401af: Pull complete
3fa0a48e923e: Pull complete
2f1f96b416a1: Pull complete
b5376d8069b5: Pull complete
259e102648be: Pull complete
807236570b2a: Pull complete
e98845c05b05: Pull complete
578a5e3e249f: Pull complete
6b0bf88c86e8: Pull complete
9551a14ee15e: Pull complete
8bbcc4c7a11d: Pull complete
5aff35532071: Pull complete
f73f45300530: Pull complete
42888ce727c0: Pull complete
e8467a663928: Pull complete
d2fb91f4643c: Pull complete
88fc9778a448: Pull complete
2a19d28a5a17: Pull complete
6a2d56837370: Pull complete
933885f686e0: Pull complete
aecf6df6a6bb: Pull complete
33fcdcfe61e2: Pull complete
12726a4d34c8: Pull complete
Digest: sha256:6de68cb49198b5281f79ed9401b3fe818c854d220dcf0238549fe2f2adb19146
Status: Downloaded newer image for discourse/base:2.0.20240825-0027
docker.io/discourse/base:2.0.20240825-0027
WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.yml
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 600 app
app
2.0.20240825-0027: Pulling from discourse/base
Digest: sha256:6de68cb49198b5281f79ed9401b3fe818c854d220dcf0238549fe2f2adb19146
Status: Image is up to date for discourse/base:2.0.20240825-0027
docker.io/discourse/base:2.0.20240825-0027
/usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups.rb
/usr/local/bin/pups --stdin
I, [2024-10-15T06:14:37.390458 #1] INFO -- : Reading from stdin
I, [2024-10-15T06:14:37.395803 #1] INFO -- : > echo cron is now included in base image, remove from templates
I, [2024-10-15T06:14:37.398391 #1] INFO -- : cron is now included in base image, remove from templates
I, [2024-10-15T06:14:37.408024 #1] INFO -- : File > /etc/service/postgres/run chmod: +x chown:
I, [2024-10-15T06:14:37.412237 #1] INFO -- : File > /etc/service/postgres/log/run chmod: +x chown:
I, [2024-10-15T06:14:37.416506 #1] INFO -- : File > /etc/runit/3.d/99-postgres chmod: +x chown:
I, [2024-10-15T06:14:37.420758 #1] INFO -- : File > /root/install_postgres chmod: +x chown:
I, [2024-10-15T06:14:37.424824 #1] INFO -- : File > /root/upgrade_postgres chmod: +x chown:
I, [2024-10-15T06:14:37.425837 #1] INFO -- : Replacing data_directory = '/var/lib/postgresql/13/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-15T06:14:37.426590 #1] INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-15T06:14:37.427073 #1] INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-15T06:14:37.427713 #1] INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-15T06:14:37.428194 #1] INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-15T06:14:37.428633 #1] INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-15T06:14:37.429175 #1] INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-15T06:14:37.429569 #1] INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-15T06:14:37.430001 #1] INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/13/main/postgresql.conf
I, [2024-10-15T06:14:37.430562 #1] INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres peer in /etc/postgresql/13/main/pg_hba.conf
I, [2024-10-15T06:14:37.430964 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-10-15T06:14:37.431353 #1] INFO -- : Replacing (?-mix:^host.*all.*all.*::1\/128.*$) with host all all ::/0 md5 in /etc/postgresql/13/main/pg_hba.conf
I, [2024-10-15T06:14:37.431673 #1] INFO -- : > if [ -f /root/install_postgres ]; then
/root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
fi
I, [2024-10-15T06:14:37.974529 #1] INFO -- : Generating locales (this might take a while)...
Generation complete.
I, [2024-10-15T06:14:37.975013 #1] INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main
I, [2024-10-15T06:14:37.976577 #1] INFO -- : Terminating async processes
2024-10-15 06:14:38.136 UTC [36] LOG: starting PostgreSQL 13.16 (Debian 13.16-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-10-15 06:14:38.138 UTC [36] LOG: listening on IPv4 address "0.0.0.0", port 5432
2024-10-15 06:14:38.139 UTC [36] LOG: listening on IPv6 address "::", port 5432
2024-10-15 06:14:38.143 UTC [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-10-15 06:14:38.154 UTC [37] LOG: database system was shut down at 2024-10-15 06:14:28 UTC
2024-10-15 06:14:38.176 UTC [36] LOG: database system is ready to accept connections
An diesem Punkt stoppt das Upgrade und es passiert nichts weiter, und der Server ist offline (keine Webverbindung).
Was soll ich als Nächstes versuchen?