Build failed directus api template
I tried to deploy directus app using railway template (Directus api) and it failed every time. Does anyone know how to resolve this problem?
25 Replies
Please provide your project ID or reply with
N/A
. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.please provide build logs, use this https://bookmarklet.up.railway.app/log-downloader/
@Brody Here!
and this was an unmodified template?
Nope! There was a pull request from the bot for upgrading directus version from 10.5.3 to 10.6.1
can you send a link to the railway template
GitHub
GitHub - kadumedim/directus-starter
Contribute to kadumedim/directus-starter development by creating an account on GitHub.
theres no need for the pings #🛂|readme #5
I'm looking for the link to the railway template, that's a github repo
why the question mark? is that the template you are having issues with or not?
lol
Yes this is the template that I'm having trouble with.
I'm kinnda new with railway so just want to confirm whether it was the right link...
and it doesn't work as is? you haven't changed anything with the repo railway cloned into your github?
Yes it didn't work even though I didn't change anything!
wanna open a github issue on the templates repo?
sure!
in the mean time, it looks like it wants python, so let's give it python
add this as a nixpacks.toml file to your cloned directus repo
Solution
Just a follow up: the template is now fixed
sorry for not noticing the issue earlier, github didn't send a notification
i would have pinged you here but i didnt know it was your template lol
my gh is linked on my discord
Hi. I have the same problem. I redeployed and I still got the same error.
Should I delete it and just start all over again?
Yeah, but u can just update it by going into the service -> settings -> scrolling down and clicking 'check for update'
if railway doesn't do it automatically, it will create a PR in ur repo from the template, just merge it there and u good to go
Do what's easier for u
Thanks. It worked.