Site is down

https://barnabynagy.com/ Just changed MySQL server to Virginia and deployed and then it went offline. It's like this for about 30 min now. What could it be?
No description
Solution:
- add a ENABLE_ALPINE_PRIVATE_NETWORKING=true service variable - change the database__connection__host variable to ${{MySQL.RAILWAY_PRIVATE_DOMAIN}} - change the database__connection__port variable to ${{MySQL.RAILWAY_TCP_APPLICATION_PORT}} - deploy the changes...
Jump to solution
31 Replies
Percy
Percy2mo ago
Project ID: N/A
barnabynagy
barnabynagy2mo ago
N/A
Brody
Brody2mo ago
please check your deployment logs for errors
barnabynagy
barnabynagy2mo ago
No description
Brody
Brody2mo ago
what's the deployment status of your database service
barnabynagy
barnabynagy2mo ago
No description
Brody
Brody2mo ago
can you connect to it with a database client like dbgate?
Jack
Jack2mo ago
Did the volume transfer successfully as well? Think another of my projects was screwed over because it hadn’t transferred some volumes.
barnabynagy
barnabynagy2mo ago
I don't know how to do that It showed me that it sucesfully transferred to Virginia
Brody
Brody2mo ago
please see their docs - https://dbgate.org/docs/
barnabynagy
barnabynagy2mo ago
I lost you. I'm not a dev guy
Brody
Brody2mo ago
help me, help you
barnabynagy
barnabynagy2mo ago
I don't know what you mean
barnabynagy
barnabynagy2mo ago
This is the MySQL error
No description
Brody
Brody2mo ago
let me know if you can connect to the database with dbgate there are no errors there
barnabynagy
barnabynagy2mo ago
The reds are not errors?
Brody
Brody2mo ago
that is correct
barnabynagy
barnabynagy2mo ago
I was able to connect with dbgate
No description
Solution
Brody
Brody2mo ago
- add a ENABLE_ALPINE_PRIVATE_NETWORKING=true service variable - change the database__connection__host variable to ${{MySQL.RAILWAY_PRIVATE_DOMAIN}} - change the database__connection__port variable to ${{MySQL.RAILWAY_TCP_APPLICATION_PORT}} - deploy the changes
barnabynagy
barnabynagy2mo ago
I did the first one I don't see databaseconnectionhost - where is this?
Brody
Brody2mo ago
in your service variables
barnabynagy
barnabynagy2mo ago
No description
Brody
Brody2mo ago
in your ghost service, do not modify variables on your database
barnabynagy
barnabynagy2mo ago
ah
barnabynagy
barnabynagy2mo ago
Like this?
No description
Brody
Brody2mo ago
correct, one variable down, two more to go
barnabynagy
barnabynagy2mo ago
No description
Brody
Brody2mo ago
looks good to me
barnabynagy
barnabynagy2mo ago
Seems to be have worked Thank you What I cannot fathom is that why changing mysql server location would put the site down. And before these variables the site was working fine
Brody
Brody2mo ago
im at just as much of a loss as you
barnabynagy
barnabynagy2mo ago
Haha ok Thanks anyway