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
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
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
Unitech
d8a6d38180
bump pm2-deploy
2020-04-14 01:03:25 +02:00
Unitech
7a5da591f5
drop date-fns
2020-04-13 12:21:41 +02:00
Unitech
195eb6e75f
drop lodash lib
2020-04-13 11:01:34 +02:00
Timotej
7323438fc6
Add .cjs (common JS) as a viable extension
2020-04-13 01:31:55 +02:00
Unitech
03f09ef24d
filter_env to skip local env variables #4596
2020-04-12 16:58:55 +02:00
Unitech
23c1e0d810
Merge branch 'master' into development
2020-04-12 16:21:58 +02:00
Alexandre Strzelewicz
00c353c5a4
Merge pull request #4517 from bvsubhash/namespace-logs
...
feat: print logs of a particular namespace
2020-04-12 16:20:33 +02:00
Alexandre Strzelewicz
a016999229
Merge pull request #4518 from bvsubhash/trigger-namespace-or-all
...
feat: trigger all the process using 'all' or trigger all processes in a particular namespace
2020-04-12 16:20:10 +02:00
Alexandre Strzelewicz
bf582e1657
Merge pull request #4561 from codpot/fix-disabling-logs
...
Fix disabling logs
2020-04-12 16:12:41 +02:00
Unitech
69984f0698
chore fix schema.json
2020-04-12 16:09:54 +02:00
Alexandre Strzelewicz
e3449beb62
Merge pull request #4639 from warpdesign/patch-2
...
Fix --cwd CLI option description
2020-04-12 16:02:55 +02:00
Unitech
8b0417b3a9
drop moment replace by dayjs -200kb
2020-04-12 15:55:32 +02:00
Unitech
7319a7f1ab
do not require cron in CLI if not needed
2020-04-12 15:49:24 +02:00
Unitech
498e96ef7b
upgrade mocha + add .mocharc.yml + mkdirp fix
2020-04-12 14:21:51 +02:00
Unitech
dd3cf08f8b
pm2 init changes + chores fixes
2020-04-12 13:35:20 +02:00
Nicolas Ramz
b06a2b2848
Fix --cwd CLI option description
...
'run target script as <username>' -> 'run target script from path <cwd>'
2020-03-22 21:57:20 +01:00
Toufik Airane
4c40fe5400
Fix Command Injection
...
Following the call on https://huntr.dev/ .
I've try to fix the Command Injection by filtering potential malicious
characters such as ;(semicolon) |(pipe) and `(quote).
More information about the issue:
https://hackerone.com/reports/630227
https://snyk.io/test/npm/pm2/2.9.3
2020-02-02 17:40:59 +01:00
adunkey
36220bb149
Update Modularizer.js
...
validate pm2 install
2020-02-01 22:01:54 +00:00
Unitech
278d4b2cbc
fix : #4588 import syntax on Node 9.x
2020-01-21 13:31:46 +01:00
Alexandre Strzelewicz
fda26d0e4f
Merge pull request #4563 from kimhc999/fix/get-pm2-path-fix
...
Fix an error for pm2 path on Windows.
2020-01-20 11:56:06 +01:00