Unable to build Django app
Not sure what I'm doing wrong but getting a error building a Django API, haven't changed anything related to environment variables or the code in question. Any help would be greatly appreciated.
Project ID: 9843f346-a12b-4123-a83d-6e17122da584
Logs are complaining about not being able to find django module, but I can see above it gets collected.
23 Replies
Project ID:
9843f346-a12b-4123-a83d-6e17122da584
send your requirements.txt file please
thanks for taking a look
full build logs please
are you building with your own dockerfile
no, shouldn't be
can i see your repo?
hmm that might be trickier haha, its a private company repo. What would you be looking for? Maybe i can relay information
yeah sorry
show me the files in the project
sorry just to get more context, are you looking for a docker file? the project was building 2 days ago and haven't changed anything except for code commits unrelated to deploy/environment files etc
dockerfile, nixpacks.toml, railway.json
and do you have any build or start commands set in the service settings
got it. yeah have this in settings:
gunicorn -w 4 config.wsgi --log-file -
as a start command?
yeah, seemed to be working?
do you have a build command?
in the service settings
but i checked and no other config files like railway.json, nixpacks.toml, dockerfile
show me the table at the top of your build log
^
Think I got it building again, not sure what actually fixed it but deleted a Procfile that originally used for heroku and also tried running the pending django migration locally connecting to the service, anyways no clue, thanks for the help, asking me about the files in the project led me to the Procfile
awesome, because railway does not set a release command itself