R
Railway11mo ago
Bruno

Pending database migration

I started my database migration in something like 1.5 hours ago and it is still pending, it's not a too big database, how should I proceed?
20 Replies
Percy
Percy11mo ago
Project ID: 9eb84c46-ddcc-42db-8446-0d4feb6e58c2
Bruno
BrunoOP11mo ago
9eb84c46-ddcc-42db-8446-0d4feb6e58c2
Brody
Brody11mo ago
what's the status on the migration modal? what does the logs of the migration service say?
Bruno
BrunoOP11mo ago
Delete Migration Service
Brody
Brody11mo ago
is the migration service crashed, active, or completed?
Bruno
BrunoOP11mo ago
hm just saw the logs now say: 2024-01-06 01:13:49.747 UTC [9931] LOG: could not receive data from client: Connection reset by peer
Brody
Brody11mo ago
that's a log from the migration service?
Bruno
BrunoOP11mo ago
right from here
No description
Brody
Brody11mo ago
what are the logs looking like on the migration service itself?
Bruno
BrunoOP11mo ago
this one? seems that it has been completed
No description
Bruno
BrunoOP11mo ago
but the legacy is still pending, so dont know if this is a problem
Brody
Brody11mo ago
you got a lot of databases there lol so I can understand your situation better, what are they all for?
Bruno
BrunoOP11mo ago
just for diferent projects, but the really important rn is the one I started the migration, is kinda of a production aplication
Brody
Brody11mo ago
what new database is result of the migration?
Bruno
BrunoOP11mo ago
this legacy created this new postgres migration
No description
Bruno
BrunoOP11mo ago
and I see the variables are not updated, so dont know if I should wait to it be updated auto or I should do it manually
No description
Brody
Brody11mo ago
that's just the migration service that transfers the data, there would have been an actual new postgres service created, what new postgres service was created as a result of this migration?
Bruno
BrunoOP11mo ago
oh okay mb, now I see the new postgres created 6a756896-0ecf-4aef-8bc8-a47663a3b6c6/data the data seems to be okay
Bruno
BrunoOP11mo ago
now I believe I can just update my backend with the new postgres url and Im good to go?
No description
Brody
Brody11mo ago
if you say the data is all there, then yes, but please use variable references https://docs.railway.app/guides/variables#referencing-another-services-variable
Want results from more Discord servers?
Add your server