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
http://111.hrsaratu.beget.tech/user/profile/13165
https://listography.com/8737922691?m=0580652416
https://substack.com/@jordanharper123
https://www.blogger.com/profile/13594703460543450166
https://diecast64.mn.co/members/20868560
https://findaspring.org/members/jordanharper/
https://minne.com/@howards11/profile
https://www.imagekind.com/MemberProfile.aspx?MID=d5cb2c27-2483-472b-b719-50c281c8ca64
https://www.kniterate.com/community/users/howards11/
https://www.penname.me/@howard_stark817
https://www.longisland.com/profile/jordanharper
https://dtf.ru/u/1357635-jordan-harper
https://morguefile.com/creative/Jordan%20Harper
https://www.futurelearn.com/profiles/20992859
https://www.glocktalk.com/members/jordanharper1122.349267/
https://www.adforum.com/talent/82327323-jordan-harper
https://goodnow.mn.co/members/20937463
https://virtualdj.com/user/Jordan_Harper/
https://englishclub.mn.co/members/20937656
https://www.temptalia.com/members/jordanharper/profile/
Chargement des commentaires ...