DB connection is not possible.
toollab
PROOP
a year ago
Starting Container
bin/rails aborted!
ActiveRecord::ConnectionNotEstablished: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory (ActiveRecord::ConnectionNotEstablished)
Is the server running locally and accepting connections on that socket?
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year ago
Hello,
Your code is trying to connect over a socket instead of using the URL from your DATABASE_URL variable, please make sure you have the correct configurations at the application level so that your application connects via the URL defined in the DATABASE_URL variable.
Best,
Brody