Error during deployment
tasosnikitakis
HOBBYOP

2 years ago

Hello

I am trying to deploy a django app on a postrgress database. I keep getting this error:

[Region: us-west1]

==============

Using Nixpacks

==============

context: 513a848590d8a4e8e932b03839f12d56

Nixpacks build failed

╔══════════════════════════════ Nixpacks v1.26.0 ══════════════════════════════╗

║ setup │ python311, postgresql, gcc ║

║──────────────────────────────────────────────────────────────────────────────║

║ install │ python -m venv --copies /opt/venv && . /opt/venv/bin/activate ║

║ │ && pip install -r requirements.txt ║

║──────────────────────────────────────────────────────────────────────────────║

║ start │ ║

╚══════════════════════════════════════════════════════════════════════════════╝

Error: No start command could be found

I have my procfile, requirements and runtime files in my github repo

procfile contents:

web: gunicorn store.wsgi --log-file

web: python manage.py migrate && gunicorn store.wsg

requirements contents:

asgiref==3.7.2

dj-database-url==2.2.0

Django==4.2.7

gunicorn==22.0.0

packaging==24.1

Pillow==10.1.0

psycopg2==2.9.9

python-dotenv==1.0.1

sqlparse==0.4.4

typing_extensions==4.12.2

tzdata==2023.3

urllib3==2.2.2

whitenoise==6.7.0

runtime contents:

Python 3.11.2

They seem to be in order, am I missing something?

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

Welcome!

Sign in to your Railway account to join the conversation.

Loading...