Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Server restart randomly fails #288

Open
LaszloHont opened this issue Jun 17, 2017 · 3 comments
Open

Server restart randomly fails #288

LaszloHont opened this issue Jun 17, 2017 · 3 comments
Labels
Milestone

Comments

@LaszloHont
Copy link
Contributor

When I run minicron server restart I don't get an error, but it doesn't restart either. I must do a stop then a start.

@jamesrwhite
Copy link
Owner

Can you run it with --verbose and --debug? You should then see the error that is preventing it from restarting.

@LaszloHont
Copy link
Contributor Author

restart does not do a stop first:

no acceptor (port is in use or requires root privileges)

@jamesrwhite
Copy link
Owner

Hmm, it should stop the app first and then start it again. This is handled here by the gem minicron uses for this.

I can recreate this sporadically though so I guess it's some kind of race condition.

@jamesrwhite jamesrwhite changed the title minicron server restart silently fails Server restart randomly fails Jul 2, 2017
@jamesrwhite jamesrwhite added this to the 1.0 milestone Jul 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants