[TAILING] Tailing last 20 lines for [vigilanza-turni] process (change the value with --lines option)
/root/.pm2/logs/vigilanza-turni-out.log last 20 lines:
0|vigilanz |
0|vigilanz | > rest-express@1.0.0 start
0|vigilanz | > NODE_ENV=production node dist/index.js
0|vigilanz |
0|vigilanz |
0|vigilanz | > rest-express@1.0.0 start
0|vigilanz | > NODE_ENV=production node dist/index.js
0|vigilanz |
0|vigilanz |
0|vigilanz | > rest-express@1.0.0 start
0|vigilanz | > NODE_ENV=production node dist/index.js
0|vigilanz |
0|vigilanz |
0|vigilanz | > rest-express@1.0.0 start
0|vigilanz | > NODE_ENV=production node dist/index.js
0|vigilanz |
0|vigilanz |
0|vigilanz | > rest-express@1.0.0 start
0|vigilanz | > NODE_ENV=production node dist/index.js
0|vigilanz |

/root/.pm2/logs/vigilanza-turni-error.log last 20 lines:
0|vigilanz | }
0|vigilanz |
0|vigilanz | Node.js v20.19.2
0|vigilanz | node:internal/modules/esm/resolve:873
0|vigilanz |   throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
0|vigilanz |         ^
0|vigilanz |
0|vigilanz | Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'vite' imported from /var/www/vigilanza-turni/dist/index.js
0|vigilanz |     at packageResolve (node:internal/modules/esm/resolve:873:9)
0|vigilanz |     at moduleResolve (node:internal/modules/esm/resolve:946:18)
0|vigilanz |     at defaultResolve (node:internal/modules/esm/resolve:1188:11)
0|vigilanz |     at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:642:12)
0|vigilanz |     at #cachedDefaultResolve (node:internal/modules/esm/loader:591:25)
0|vigilanz |     at ModuleLoader.resolve (node:internal/modules/esm/loader:574:38)
0|vigilanz |     at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:236:38)
0|vigilanz |     at ModuleJob._link (node:internal/modules/esm/module_job:130:49) {
0|vigilanz |   code: 'ERR_MODULE_NOT_FOUND'
0|vigilanz | }
0|vigilanz |
0|vigilanz | Node.js v20.19.2


 Status PM2:
┌────┬────────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name               │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├────┼────────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0  │ vigilanza-turni    │ default     │ N/A     │ fork    │ 0        │ 0      │ 978  │ errored   │ 0%       │ 0b       │ root     │ disabled │
│ 2  │ vigilanza-turni    │ default     │ N/A     │ fork    │ 26832    │ 0s     │ 11   │ online    │ 0%       │ 43.2mb   │ root     │ disabled │
│ 1  │ vtapp              │ default     │ 1.0.0   │ fork    │ 0        │ 0      │ 2    │ stopped   │ 0%       │ 0b       │ root     │ disabled │
└────┴────────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘

 Ultimi backup disponibili:
-rw-r--r-- 1 root root 3.4K Oct 16 10:24 /var/backups/vigilanza-turni/backup_20251016_102428.sql.gz
-rw-r--r-- 1 root root  479 Oct 16 10:18 /var/backups/vigilanza-turni/backup_20251016_101857.sql.gz

 Applicazione disponibile su: https://vt.alfacom.it
[root@localhost vigilanza-turni]#                      