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
If you are planning to have the company of a genuine call girl, then you can make your moment extraordinary by inviting them through our website. There are large numbers of alternatives available for adult entertainment. You can find the advertisements for busty to slim, desi to foreign, high to cheap call girls as per your requirements on the website. Hundreds of courtesans are listed on our website; find one suitable for your requirements.
https://nidhipradhan.com/
https://www.escortserviceudaipur.in/
https://bangalorenyt.in/
https://delhinyt.in/
https://goanyt.in/
https://chandigarh-escorts-service.com/
https://catchfun.in/
Chargement des commentaires ...