R
Railwayβ€’12mo 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β€’12mo ago
Project ID: N/A
Fragly
Fraglyβ€’12mo ago
Seems like you pushed an update that errors, any logs?
ayham
ayhamOPβ€’12mo 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β€’12mo ago
πŸ€” is gunicorn in your requirements.txt
ayham
ayhamOPβ€’12mo 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β€’12mo ago
Mind sharing full build logs using this: https://bookmarklets.up.railway.app/log-downloader/
ayham
ayhamOPβ€’12mo ago
done
Fragly
Fraglyβ€’12mo ago
That doesn't seem like the full build logs, did you use the link I provided?
Brody
Brodyβ€’12mo ago
deployment
Fragly
Fraglyβ€’12mo ago
ohh yea, that's the deployment logs you need to download the logs from the build-logs
ayham
ayhamOPβ€’12mo ago
here it is
Fragly
Fraglyβ€’12mo ago
Okay I have no idea πŸ’€
Brody
Brodyβ€’12mo ago
fragly it says node
Fragly
Fraglyβ€’12mo ago
yea
No description
Fragly
Fraglyβ€’12mo ago
just noticed @ayham make sure you're using python to build your deployments
ayham
ayhamOPβ€’12mo ago
how can i make sure?
Brody
Brodyβ€’12mo ago
well actually we want to find out why it says node, do you have a package-lock.json file?
Fragly
Fraglyβ€’12mo ago
my bad brody 😭
ayham
ayhamOPβ€’12mo ago
{ "name": "sariPersonal", "lockfileVersion": 3, "requires": true, "packages": {} } here it is
Brody
Brodyβ€’12mo ago
send your package.json too please
ayham
ayhamOPβ€’12mo ago
package.json is empty only have {}
Solution
Brody
Brodyβ€’12mo ago
okay then delete both, they dont seem to be serving any purpose
ayham
ayhamOPβ€’12mo ago
okay and redeploy it then?
Brody
Brodyβ€’12mo ago
yep (push the changes to github)
ayham
ayhamOPβ€’12mo ago
wait its still deploying thank you so much you solved the problemmmm
Brody
Brodyβ€’12mo ago
it was all fragly
ayham
ayhamOPβ€’12mo ago
thanks for you both you are top G's
Want results from more Discord servers?
Add your server