question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to start actionhero in cluster mode

See original GitHub issue

Name of Issue

Description of Issue

Running ./node_modules/.bin/actionhero start cluster --daemon gives a ENOENT error.

  • ActionHero Version: 21.x
  • Node.js Version: 12.x
  • Operating System: (Ubuntu)

Changing this line to the following fixes this issue

const command = path.normalize(actionheroRoot + "/bin/actionhero.js");

If this fix looks okay, i can send a PR


If your “issue” does not fit into this template, it might not be an issue! Please join our slack team and ask the question of the community. We can help!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
evantahlercommented, Jan 10, 2020

Ok… I’ll remove it then! Thanks!

0reactions
evantahlercommented, Jan 10, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

unhandled rejection in cluster mode · Issue #1222
In cluster mode my application crashes sometimes, with message (in cluster log): ... notice: *** Starting ActionHero *** actionhero-worker-2 ...
Read more >
Cluster
Actionhero can be run either as a solitary server or as part of a cluster. You can add or remove nodes from the...
Read more >
Production Notes
Here is a common Actionhero production topology: AH Cluster. Notes: It's best to separate the "workers" from the web "servers" into distinct processes....
Read more >
Running Actionhero
Actionhero v22 removes the built-in actionhero start and actionhero start cluster commands, and adds a single server.ts entrypoint for your applications.
Read more >
Tutorials
The goal of these cluster helpers is to allow you to create a group of servers which will share state and each be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found