R
Railway

✋|help

Build failed directus api template

Nninjamakara8/28/2023
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
Bbrody1928/28/2023
please provide build logs, use this https://bookmarklet.up.railway.app/log-downloader/
Nninjamakara8/28/2023
@Brody Here!
Bbrody1928/28/2023
and this was an unmodified template?
Nninjamakara8/28/2023
Nope! There was a pull request from the bot for upgrading directus version from 10.5.3 to 10.6.1
Bbrody1928/28/2023
can you send a link to the railway template
Bbrody1928/28/2023
theres no need for the pings #🛂|readme #5
I'm looking for the link to the railway template, that's a github repo
Nninjamakara8/28/2023
Bbrody1928/28/2023
why the question mark? is that the template you are having issues with or not?
lol
Nninjamakara8/28/2023
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...
Bbrody1928/28/2023
and it doesn't work as is? you haven't changed anything with the repo railway cloned into your github?
Nninjamakara8/28/2023
Yes it didn't work even though I didn't change anything!
Bbrody1928/28/2023
wanna open a github issue on the templates repo?
Nninjamakara8/28/2023
sure!
Bbrody1928/28/2023
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']
Solution
Mmedim8/28/2023
Just a follow up: the template is now fixed
Mmedim8/28/2023
sorry for not noticing the issue earlier, github didn't send a notification
Bbrody1928/28/2023
i would have pinged you here but i didnt know it was your template lol
Mmedim8/28/2023
my gh is linked on my discord profile
:AUGH:
Ppuffyfishlalala8/28/2023
Hi. I have the same problem. I redeployed and I still got the same error.
Ppuffyfishlalala8/28/2023
Ppuffyfishlalala8/28/2023
Should I delete it and just start all over again?
Mmedim8/28/2023
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:
Ppuffyfishlalala8/28/2023
Thanks. It worked.

Looking for more? Join the community!

Recommended Posts
Network Error While sending a file.I have uploaded my telegram bot on a Railway Pro plan. The bot sends file back to users through Telego-cron jobs not running in railwayHello, so I'm using the go-cron(https://github.com/go-co-op/gocron) library for managing my cron jobpnpm not foundHi! I'm having trouble building my app, and haven't had success with any of the suggestions with othDo you guys have prepaid options?Say I pay 5$ once and I get to use those 5$ worth of resources all year round. I'd rather do that thChange Heroku to RailwayI need more info because I have a problem with Heroku with my hosted proyect there WebSocket doesnt I am getting this error on my deployment```console GET failed with status code 403 (a proxy could be disallowing the use of 'Upgrade: derp')Flask app wont work with port 0.0.0.0application not respondingmemory usage doesn't decreasememory usage of one of my python processes was instantly increased to ~2700 mb, it was my mistake, bAutomated Postgres backup onto a volume ?Since now the project I was developing for a while is almost ready for production, we need to make show can i deploy my vue projecti get this errorHosting Django backend and React frontend from the same DomainI have two services, one for my backend and one for my frontend. They currently have two separate doResponse Pending with OpenAIHi I have SAAS website running on Railway using OpenAI with Next js , the problem is the endpoint noDjango backend fails to respondWhen I click on the url for my django backend (I am using react frontend in a separate service) I geReflexHi, someone deploy reflex.dev in railway? do you have a guide?The new log explorer is great, Is it possible to show the service name in there ?Currently in the log explorer the service name is an ID and I was wondering if you plan to show the What is a good / recommended resource use for a web app? Plus question about scaling.I am deploying a few applications for a client of mine. It is a multi-tenant app made in sveltekit. How to put site on maintenance mode in railway?hello everyone how do i put a site on maintenance mode in railway or 'page can not be reached' mode Service not updating to Hobby specshey! I don't know if I'm doing something wrong but I paid for the hobby plan but my service still haerror on index fileI have an index file in a folder that exports all the components in that folder for easier importinOdoo Community EditionI would like to know if we can setup Odoo in railway? The odoo image is built with docker using thi