2 years ago
Hello,
I guess a newer directus version is being installed that does not supported by the current docker image used in template. I can not redeploy though. Any ideas?
ⓘ Deployment information is only viewable by project members and Railway employees.
5 Replies
2 years ago
Hi there,
It sounds like you're using an unmaintained Directus template. You have a few options:
Use a maintained template: railway.app/templates has a series of different Directus templates, including stats for how much they are adopted, and the successful deployment rates. This template is the most used Directus template, and I have confirmed it to work just now.
Replace the repo that fails with an image: Replace the repo that fails when you build it with a docker image. In your case, click on the Service > Settings > Under Source Repo, click Disconnect > Connect Image > enter
directus/directus. This will connect an image from Docker Hub with the latest Directus image, and you won't have trouble building it.
Regards,
Christian
Status changed to Awaiting User Response Railway • over 1 year ago
2 years ago
Please link to the template.
Hello, this is the link to initial repo. https://github.com/buildmycity/directus-starter-railway
I do not understand how this can be used as a template. There is no docker file no source pointers nothing. Is it al hidden somewhere?
Status changed to Awaiting Railway Response Railway • over 1 year ago
2 years ago
Yep, that's an unmaintained repo, please refer to the instructions christian provided.
The template he linked is the best Directus template, as it follows all the best practices and is actively maintained.
2 years ago
Thank you friends. I tried switching the template repo to the directus docker. It is building image for long. I also tried creating another project and to migrate the instance that is on prod. There were many different environment variables and I was limited on time. Let me try to trigger another deployment with that template and hope to let you know.
I would not hope such a solid help when I first opened the conversation. I sent my genuine thanks.
Status changed to Solved ray-chen • over 1 year ago
