Forum d'entraide
#entraide Questions/réponses
Installation : problème de connection postgres
Retenue
Bonjour,
je suis en train d'installer decidim en suivant la procédure décrite ici :
https://github.com/Platoniq/decidim-install/blob/master/decidim-bionic.md
https://github.com/Platoniq/decidim-install/blob/master/decidim-bionic.md
Les choses se déroulent (à peu près) bien, jusqu'à ce que "decidim devrait pouvoir commencer à marcher", et l'instruction suivante :
$ bin/rails db:create RAILS_ENV=production
$ bin/rails db:create RAILS_ENV=production
qui me donne la sortie suivante :
=== début sortie
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
Couldn't create 'decidim_prod' database. Please check your configuration.
rails aborted!
PG::ConnectionBad: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
bin/rails:4:in `'
Tasks: TOP => db:create
(See full trace by running task with --trace)
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
Couldn't create 'decidim_prod' database. Please check your configuration.
rails aborted!
PG::ConnectionBad: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
bin/rails:4:in `'
Tasks: TOP => db:create
(See full trace by running task with --trace)
=== fin sortie
=== début sortie
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
Couldn't create 'decidim_prod' database. Please check your configuration.
rails aborted!
PG::ConnectionBad: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
bin/rails:4:in `'
Tasks: TOP => db:create
(See full trace by running task with --trace)
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
Couldn't create 'decidim_prod' database. Please check your configuration.
rails aborted!
PG::ConnectionBad: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
bin/rails:4:in `'
Tasks: TOP => db:create
(See full trace by running task with --trace)
=== fin sortie
Je dois dire que je n'ai jamais ni installé ni même utilisé postgres.
J'ai mis en oeuvre différentes suggestions trouvées ici et là sur le web, mais sans succès.
J'ai mis en oeuvre différentes suggestions trouvées ici et là sur le web, mais sans succès.
Auriez-vous des suggestions, svp ?
J'installe sur un serveur distant (chez un hébergeur), créé pour l'occasion, et équipé avec ubuntu 18.04. La version de PostgreSQL est la 10.9.
Merci pour votre aide !
Jean-Philippe
Cette proposition a été retenue parce que :
La réponse a été apportée par Jean-Philippe en commentaire.
Signaler un contenu inapproprié
Ce contenu est-il inapproprié ?
Détails du commentaire
Vous ne voyez qu'un seul commentaire
Voir tous les commentaires
https://www.creativelive.com/student/tony-carter-57
https://coub.com/d96c91af37c3aace38fc
https://www.openstreetmap.org/user/tonycarter123
https://www.free-ebooks.net/profile/1530583/tony-carter
https://uniquethis.com/profile/tonycarter
https://www.inkitt.com/tonycarter
https://www.coursera.org/user/6bb2113e356b39c409fae5e537d094cd
https://decidim.rezero.cat/profiles/juliusogan794/activity
https://pubhtml5.com/homepage/dgfyr/
https://hypothes.is/users/tonycarter
https://forum.lexulous.com/user/tony-carter
https://www.pexels.com/@tony-carter-899709591/
https://www.anobii.com/en/019efa23b19dcfc13e/profile/
https://www.youmagine.com/joyce-briggs/
https://www.skillshare.com/en/profile/Charles-David/102587905
https://www.hulkshare.com/charlesdavid794
https://community.tableau.com/s/profile/0058b00000I2cbQ
https://roomstyler.com/users/tonycarter
https://www.metooo.io/u/65a01b25a02c3b1ea3c0557e
https://vc.ru/u/2785015-tony-carter
https://my.omsystem.com/members/tonycarter123
Chargement des commentaires ...