PG::ConnectionBad in Products#index

Showing /app/app/views/products/index.html.haml where line #5 raised:

could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Extracted source (around line #5):
3
4
5
6
7
8
              
.col12
%h1 Unsere Produkte
- @products.in_groups_of(5, nil).each do |group|
.product-teasers
- group.each do |product|
- if product.is_a? Product

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Request

Parameters:

None

Response

Headers:

None