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](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248081933397786766/CleanShot_2024-06-05_at_20.10.32.png)
Solution:Jump to 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...31 Replies
Project ID:
N/A
N/A
please check your deployment logs for errors
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248082922557407232/CleanShot_2024-06-05_at_20.15.39.png)
what's the deployment status of your database service
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248084807678824548/CleanShot_2024-06-05_at_20.23.14.png)
can you connect to it with a database client like dbgate?
Did the volume transfer successfully as well? Think another of my projects was screwed over because it hadn’t transferred some volumes.
I don't know how to do that
It showed me that it sucesfully transferred to Virginia
please see their docs - https://dbgate.org/docs/
I lost you. I'm not a dev guy
help me, help you
I don't know what you mean
This is the MySQL error
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248091569215639664/CleanShot_2024-06-05_at_20.49.54.png)
let me know if you can connect to the database with dbgate
there are no errors there
The reds are not errors?
that is correct
I was able to connect with dbgate
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248093035821273098/CleanShot_2024-06-05_at_20.55.43.png)
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 changesI did the first one
I don't see databaseconnectionhost - where is this?
in your service variables
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248097855055331358/CleanShot_2024-06-05_at_21.15.04.png)
in your ghost service, do not modify variables on your database
ah
Like this?
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248098506590130217/CleanShot_2024-06-05_at_21.17.35.png)
correct, one variable down, two more to go
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1248098695883259986/CleanShot_2024-06-05_at_21.18.17.png)
looks good to me
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
im at just as much of a loss as you
Haha ok
Thanks anyway