Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overmind 2.4.0 is only running the first entry in the Procfile? #161

Open
johnmcdowall opened this issue Sep 21, 2023 · 2 comments
Open

Comments

@johnmcdowall
Copy link

I have a Procfile.dev that looks like this:

rails: bundle exec rails server -b 0.0.0.0 -p 3000
sidekiq: bundle exec sidekiq -C config/sidekiq.yml
clock: bundle exec rails runner bin/clock

I am running Overmind 2.4.0 inside a Docker container. It seems to only start the first entry of the Procfile correctly, and the other entries are marked as running but do not have a PID, and cannot be connected to.

overmind ps looks like this:

> overmind ps
PROCESS   PID       STATUS
rails     25        running
sidekiq   0        running
clock     0        running

If you try to connect you get the following error:

can't find window

I've tried moving lines around in the Procfile, and it always starts the first line entry only.

Is this a bug or am I doing something stupid? This does not happen with 2.3.0. The version of tmux installed is tmux 3.3a

@alexrudall
Copy link

Are you using docker-compose? Do you have tty: true set on the container? Try removing that.

@henrikbjorn
Copy link

@alexrudall Thanks!

This fixed the issue for me. However I must have added tty: true at some point for a reason. So this might break Docker setups for others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants