Failure after Postgre migration

Hello! Sorry, I'm a beginner and I had a Laravel application with Postgres running and when I did the recommended database migration, it apparently worked but it said I should delete Postgres Legacy and when I did it it stopped working. On my PC I have access to Postgres data remotely despite being able to make a backup (this is the message: pg_dump: error: server version: 15.4 (Ubuntu 15.4-2.pgdg22.04+1); pg_dump version: 14.7 pg_dump: error: aborting because of server version mismatch) The application is no longer running:
9 Replies
Percy
Percy6mo ago
Project ID: cf2b97ee-bbc7-4ebf-bcf3-aa15a45c6f72
Pastor126
Pastor1266mo ago
project id: cf2b97ee-bbc7-4ebf-bcf3-aa15a45c6f72
Brody
Brody6mo ago
sounds like you have the old database credentials hardcoded somewhere, please use reference variables https://docs.railway.app/guides/variables#reference-variables
Pastor126
Pastor1266mo ago
As I said, I'm a beginner and I don't know how to do this. The documentation seems confusing to me.
Brody
Brody6mo ago
there is examples, please read over the docs carefully
Pastor126
Pastor1266mo ago
The variables seem correct but the application continues referencing the old DB: SQLSTATE[08006] [7] connection to server at "containers-us-west-133.railway.app" (34.82.253.61), port 5641 failed: Connection refused Is the server running on that host and accepting TCP/IP connections?
Brody
Brody6mo ago
sounds like you have the old database credentials hardcoded somewhere
Pastor126
Pastor1266mo ago
the problem is finding out where
Brody
Brody6mo ago
indeed