Container failed to start
I am trying to deploy and when railway is doing the build it seems to "complete" without errors, but the container fails to start and I am unsure why..
I have tried a few things I found online like setting up a dockerFile, nginx.conf and testing a local build..
Building it locally everything seems to run fine with no issues, but when building via railway it seems to fail at the end..
22 Replies
Project ID:
4192a00e-89d7-4e81-be01-005041c8e063
4192a00e-89d7-4e81-be01-005041c8e063
Please download and send your whole log file, not just the failed to start error
not seeing any obvious way to download it, so heres a copy paste.
well that didnt work
is there no copy log/download log option? 😐
From experience, the full build logs will not provide any more information, as the build itself has succeeded. maybe they have an incorrect start command set in the service settings?
ctrl / cmd + k
-> search logs
checked several screens when presing ctrl+k and none of them came up with anything to do with copying/downloading the logs
it's somewhere, maybe that's the wrong search term
either way, logs won't help here, your build did succeed
do you have a start command set in the service settings?
yes,
react-scripts start
remove it
o wait thats the package.json im sorry.. but inside of the actual settings i do have a customs tartup cvommand too
Solution
remove them
got it
well then.. that seemed to do it.. Appreciate your help very much..
This is my first time ever using a docker, also a VPS host... 😛 went pretty smooth overall
railway isn't a VPS host 🙂
tell me im a noob, without telling me im a noob
go ahead
hahaha
... you dont need to explain.. just know im clueless but ill figure it out.. i always do 🙂
thanks for the great platform
I'm just the support guy, but thank you
without you, i'd be lost.. soo thanks goes to you still 🙂
I do support on another discord for a piece of software so I know what its like 😛
ouuu software, support sounds fun