Following the docker instructions was pretty straight forward until it was time to launch the service.
Failed command: bin/container-setup
Error:
Service 'rails' failed to build: The command '/bin/sh -c bundle check || bundle install --jobs 20 --retry 5' returned a non-zero code: 137
Happy to provide any information that would be useful, it doesn't appear the Dockerfile is versioned.
Top comments (6)
Send the first error, or entire log if you are not aware of it.
Hey Akhil,
Thanks for responding. I originally thought maybe I found the issue but I was wrong.
This is the entire output from running the command
I posted below I thought maybe it had crashed but that was not the case. I am not seeing any other logs available, please let me know if this is useful.
Let me know your VPS specifications; also, if possible, try to use a minimum of 2gb RAM. Any think less than 2GB RAM requires a lot of modifications and reallocation of ram manually.
ex: Even if you have an installation you will get run time errors and time delay errors
Let me give it a bump up and try, I'll report back.
This was attempted on a $5 a month VPS from Vultr with "1 CPU" and 1Gb of memory. If ram is the only issue I can bump to 2Gb for $10 a month. Adding another core is $20 a month.
It doesn't appear that I am shown memory usage but CPU should potentially be safe based on some charts I can see.
Will report soon, thank you!
Good news, I believe we have made it further after upgrading to 2Gb. But, I do think it has hung up.
That continues for some time, once in a while changing out with:
Looks like it errors out after some time:
Solution 01: Add this to your VPS host file:
127.0.0.1 rails
or you can do this
Solution 02: Change your
APP_DOMAIN= XX.XX.XX.XX
this is your VPS, external IP.