Deployment Failed during build process
I am deploying a Django web application but recently I started facing an error that says "Deployment Failed during build process". My website works on localhost but it deployment fails on Railway. This problem started yesterday when GitHub were experiencing issues with their web hooks. Could anyone help please?
The build logs:
26 Replies
Project ID:
e1bb02ff-4fef-4026-b3bd-af9b42def69c
e1bb02ff-4fef-4026-b3bd-af9b42def69c
this is the whole log?
This is the correct one
It did not work. Is there anything else I could do?
what did you do to begin with
I installed mysqlclient and added the nixpacks.toml file with the content ([phases.setup]
aptPkgs = ["...", "libmysqlclient-dev"])
that is not the message i linked to
please do what solved their issue
Thank you, I installed mysql-connector-python but still not working
send your requirements.txt
thats a 185 line file
thats absurd, are you using all those modules?
Yes but for other projects, not only this.
remove the modules from there that you are now using on this project
it did not work.
try putting
mysql-connector-python
before mysqlclient
The logs
it failed again
honestly, just use postgres instead
but one last try, remove
mysqlclient
from your requirments.txtI already use postgres for the database
then why do you have mysql?
Because I used this before. Sorry I am new to this 😅. Appreciate your patience.
^
It works now. Thanks for the help @Brody
no problem