R
Railway•16mo ago
erabd

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
Percy
Percy•16mo ago
Project ID: e1bb02ff-4fef-4026-b3bd-af9b42def69c
erabd
erabdOP•16mo ago
e1bb02ff-4fef-4026-b3bd-af9b42def69c
jonbeau
jonbeau•16mo ago
this is the whole log?
erabd
erabdOP•16mo ago
This is the correct one
erabd
erabdOP•16mo ago
It did not work. Is there anything else I could do?
Brody
Brody•16mo ago
what did you do to begin with
erabd
erabdOP•16mo ago
I installed mysqlclient and added the nixpacks.toml file with the content ([phases.setup] aptPkgs = ["...", "libmysqlclient-dev"])
Brody
Brody•16mo ago
that is not the message i linked to please do what solved their issue
erabd
erabdOP•16mo ago
Thank you, I installed mysql-connector-python but still not working
Brody
Brody•16mo ago
send your requirements.txt
erabd
erabdOP•16mo ago
Brody
Brody•16mo ago
thats a 185 line file thats absurd, are you using all those modules?
erabd
erabdOP•16mo ago
Yes but for other projects, not only this.
Brody
Brody•16mo ago
remove the modules from there that you are now using on this project
erabd
erabdOP•16mo ago
it did not work.
Brody
Brody•16mo ago
try putting mysql-connector-python before mysqlclient
erabd
erabdOP•16mo ago
erabd
erabdOP•16mo ago
Brody
Brody•16mo ago
honestly, just use postgres instead but one last try, remove mysqlclient from your requirments.txt
erabd
erabdOP•16mo ago
I already use postgres for the database
Brody
Brody•16mo ago
then why do you have mysql?
erabd
erabdOP•16mo ago
Because I used this before. Sorry I am new to this 😅. Appreciate your patience.
Brody
Brody•16mo ago
^
erabd
erabdOP•16mo ago
It works now. Thanks for the help @Brody
Brody
Brody•16mo ago
no problem
Want results from more Discord servers?
Add your server