R
Railway•6mo ago
ayham

deployment Carshed

my django app was running on the server perfectly when i made a push to my github repo and redeployed the app i got deployment Crashed
Solution:
okay then delete both, they dont seem to be serving any purpose
Jump to solution
29 Replies
Percy
Percy•6mo ago
Project ID: N/A
Fragly
Fragly•6mo ago
Seems like you pushed an update that errors, any logs?
ayham
ayham•6mo ago
the logs are : /bin/bash: line 1: gunicorn: command not found . and i didnt change anything to make an error i just edited the hero section text ?
Fragly
Fragly•6mo ago
🤔 is gunicorn in your requirements.txt
ayham
ayham•6mo ago
yes it is asgiref==3.7.2 Django==4.2.7 gunicorn==21.2.0 packaging==23.2 sqlparse==0.4.4 typing_extensions==4.8.0 here is my requirements.txt
Fragly
Fragly•6mo ago
Mind sharing full build logs using this: https://bookmarklets.up.railway.app/log-downloader/
ayham
ayham•6mo ago
done
Fragly
Fragly•6mo ago
That doesn't seem like the full build logs, did you use the link I provided?
Brody
Brody•6mo ago
deployment
Fragly
Fragly•6mo ago
ohh yea, that's the deployment logs you need to download the logs from the build-logs
ayham
ayham•6mo ago
here it is
Fragly
Fragly•6mo ago
Okay I have no idea 💀
Brody
Brody•6mo ago
fragly it says node
Fragly
Fragly•6mo ago
yea
No description
Fragly
Fragly•6mo ago
just noticed @ayham make sure you're using python to build your deployments
ayham
ayham•6mo ago
how can i make sure?
Brody
Brody•6mo ago
well actually we want to find out why it says node, do you have a package-lock.json file?
Fragly
Fragly•6mo ago
my bad brody 😭
ayham
ayham•6mo ago
{ "name": "sariPersonal", "lockfileVersion": 3, "requires": true, "packages": {} } here it is
Brody
Brody•6mo ago
send your package.json too please
ayham
ayham•6mo ago
package.json is empty only have {}
Solution
Brody
Brody•6mo ago
okay then delete both, they dont seem to be serving any purpose
ayham
ayham•6mo ago
okay and redeploy it then?
Brody
Brody•6mo ago
yep (push the changes to github)
ayham
ayham•6mo ago
wait its still deploying thank you so much you solved the problemmmm
Brody
Brody•6mo ago
it was all fragly
ayham
ayham•6mo ago
thanks for you both you are top G's