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

express service not working okay #1

Open
moshthepitt opened this issue Feb 1, 2020 · 1 comment
Open

express service not working okay #1

moshthepitt opened this issue Feb 1, 2020 · 1 comment
Assignees

Comments

@moshthepitt
Copy link
Contributor

● express-service.service - PM2 process manager
   Loaded: loaded (/etc/systemd/system/express-service.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-02-01 14:14:39 UTC; 7min ago
     Docs: https://pm2.keymetrics.io/
  Process: 23992 ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill (code=exited, status=0/SUCCESS)
  Process: 23999 ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect (code=exited, status=0/SUCCESS)
 Main PID: 24029 (PM2 v4.2.3: God)
    Tasks: 11 (limit: 4703)
   CGroup: /system.slice/express-service.service
           └─24029 PM2 v4.2.3: God Daemon (/home/reveal-web-sta

Feb 01 14:14:39 web-reveal-stage-smartregister-org pm2[23999]: [PM2] Resurrecting
Feb 01 14:14:39 web-reveal-stage-smartregister-org pm2[23999]: [PM2] Restoring processes located in /home/reveal-web-stage/express-versi
Feb 01 14:14:39 web-reveal-stage-smartregister-org pm2[23999]: [PM2][ERROR] Failed to read dump file in /home/reveal-web-stage/express-v
Feb 01 14:14:39 web-reveal-stage-smartregister-org pm2[23999]: [PM2] Restoring processes located in /home/reveal-web-stage/express-versi
Feb 01 14:14:39 web-reveal-stage-smartregister-org pm2[23999]: [PM2][ERROR] Failed to read dump file in /home/reveal-web-stage/express-v
Feb 01 14:14:39 web-reveal-stage-smartregister-org pm2[23999]: [PM2][ERROR] No processes saved; DUMP file doesn't exist
Feb 01 14:14:39 web-reveal-stage-smartregister-org pm2[23999]: ┌─────┬───────────┬─────────────┬─────────┬─────────┬──────────┬────────┬
Feb 01 14:14:39 web-reveal-stage-smartregister-org pm2[23999]: │ id  │ name      │ namespace   │ version │ mode    │ pid      │ uptime │
Feb 01 14:14:39 web-reveal-stage-smartregister-org pm2[23999]: └─────┴───────────┴─────────────┴─────────┴─────────┴──────────┴────────┴
Feb 01 14:14:39 web-reveal-stage-smartregister-org systemd[1]: Started PM2 process manager.
@moshthepitt
Copy link
Contributor Author

moshthepitt commented Feb 1, 2020

@p-netm @jasonrogena I think how pm2 manages processes may be interefering (or interfered with) by how we build versioned app directories.

We need to investigate this.

For now, I have run pm2 manually by pm2 start dist/index.js (I ran that from this directory /home/reveal-web-stage/express/server - anything else fails)

The systemd service is failing at the moment.

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

2 participants