Ruby on Rails console fails to run at shell

Hi @dolarsrg,

Sorry for the late reply.

So it seems your application pod is crashing (OOM) when applying rails c command.
Shell is hence closed (that’s what you saw).

You can have a look to your app console, on the dashboard, there is a “service stability”, with a count to 7, meaning your application got restarted 7 times (OOM).

You should be able to overcome this issue increasing your app memory (from 512m to 1Go) for example in a first iteration and redeploy your app.

Then you go test back to use rails shell. If you get kicked out and restarts counter increased, then it needs to be increased again.

On a side note, I am not sure you were using Qovery CLI last version, I just fixed a bug on the shell sub command regarding new console URL.

You can upgrade your Qovery CLI version via:

qovery upgrade

Let me know if it helps :slight_smile:

2 Likes