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.balatarin.com/users/azehkivi
https://serviceprofessionalsnetwork.com/members/azehkivi/profile/
https://www.ivoox.com/perfil-azehkivi_a8_listener_34228184_1.html
https://talk.plesk.com/members/azehkivi.323177/about
https://www.zonaeconomica.com/respuestas/user/azehkivi
https://nova-driving-school.mn.co/members/20784435
https://www.lingvolive.com/en-us/profile/adfa64e1-bbd2-45c5-bbb7-9cd234c1c7a3/
https://www.joindota.com/users/2215780-jordanharper
https://savee.it/jordanharper/
https://synkretic.mn.co/members/20783741
https://app.zintro.com/profile/zi59c338fa
https://formation.ifdd.francophonie.org/membres/howards11/profile/
https://thegameoflife-de.mn.co/members/20785539
https://armorama.com/profile/howard-stark
https://tess.elixir-europe.org/users/howards11
https://omind.mn.co/members/20806261
https://pairup.makers.tech/en/jordanh
https://chart-studio.plotly.com/~jordanharper
https://golbis.com/user/jordanharper/
https://www.exchangle.com/jordanharper
Chargement des commentaires ...