#deployment Carshed

37 messages · Page 1 of 1 (latest)

distant sphinx
#

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

safe sedgeBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

dusk geodeBOT
#

Project ID: N/A

sand osprey
#

Seems like you pushed an update that errors, any logs?

distant sphinx
#

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

#

?

sand osprey
#

🤔 is gunicorn in your requirements.txt

distant sphinx
#

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

sand osprey
distant sphinx
#

done

sand osprey
#

That doesn't seem like the full build logs, did you use the link I provided?

lavish linden
#

deployment

sand osprey
#

ohh yea, that's the deployment logs
you need to download the logs from the build-logs

distant sphinx
#

here it is

sand osprey
#

Okay I have no idea 💀

lavish linden
#

fragly it says node

sand osprey
#

just noticed

#

@distant sphinx make sure you're using python to build your deployments

distant sphinx
#

how can i make sure?

lavish linden
#

well actually we want to find out why it says node, do you have a package-lock.json file?

sand osprey
#

my bad brody 😭

distant sphinx
lavish linden
#

send your package.json too please

distant sphinx
#

package.json is empty only have {}

lavish linden
#

okay then delete both, they dont seem to be serving any purpose

distant sphinx
#

okay and redeploy it then?

lavish linden
#

yep

#

(push the changes to github)

distant sphinx
#

wait

#

its still deploying

#

thank you so much you solved the problemmmm

lavish linden
#

it was all fragly

distant sphinx
#

thanks for you both you are top G's