Suite à Upgrade of postgres failed et PostgreSQL 12 update, nous n’avons pas pu identifier d’élément particulier susceptible de nous aider ici.
Cette installation n’est pas particulièrement volumineuse
root@pulp:/srv/www/organizations/panodata/community.panodata.org# du -sch .
661M total
et la tentative de relancer l’application dans l’ordre
échoue, car l’application Rails ne peut pas se connecter à PostgreSQL :
==> shared/standalone/log/rails/unicorn.stderr.log <==
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'