Django 1-Click Template Not Deploying?
Hello!
I'm trying to just deploy the default django railway template via the 1-click method here: https://github.com/railwayapp-templates/django
All I end up getting though is a project with "No deploys for this service" for the django and postgres instances.
On the deployment URL, I am returned a page with "Nothing here... yet": https://django-server-production-0aec.up.railway.app/
I'm hoping this is some major oversight on my part, and would appreciate getting this simple step working. Thank you!
GitHub
GitHub - railwayapp-templates/django: 1-Click Django on Railway
1-Click Django on Railway. Contribute to railwayapp-templates/django development by creating an account on GitHub.
32 Replies
Project ID:
f5c9722c-9af2-409d-a982-590c7177a3bd
f5c9722c-9af2-409d-a982-590c7177a3bd
if you where to deploy this template again would you face the same issue?
I've tried 3 times so far and it's ended up in the same state :/
Here's the project ID of another attempt, I deleted the third:
da05903c-68af-46f6-ac08-a76c76e911b8
can you tell me the entire flow you are using to deploy this template? there are multiple flows so I need to know what flow you are using
I am clicking the "Deploy on Railway" button on the django template in the railway-templates repo: https://github.com/railwayapp-templates/django
I've gone ahead and attached a screen recording
GitHub
GitHub - railwayapp-templates/django: 1-Click Django on Railway
1-Click Django on Railway. Contribute to railwayapp-templates/django development by creating an account on GitHub.
what happens when you deploy from the template page https://railway.app/template/GB6Eki
Same thing :/
Is there some setting I am missing or something? I already have an instance of umami analytics running, so I'm not really sure what's going on...
no no this isnt anything youre doing wrong, just wanted to narrow it down
Thread has been flagged to Railway team by @Brody.
@matt - unsable to deploy the django template, missing deployments and dashboard errors
reproduced failed builds here too. pinging some devs rn
hi
interestingly, the URL seems broken:
anyone else seeing a space in the URL instead of a dash?
yep, seeing the same thing
Yeah, I think GH broke redirects?
Oh, I see.
One sec.
I tried the deploy again and named the Github repo "railwaydjango" and the deploy worked!
Something to do with the dash?
yeah was just about to say, naming the repo during template deploy and adding a dash or removing the space would work
Was the service name changed recently?
I doubt Cooper changed it, lol.
But I can update it so it's hyphenated by default.
Updated. Will reflect in a few.
what about other templates with spaces in their service names?
Sec, trying to verify something first.
Can you link me to your broken project?
haha i already fixed it manually
np, I'll deploy a new one!
Hmm, so GH replaces spaces with
-
it seems.Yep. If I save this, it becomes
oops-oops
.also,
"updatedAt": "2023-01-25T18:43:59.659Z"
on the django service of that templateYeah, I believe it might be something GH changed as none of those flows have changed recently.
upstream breaking changes lol
Thank you guys for the help! Excited to build on Railway!
Pushing a fix for this now so it doesn't happen again. Thanks for the report.