4 months ago
I'm trying to deploy my django app for the first time on railway using railpack service. After deploying from github I get the green label "deployment successfull". However then I check the deploy logs I see the error: "gunicorn: error: argument --error-logfile/--log-file: expected one argument".
I tried to fix it by modifying the content of Procfile to "web: cd telecom_tracker && gunicorn telco_tracker.wsgi --log-file=-". I tried a lot of variations but still get the same error.
I even tryied to remove the Procfile and redeploy --> same error.
Can someone help me ? It is very fustrating ..
3 Replies
4 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
4 months ago
stiil no changes
4 months ago
Open your Service
Go to Settings
Scroll to Deploy Start Command
Replace whatever is there with:
gunicorn telco_tracker.wsgi:application --log-file - --bind 0.0.0.0:$PORT
Make sure:telco_trackeris your Django project folder name$PORTis used (Railway assigns the port dynamically)