2557 Commits

Author SHA1 Message Date
Alexandre Strzelewicz
7779c8256f
Merge branch 'development' into master 2021-02-16 12:34:01 +01:00
Unitech
5a5f9e7d22 reflect metrics speed bar with pm2-sysmonit 1.2.0 2021-02-02 22:00:39 +01:00
Gajus Kuizinas
afacd98e7e refactor: replace sprintf-js with fast-printf 2021-02-01 18:55:06 -08:00
Unitech
5ad39c83b7 merge 2021-01-29 10:20:26 +01:00
Unitech
cc9714ca83 bump copyright years 2021-01-28 11:05:59 +01:00
Unitech
d535ec170d chore: fix for sysmonit updated 2021-01-14 11:43:04 +01:00
Unitech
042a32afce move sysmonitoring logic to pm2-sysmonit + fix pm2 ls 2021-01-13 13:57:18 +01:00
Unitech
d520de93a4 feat: allow pmx attribute to be string 2021-01-13 12:31:05 +01:00
Unitech
670e0a27b6 sysinfos: disable connections collection + add graphics infos 2021-01-13 10:10:41 +01:00
Unitech
a78d1dd55e hide popup on Windows - windowsHide all the way down #2182 2020-12-26 19:49:27 +01:00
Unitech
c0372a84c7 prepare 4.5.1 2020-12-16 12:35:24 +01:00
Unitech
452cc85494 upgrade systeminformation 2020-12-15 12:34:35 +01:00
Unitech
f376825922 feat: restore --sort option on pm2 ls #4536 2020-12-09 12:05:54 +01:00
Unitech
2f61ddbf42 fix: cron-restart in cluster mode + alias --cron to --cron-restart fix #4834 #4733 #4307 #4834 2020-12-09 11:55:41 +01:00
Unitech
3e004dc6d3 add udp client/server example + fix typo 2020-09-28 13:52:31 +02:00
Alexandre Strzelewicz
7f11906374
Merge pull request #4681 from guard43ru/development
Operation not permitted on call setgid, fix: #2957
2020-09-28 13:19:53 +02:00
Alexandre Strzelewicz
c4929d1108
Merge pull request #4762 from ffflorian/patch-1
fix(npm): Typo in "deleteing"
2020-09-28 13:16:28 +02:00
Unitech
b3b4c9a86e allow to pass --install to force yarn install on tarball install 2020-09-28 13:15:43 +02:00
Alexandre Strzelewicz
39286aba01
Merge pull request #4767 from ykolbin/fix_tarball_module_name_v2
fix: backward compatibility fix for tarball modules
2020-09-28 13:05:14 +02:00
Alexandre Strzelewicz
70715ae258
Merge pull request #4782 from mbrooks/master
Prevent reloadLogs command from hanging
2020-09-28 13:02:18 +02:00
Alexandre Strzelewicz
3e9b398715
Merge pull request #4791 from sbleon/fix-namespace-cli-option
Use opts.namespace if it was passed in. Previously, it was ignored.
2020-09-28 12:59:18 +02:00
Alexandre Strzelewicz
f578221ff4
Merge pull request #4808 from typhonius/am-grammar-update
Small grammar fix and addition of units to output.
2020-09-28 12:55:25 +02:00
Alexandre Strzelewicz
ff1e2f14ba
Merge pull request #4841 from web-native/development
Update ProcessContainerFork.js
2020-09-28 12:54:18 +02:00
Alexandre Strzelewicz
b79797004d
Merge pull request #4846 from QS20199/fix/creating-log-folder-in-sync-mode-2
Fix/creating log folder in sync mode.
2020-09-28 12:51:45 +02:00
Unitech
e3583a1329 fix: remote tarball install 2020-09-08 17:29:46 +02:00
qsqiu
a83a3ba351 fix: creating-log-folder-in-sync-mode 2020-09-07 15:36:48 +08:00
Oxford Harrison
1cb0427f2d
Update ProcessContainerFork.js
This commit fixes issue #4839
2020-09-04 16:24:21 +01:00
Unitech
14871cd04f pm2@4.4.1 2020-08-17 10:48:38 +02:00
Adam Malone
1ec91ccbd6
Small grammar fix and addition of units to output. 2020-08-11 20:59:11 +10:00
Leon Miller-Out
74c03accc7 Use opts.namespace if it was passed in. Previously, it was ignored.
Before:

