a year ago
Hi there,
I'm struggling to deploy a Directus Template: https://railway.app/template/2fy758
I've migrated from replies to the template thread here since we believe this is Railway related issue.
I've got a few instances of this template running at the moment, but I haven't been able to deploy it recently in a new project.
It's getting stuck during the database migrations. I've tried different versions of Directus with no luck. I've also tried without Redis as well. Metal vs non-metal, different regions etc. with no luck.
It deploys perfectly fine in my other existing projects however.
Appreciate any help here!
7 Replies
a year ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
a year ago
Mounting volume on: /var/lib/containers/railwayapp/bind-mounts/42f5d1f2-6455-4e0a-850a-4144b3d6f848/vol_8cnkmia0rr24j149
Starting Container
[10:21:44.785] INFO: Initializing bootstrap...
[10:21:44.792] INFO: Installing Directus system tables...
[10:21:45.058] INFO: Running migrations...
[10:21:45.068] INFO: Applying Remove Collection Foreign Keys...
[10:21:45.083] INFO: Applying Remove System Relations...
[10:21:45.090] INFO: Applying Remove System Collections...
[10:21:45.108] INFO: Applying Remove System Fields...
and times out after ~5 minutes on the health check.
10 months ago
Hello,
This is because you have IPv4 private networking enabled.
There is a known issue with IPv4 private networking where some packets get dropped leading to connections hanging indefinitely, we are aware and working on a solution.
For now, please disable the IPv4 flag and re-deploy the template from scratch.
Best,
Brody
Status changed to Awaiting User Response Railway • 11 months ago
10 months ago
Hello!
We're acknowledging your issue and attaching a ticket to this thread.
We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.
Please reply to this thread if you have any questions!
10 months ago
✅ The ticket Connectivity issue with Private Networking has been marked as completed.
10 months ago
✅ The ticket Packet loss in Private Networking has been marked as completed.
10 months ago
Hello,
Update here: The previously mentioned issues with IPv4 private networking have been fixed. However, you will need to redeploy the affected services.
10 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 10 months ago