error 21

pedroususHOBBY

3 months ago

I have this error on my build logs, but I think that I alrrady have a good structure on my proyect, help me please: [Region: us-west1]

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

Using Nixpacks

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

context: 448a3bcd32087cb51b3279d0fd6bec28

╔══════════════════════════════ Nixpacks v1.31.0 ══════════════════════════════╗

║ setup │ python310, gcc ║

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

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

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

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

║ release │ python manage.py migrate && python manage.py collectstatic ║

║ │ --noinput ║

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

║ start │ gunicorn traslateapi.wsgi:application --bind 0.0.0.0:$PORT ║

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

Error: Writing app

Caused by:

Is a directory (os error 21) and I alrrady configure my archive .nixpacks like this : [phases.setup]
nixPkgs = ['python310', 'gcc']

[phases.install]
cmds = [
"python -m venv /opt/venv",
". /opt/venv/bin/activate",
"pip install -r requirements.txt"
]

[phases.build]
cmds = [
"python manage.py collectstatic --noinput"
]

[start]
cmd = ". /opt/venv/bin/activate && gunicorn traslateapi.wsgi:application --bind 0.0.0.0:$PORT"

View Deploy details

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

Solved

1 Replies

3 months ago

Hello,

Looks like as of 6 minutes ago you have a successful deployment!

Going to mark this as solved, but feel free to re-open!

Best,

Brody


Status changed to Solved brody 3 months ago