R
Railway•16mo ago
ninjamakara

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?
Solution:
Just a follow up: the template is now fixed
Jump to solution
25 Replies
Percy
Percy•16mo ago
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.
Brody
Brody•16mo ago
please provide build logs, use this https://bookmarklet.up.railway.app/log-downloader/
ninjamakara
ninjamakaraOP•16mo ago
Brody
Brody•16mo ago
and this was an unmodified template?
ninjamakara
ninjamakaraOP•16mo ago
Nope! There was a pull request from the bot for upgrading directus version from 10.5.3 to 10.6.1
Brody
Brody•16mo ago
can you send a link to the railway template
ninjamakara
ninjamakaraOP•16mo ago
GitHub
GitHub - kadumedim/directus-starter
Contribute to kadumedim/directus-starter development by creating an account on GitHub.
Brody
Brody•16mo ago
theres no need for the pings #🛂|readme #5 I'm looking for the link to the railway template, that's a github repo
Brody
Brody•16mo ago
why the question mark? is that the template you are having issues with or not? lol
ninjamakara
ninjamakaraOP•16mo ago
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...
Brody
Brody•16mo ago
and it doesn't work as is? you haven't changed anything with the repo railway cloned into your github?
ninjamakara
ninjamakaraOP•16mo ago
Yes it didn't work even though I didn't change anything!
Brody
Brody•16mo ago
wanna open a github issue on the templates repo?
ninjamakara
ninjamakaraOP•16mo ago
sure!
Brody
Brody•16mo ago
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
[phases.setup]
nixPkgs = ['...', 'python38']
[phases.setup]
nixPkgs = ['...', 'python38']
Solution
Medim
Medim•16mo ago
Just a follow up: the template is now fixed
Medim
Medim•16mo ago
sorry for not noticing the issue earlier, github didn't send a notification
Brody
Brody•16mo ago
i would have pinged you here but i didnt know it was your template lol
Medim
Medim•16mo ago
my gh is linked on my discord AUGH
puffyfishlalala
puffyfishlalala•16mo ago
Hi. I have the same problem. I redeployed and I still got the same error.
puffyfishlalala
puffyfishlalala•16mo ago
puffyfishlalala
puffyfishlalala•16mo ago
Should I delete it and just start all over again?
Medim
Medim•16mo ago
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 8010sussy
puffyfishlalala
puffyfishlalala•16mo ago
Thanks. It worked.
Want results from more Discord servers?
Add your server