```
$ pm2 start --namespace foo ecosystem.config.js
[PM2][WARN] Applications background_worker not running, starting...
[PM2] App [background_worker] launched (1 instances)
┌─────┬──────────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id  │ name                 │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├─────┼──────────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0   │ background_worker    │ N/A         │ 0.0.1   │ fork    │ 86094    │ 0s     │ 0    │ online    │ 0%       │ 8.5mb    │ leon     │ enabled  │
└─────┴──────────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
```

After:

```
$ pm2 start --namespace foo ecosystem.config.js
[PM2][WARN] Applications background_worker not running, starting...
[PM2] App [background_worker] launched (1 instances)
┌─────┬──────────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id  │ name                 │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├─────┼──────────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0   │ background_worker    │ foo         │ 0.0.1   │ fork    │ 86290    │ 0s     │ 0    │ online    │ 0%       │ 9.7mb    │ leon     │ enabled  │
└─────┴──────────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
```
2020-07-21 13:50:50 -04:00
Matt Brooks
08ae19e50d Prevent reloadLogs command from hanging
Previously, when the pm2 reloadLogs command was running as a non-root
user, the process will not release and hangs. The reason for the hang
is that the forked process never closes because the object is empty
and doesn't contain the expected object. This commit checks if an
object exists first, before trying to execute methods on it.

Related to: #4781

Co-authored-by: Franck Danard <fdanard@sangoma.com>
2020-07-14 23:17:37 -05:00
Iaroslav Kolbin
fd49e10739 fix: backward compatibility fix for tarball modules 2020-07-03 13:06:58 +01:00
Unitech
476331f378 feature: now stream logs of precise process id that have been acted on 2020-06-30 18:55:56 +02:00
Unitech
ad77104ec9 Merge branch 'development' 2020-06-30 18:51:18 +02:00
Unitech
c79713c4e1 test fix 2020-06-30 15:32:03 +02:00
Unitech
9095d2ddba test fix 2020-06-30 11:59:24 +02:00
Unitech
bf8caca905 #4765 automatically print applications logs on start/restart for 10secs 2020-06-30 10:47:15 +02:00
Unitech
261396c8e0 fix: now whenever there is an internal pm2 env var, skip pm2 env for starting #4761 2020-06-30 09:56:12 +02:00
Unitech
9233ea59de chore: remove message about processes not saved 2020-06-30 09:54:02 +02:00
Unitech
43d24f06cc fix: change startup/unstartup wording 2020-06-29 22:02:36 +02:00
Unitech
374fd39072 fix calling PM2 inside a script #4761 2020-06-29 21:02:35 +02:00
Unitech
e790d82212 disable autodump #4763 2020-06-29 11:20:57 +02:00
Florian Keller
6b13d421c4
fix(npm): Typo 2020-06-28 14:01:56 +02:00
Unitech
21ecc39a6b #4694 fix this.autodump is not a function 2020-05-23 12:56:47 +02:00
Unitech
caca206395 psh 2020-04-23 19:09:06 +02:00
Unitech
593b43ca66 various fixes for N14 2020-04-23 17:33:35 +02:00
Unitech
e41282df4c fixes for node 14 + shelljs 2020-04-22 21:39:32 +02:00
guard43ru
89a14669b5
Operation not permitted on call setgid, fix: #2957 2020-04-21 18:25:03 +03:00
Unitech
9d763edd9c cli-table-redemption -> cli-tableau 2020-04-19 11:57:49 +02:00
Alexandre Strzelewicz
03d0b284f6
Merge pull request #4662 from Timic3/fix/common-module-import
Add .cjs (common JS) as a viable extension
2020-04-14 11:36:58 +02:00