Support Forum
#supportforum Any doubts or questions on how to use Decidim? Check them with the Community!
Installation process: postgres connection problem
Hello,
I'm trying to install decidim following the nice step-by-step procedure described at
https://github.com/Platoniq/decidim-install/blob/master/decidim-bionic.md
but I am stuck in the middle :-(
At the point where "Decidim should be able to start working", I have a problem with the following command:
$ bin/rails db:create RAILS_ENV=production
which triggers the following output:
=== beginning output
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)
==== end output
I must say that I have never come across postgres before and I have no knowledge of it.
I have been applying all kinds of suggestions found on postgres forums but nothing seems to work: any suggestions?
I have installed postgreSQL 10.9 on an Ubuntu 18.04 server (installed from scratch).
Thank you for your help.
Cheers,
JP
Report inappropriate content
Is this content inappropriate?
2 comments
As this seems something particular with the guide, I answered there.
It seems to me though that you still have problems to get up and running postgresql
I installed decidim and ran the demo thanks to https://docs.decidim.org/en/install/
Add your comment
Sign in with your account or sign up to add your comment.
Loading comments ...