aaPanel_Kern
siapdok@siapdok-srv:/www/wwwroot/apiwa$ pm2 log
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/siapdok/.pm2/pm2.log last 15 lines:
PM2 | 2022-10-10T14:17:17: PM2 log: App [app:0] online
PM2 | 2022-10-10T14:17:18: PM2 log: App [app:0] exited with code [1] via signal [SIGINT]
PM2 | 2022-10-10T14:17:18: PM2 log: App [app:0] starting in -fork mode-
PM2 | 2022-10-10T14:17:18: PM2 log: App [app:0] online
PM2 | 2022-10-10T14:17:19: PM2 log: App [app:0] exited with code [1] via signal [SIGINT]
PM2 | 2022-10-10T14:17:19: PM2 log: App [app:0] starting in -fork mode-
PM2 | 2022-10-10T14:17:19: PM2 log: App [app:0] online
PM2 | 2022-10-10T14:17:19: PM2 log: App [app:0] exited with code [1] via signal [SIGINT]
PM2 | 2022-10-10T14:17:19: PM2 log: App [app:0] starting in -fork mode-
PM2 | 2022-10-10T14:17:19: PM2 log: App [app:0] online
PM2 | 2022-10-10T14:17:20: PM2 log: App [app:0] exited with code [1] via signal [SIGINT]
PM2 | 2022-10-10T14:17:20: PM2 log: App [app:0] starting in -fork mode-
PM2 | 2022-10-10T14:17:20: PM2 log: App [app:0] online
PM2 | 2022-10-10T14:17:21: PM2 log: App [app:0] exited with code [1] via signal [SIGINT]
PM2 | 2022-10-10T14:17:21: PM2 log: Script /www/wwwroot/apiwa/app.js had too many unstable restarts (16). Stopped. "errored"
/home/siapdok/.pm2/logs/app-out.log last 15 lines:
0|app | filter_env: '',
0|app | namespace: 'default',
0|app | env: '[object Object]',
0|app | merge_logs: 'true',
0|app | vizion: 'true',
0|app | autorestart: 'true',
0|app | watch: 'false',
0|app | instance_var: 'NODE_APP_INSTANCE',
0|app | pmx: 'true',
0|app | automation: 'true',
0|app | treekill: 'true',
0|app | username: 'siapdok',
0|app | windowsHide: 'true',
0|app | kill_retry_time: '100'
0|app | }
/home/siapdok/.pm2/logs/app-error.log last 15 lines:
0|app | at Object.openSync (node:fs:585:3)
0|app | at Object.writeFileSync (node:fs:2170:35)
0|app | at Object.appendFileSync (node:fs:2232:6)
0|app | at RollingFileStream._renewWriteStream (/www/wwwroot/apiwa/node_modules/streamroller/lib/RollingFileWriteStream.js:312:8)
0|app | at new RollingFileWriteStream (/www/wwwroot/apiwa/node_modules/streamroller/lib/RollingFileWriteStream.js:94:10)
0|app | at new RollingFileStream (/www/wwwroot/apiwa/node_modules/streamroller/lib/RollingFileStream.js:18:5)
0|app | at openTheStream (/www/wwwroot/apiwa/node_modules/log4js/lib/appenders/file.js:64:20)
0|app | at fileAppender (/www/wwwroot/apiwa/node_modules/log4js/lib/appenders/file.js:84:16)
0|app | at Object.configure (/www/wwwroot/apiwa/node_modules/log4js/lib/appenders/file.js:144:10)
0|app | at /www/wwwroot/apiwa/node_modules/log4js/lib/appenders/index.js:117:29 {
0|app | errno: -13,
0|app | syscall: 'open',
0|app | code: 'EACCES',
0|app | path: '/www/wwwroot/apiwa/logs.log'
0|app | }
but with add application via website -> node project it's running.