Upgrade of postgres failed および PostgreSQL 12 update に従いましたが、ここで役立つ具体的な問題は特定できませんでした。
このインストール環境は特別に大規模ではありません。
root@pulp:/srv/www/organizations/panodata/community.panodata.org# du -sch .
661M total
そして、[quote=“Falco, post:1, topic:151236”]
より良い状態に戻すために
[/quote]
アプリケーションを再度起動しようとしても失敗します。Rails アプリが PostgreSQL に接続できないためです。
==\u003e shared/standalone/log/rails/unicorn.stderr.log \u003c==
I, [2020-12-07T12:20:58.960126 #459] INFO -- : Refreshing Gem list
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/pg-1.1.4/lib/pg.rb:56:in `initialize': could not connect to server: No such file or directory (PG::ConnectionBad)
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/pg-1.1.4/lib/pg.rb:56:in `new'
from /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/pg-1.1.4/lib/pg.rb:56:in `connect'