Tentei contornar com este arquivo, mas falhei
mv /shared/postgres_run/.s.PGSQL.5432 /shared/postgres_run/.s.PGSQL.5432.2025Feb1BackUp
root@ubuntu-s-1vcpu-1gb-nyc3-01-app:/var/www/discourse# ls -al /shared/postgres_run/.s.PGSQL.5432*
srwxrwxrwx 1 postgres postgres 0 Feb 2 03:24 /shared/postgres_run/.s.PGSQL.5432.2025Feb1BackUp
-rw------- 1 postgres postgres 62 Feb 2 03:24 /shared/postgres_run/.s.PGSQL.5432.lock
Em seguida, a reconstrução ainda falha, O cluster de origem não foi desligado corretamente.
@mwaniki
Parando o servidor de banco de dados PostgreSQL 13: main.
Parando o servidor de banco de dados PostgreSQL 15: main.
Realizando Verificações de Consistência
-----------------------------
Verificando versões do cluster ok
O cluster de origem não foi desligado corretamente.
Falha, saindo
-------------------------------------------------------------------------------------
FALHA NA ATUALIZAÇÃO DO POSTGRES
Por favor, visite https://meta.discourse.org/t/postgresql-15-update/349515 para suporte.
Você pode executar ./launcher start app para reiniciar seu aplicativo enquanto isso
FALHOU
--------------------
Pups::ExecError: 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
falhou com retorno #<Process::Status: pid 18 exit 1>
Local da falha: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec falhou com os parâmetros {"tag"=>"db", "cmd"=>"if [ -f /root/install_postgres ]; then\n /root/install_postgres && rm -f /root/install_postgres\nelif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then\n socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1\nfi\n"}
bootstrap falhou com código de saída 1
** FALHA AO INICIAR ** por favor, role para cima e procure por mensagens de erro anteriores, pode haver mais de uma.
./discourse-doctor pode ajudar a diagnosticar o problema.
931142f4cf49942fb3faf0676818c6395376c9fb6c76008d82037b0b76ae7111