Ola
Je viens de ma lancer dans l'installation d'xplorer (merci au passage

)
J'ai suivi à la lettre le tuto.
Par contre impossible d'accéder à la page via l'ip du server:4859.
A noter que j'utilise comme tout le monde ici (je pense) nginx.
pour info, j'ai installé ça en étant connecté en root. Apparement ça a l'air pas bien mais j'ai pas trop compris pourquoi.
D'après les logs, ça a à voir avec le fichier de config, mais je n'ai pas bien compris où le récupérer ni si c'est bien la dernière version...
Mon installation a donné ça :
-------------
Looking for a complete monitoring and management tool for PM2?
_ _ _ _
| | _____ _ _ _ __ ___ ___| |_ _ __(_) ___ ___ (_) ___
| |/ / _ \ | | | '_ ` _ \ / _ \ __| '__| |/ __/ __| | |/ _ \
| < __/ |_| | | | | | | __/ |_| | | | (__\__ \_| | (_) |
|_|\_\___|\__, |_| |_| |_|\___|\__|_| |_|\___|___(_)_|\___/
|___/
Features
- Real Time Dashboard
- CPU/Memory monitoring
- HTTP monitoring
- Event notification
- Custom value monitoring
- Real Time log display
Checkout
https://keymetrics.io/
-------------
[PM2] Spawning PM2 daemon
[PM2] PM2 Successfully daemonized
[PM2][Module] Installing module xplorer
[PM2][Module] Processing...
.........................
> bcrypt@0.8.5 install /root/.pm2/node_modules/xplorer/node_modules/bcrypt
> node-gyp rebuild
.......make: Entering directory '/root/.pm2/node_modules/xplorer/node_modules/bcrypt/build'
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
........ CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
... CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
............... SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
. COPY Release/bcrypt_lib.node
make: Leaving directory '/root/.pm2/node_modules/xplorer/node_modules/bcrypt/build'
> hiredis@0.4.1 install /root/.pm2/node_modules/xplorer/node_modules/hiredis
> node-gyp rebuild
.make: Entering directory '/root/.pm2/node_modules/xplorer/node_modules/hiredis/build'
CC(target) Release/obj.target/hiredis-c/deps/hiredis/sds.o
. CC(target) Release/obj.target/hiredis-c/deps/hiredis/read.o
AR(target) Release/obj.target/deps/hiredis-c.a
COPY Release/hiredis-c.a
CXX(target) Release/obj.target/hiredis/src/hiredis.o
. CXX(target) Release/obj.target/hiredis/src/reader.o
.. SOLINK_MODULE(target) Release/obj.target/hiredis.node
COPY Release/hiredis.node
make: Leaving directory '/root/.pm2/node_modules/xplorer/node_modules/hiredis/build'
> xplorer@3.0.2 postinstall /root/.pm2/node_modules/xplorer
> bash scripts/postinstall.sh
Updating plugins
No configuration file!
.xplorer@3.0.2 ../root/.pm2/node_modules/xplorer
├── content-disposition@0.5.1
├── connect-flash@0.1.1
├── async@1.5.2
├── memory-cache@0.1.5
├── mime@1.3.4
├── is-glob@2.0.1 (is-extglob@1.0.0)
├── minimist@1.2.0
├── ncp@2.0.0
├── cookie-parser@1.4.1 (cookie-signature@1.0.6, cookie@0.2.3)
├── method-override@2.3.5 (methods@1.1.2, parseurl@1.3.1, vary@1.0.1)
├── ipcee@1.0.5 (eventemitter2@0.4.14)
├── debug@2.2.0 (ms@0.7.1)
├── filenamify@1.2.1 (filename-reserved-regex@1.0.0, strip-outer@1.0.0, trim-repeated@1.0.0)
├── morgan@1.7.0 (on-headers@1.0.1, basic-auth@1.0.3, depd@1.1.0, on-finished@2.3.0)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── express-session@1.13.0 (cookie-signature@1.0.6, parseurl@1.3.1, cookie@0.2.3, utils-merge@1.0.0, on-headers@1.0.1, depd@1.1.0, crc@3.4.0, uid-safe@2.0.0)
├── bluebird@2.10.2
├── rss@1.2.1 (xml@1.0.1, mime-types@2.1.10)
├── body-parser@1.15.0 (content-type@1.0.1, bytes@2.2.0, depd@1.1.0, on-finished@2.3.0, qs@6.1.0, raw-body@2.1.6, http-errors@1.4.0, iconv-lite@0.4.13, type-is@1.6.12)
├── express@4.13.4 (utils-merge@1.0.0, cookie-signature@1.0.6, methods@1.1.2, vary@1.0.1, content-type@1.0.1, parseurl@1.3.1, escape-html@1.0.3, array-flatten@1.1.1, merge-descriptors@1.0.1, cookie@0.1.5, path-to-regexp@0.1.7, serve-static@1.10.2, fresh@0.3.0, range-parser@1.0.3, etag@1.7.0, depd@1.1.0, qs@4.0.0, on-finished@2.3.0, finalhandler@0.4.1, proxy-addr@1.0.10, type-is@1.6.12, accepts@1.2.13, send@0.13.1)
├── micromatch@2.3.7 (filename-regex@2.0.0, is-extglob@1.0.0, normalize-path@2.0.1, array-unique@0.2.1, extglob@0.3.2, arr-diff@2.0.0, expand-brackets@0.1.5, regex-cache@0.4.3, kind-of@3.0.2, object.omit@2.0.0, parse-glob@3.0.4, braces@1.8.3)
├── rimraf@2.5.2 (glob@7.0.3)
├── mv@2.1.1 (rimraf@2.4.5)
├── faye@1.1.2 (tunnel-agent@0.4.2, tough-cookie@2.2.2, csprng@0.1.1, faye-websocket@0.11.0)
├── promise-spawner@1.1.3 (through2@0.4.2, bluebird@1.2.4)
├── yamljs@0.2.7 (glob@4.5.3, argparse@0.1.16)
├── hamljs@0.6.2
├── pretty-bytes@2.0.1 (get-stdin@4.0.1, number-is-nan@1.0.0, meow@3.7.0)
├── got@4.2.0 (lowercase-keys@1.0.0, timed-out@2.0.0, is-redirect@1.0.0, is-plain-obj@1.1.0, prepend-http@1.0.3, is-stream@1.1.0, object-assign@3.0.0, unzip-response@1.0.0, node-status-codes@1.0.0, pinkie-promise@1.0.0, create-error-class@2.0.1, parse-json@2.2.0, read-all-stream@3.1.0, duplexify@3.4.3)
├── multer@1.1.0 (object-assign@3.0.0, xtend@4.0.1, append-field@0.1.0, on-finished@2.3.0, type-is@1.6.12, concat-stream@1.5.1, busboy@0.2.13)
├── archiver@0.14.4 (buffer-crc32@0.2.5, async@0.9.2, lazystream@0.1.0, readable-stream@1.0.34, zip-stream@0.5.2, tar-stream@1.1.5, glob@4.3.5, lodash@3.2.0)
├── moment@2.13.0
├── ioredis@1.15.1 (flexbuffer@0.0.6, double-ended-queue@2.1.0-0, lodash@3.10.1)
├── natural@0.2.1 (underscore@1.8.3, apparatus@0.0.9, sylvester@0.0.21)
├── bcrypt@0.8.5 (bindings@1.2.1, nan@2.0.5)
└── hiredis@0.4.1 (bindings@1.2.1, nan@2.2.1)
[PM2][Module] Module downloaded
[PM2][WARN] Applications index not running, starting...
[PM2] App [xplorer] launched (1 instances)
[PM2][Module] Module successfully installed and launched
[PM2][Module] : To configure module do
[PM2][Module] : $ pm2 conf <key> <value>
┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴────────┴──────────┘
Module activated
┌─────────┬─────────┬────────────┬────────┬─────────┬─────┬─────────────┐
│ Module │ version │ target PID │ status │ restart │ cpu │ memory │
├─────────┼─────────┼────────────┼────────┼─────────┼─────┼─────────────┤
│ xplorer │ N/A │ 25632 │ online │ 0 │ 7% │ 22.563 MB │
└─────────┴─────────┴────────────┴────────┴─────────┴─────┴─────────────┘
Use `pm2 show <id|name>` to get more details about an app
Et la partie log
root@....:/opt# pm2 logs
[PM2] Tailing last 20 lines for [all] processes
PM2: 2016-04-18 19:57:02: App [xplorer] with id [0] and pid [29408], exited with code [255] via signal [SIGINT]
PM2: 2016-04-18 19:57:02: Starting execution sequence in -fork mode- for app name:xplorer id:0
PM2: 2016-04-18 19:57:02: App name:xplorer id:0 online
PM2: 2016-04-18 19:57:03: App [xplorer] with id [0] and pid [29417], exited with code [255] via signal [SIGINT]
PM2: 2016-04-18 19:57:03: Starting execution sequence in -fork mode- for app name:xplorer id:0
PM2: 2016-04-18 19:57:03: App name:xplorer id:0 online
PM2: 2016-04-18 19:57:03: App [xplorer] with id [0] and pid [29426], exited with code [255] via signal [SIGINT]
PM2: 2016-04-18 19:57:03: Starting execution sequence in -fork mode- for app name:xplorer id:0
PM2: 2016-04-18 19:57:03: App name:xplorer id:0 online
PM2: 2016-04-18 19:57:03: App [xplorer] with id [0] and pid [29435], exited with code [255] via signal [SIGINT]
PM2: 2016-04-18 19:57:03: Starting execution sequence in -fork mode- for app name:xplorer id:0
PM2: 2016-04-18 19:57:03: App name:xplorer id:0 online
PM2: 2016-04-18 19:57:03: App [xplorer] with id [0] and pid [29444], exited with code [255] via signal [SIGINT]
PM2: 2016-04-18 19:57:03: Starting execution sequence in -fork mode- for app name:xplorer id:0
PM2: 2016-04-18 19:57:03: App name:xplorer id:0 online
PM2: 2016-04-18 19:57:03: App [xplorer] with id [0] and pid [29453], exited with code [255] via signal [SIGINT]
PM2: 2016-04-18 19:57:03: Starting execution sequence in -fork mode- for app name:xplorer id:0
PM2: 2016-04-18 19:57:03: App name:xplorer id:0 online
PM2: 2016-04-18 19:57:03: App [xplorer] with id [0] and pid [29462], exited with code [255] via signal [SIGINT]
PM2: 2016-04-18 19:57:03: Script /root/.pm2/node_modules/xplorer/index.js had too many unstable restarts (16). Stopped. "errored"
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (out): No configuration file!
xplorer-0 (err): at Function._load (/root/.nvm/versions/node/v4.4.3/lib/node_modules/pm2/node_modules/pmx/lib/transaction.js:62:21)
xplorer-0 (err): at Object.<anonymous> (/root/.nvm/versions/node/v4.4.3/lib/node_modules/pm2/lib/ProcessContainerFork.js:46:21)
xplorer-0 (err): at Module._compile (module.js:409:26)
xplorer-0 (err): TypeError: path must be a string
xplorer-0 (err): at TypeError (native)
xplorer-0 (err): at Object.fs.openSync (fs.js:549:18)
xplorer-0 (err): at Object.fs.readFileSync (fs.js:397:15)
xplorer-0 (err): at Function.Utils.getStringFromFile (/root/.pm2/node_modules/xplorer/node_modules/yamljs/lib/Utils.js:271:19)
xplorer-0 (err): at Function.Yaml.parseFile (/root/.pm2/node_modules/xplorer/node_modules/yamljs/lib/Yaml.js:46:21)
xplorer-0 (err): at Function.Yaml.load (/root/.pm2/node_modules/xplorer/node_modules/yamljs/lib/Yaml.js:89:17)
xplorer-0 (err): at getConfiguration (/root/.pm2/node_modules/xplorer/lib/config.js:51:34)
xplorer-0 (err): at module.exports (/root/.pm2/node_modules/xplorer/lib/config.js:139:18)
xplorer-0 (err): at Object.<anonymous> (/root/.pm2/node_modules/xplorer/index.js:9:40)
xplorer-0 (err): at Module._compile (module.js:409:26)
xplorer-0 (err): at Object.Module._extensions..js (module.js:416:10)
xplorer-0 (err): at Module.load (module.js:343:32)
xplorer-0 (err): at Function.Module._load (module.js:300:12)
xplorer-0 (err): at Function._load (/root/.nvm/versions/node/v4.4.3/lib/node_modules/pm2/node_modules/pmx/lib/transaction.js:62:21)
xplorer-0 (err): at Object.<anonymous> (/root/.nvm/versions/node/v4.4.3/lib/node_modules/pm2/lib/ProcessContainerFork.js:46:21)
xplorer-0 (err): at Module._compile (module.js:409:26)
[PM2] Streaming realtime logs for [all] processes