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
Prinal Kuar Best Sexy & Hot Call Girls Provider in Pune Escorts Contact Now My website
https://www.prinalkuar.com/
https://www.prinalkuar.com/agra-escorts.html
https://www.prinalkuar.com/mathura-escorts.html
https://www.prinalkuar.com/surat-escorts.html
https://www.prinalkuar.com/jodhpur-escorts.html
https://www.prinalkuar.com/dehradun-escorts.html
https://www.prinalkuar.com/udaipur-escorts.html
https://www.prinalkuar.com/nagpur-escorts.html
https://www.prinalkuar.com/raipur-escorts.html
https://www.prinalkuar.com/rajkot-escorts.html
https://www.prinalkuar.com/patna-escorts.html
https://www.prinalkuar.com/jamshedpur-escorts.html
https://www.prinalkuar.com/jhansi-escorts.html
https://www.prinalkuar.com/gorakhpur-escorts.html
https://www.prinalkuar.com/kota-escorts.html
https://www.prinalkuar.com/kochi-escorts.html
https://www.prinalkuar.com/meerut-escorts.html
https://www.prinalkuar.com/jaipur-escorts.html
https://www.prinalkuar.com/hyderabad-escorts.html
Chargement des commentaires ...