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