[root@87-107-108-212 public_html]# \cp dist/public/assets/* /home/pardehstore/public_html/assets/
[root@87-107-108-212 public_html]# chown -R pardehstore:pardehstore /home/pardehstore/public_html/assets/
[root@87-107-108-212 public_html]# pm2 restart curtain-store --update-env
[PM2] Applying action restartProcessId on app [curtain-store](ids: [ 0 ])
[PM2] [curtain-store](0) ✓
┌────┬──────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name             │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├────┼──────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0  │ curtain-store    │ default     │ 1.0.0   │ fork    │ 89343    │ 0s     │ 1    │ online    │ 0%       │ 24.5mb   │ root     │ disabled │
└────┴──────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
[root@87-107-108-212 public_html]# sleep 3
[root@87-107-108-212 public_html]# pm2 logs curtain-store --lines 10
[TAILING] Tailing last 10 lines for [curtain-store] process (change the value with --lines option)
/root/.pm2/logs/curtain-store-error.log last 10 lines:
0|curtain- |       fingerprint256: '9C:A4:B0:B5:6C:C5:F6:3B:EE:45:95:40:AF:72:C8:6B:05:91:9C:8D:D6:A9:67:4C:08:C9:6A:B9:1B:14:79:C7',
0|curtain- |       fingerprint512: 'B9:37:F5:57:6F:5E:DD:BD:94:F3:EF:C8:97:D2:FD:0F:A7:02:3B:78:88:4A:75:F6:6E:4E:A8:4E:C3:63:DB:22:EA:BE:C9:F1:F6:1F:B9:88:F1:26:E4:1A:10:24:32:68:53:DD:12:21:12:7E:13:45:77:52:F9:8B:8B:C1:70:1B',
0|curtain- |       ext_key_usage: [Array],
0|curtain- |       serialNumber: '06ADC0807AC9EEC2DD235C9D8B7AB206FE89',
0|curtain- |       raw: <Buffer 30 82 05 05 30 82 03 ed a0 03 02 01 02 02 12 06 ad c0 80 7a c9 ee c2 dd 23 5c 9d 8b 7a b2 06 fe 89 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 33 ... 1239 more bytes>,
0|curtain- |       issuerCertificate: [Object]
0|curtain- |     }
0|curtain- |   },
0|curtain- |   [Symbol(kMessage)]: "Hostname/IP does not match certificate's altnames: Host: localhost. is not in the cert's altnames: DNS:87-107-108-212.cprapid.com"
0|curtain- | }

/root/.pm2/logs/curtain-store-out.log last 10 lines:
0|curtain- | 7:27:01 PM [express] POST /api/categories 400 in 23ms :: {"message":"Hostname/IP does not match cert…
0|curtain- | 7:27:01 PM [express] POST /api/categories 400 in 25ms :: {"message":"Hostname/IP does not match cert…
0|curtain- | 7:27:01 PM [express] POST /api/categories 400 in 31ms :: {"message":"Hostname/IP does not match cert…
0|curtain- | 7:27:02 PM [express] POST /api/categories 400 in 26ms :: {"message":"Hostname/IP does not match cert…
0|curtain- | 7:27:26 PM [express] GET /api/categories 500 in 82ms :: {"message":"Failed to fetch categories"}
0|curtain- | 7:27:26 PM [express] GET /api/products 500 in 79ms :: {"message":"Failed to fetch products"}
0|curtain- | 7:27:45 PM [express] POST /api/upload 200 in 79ms :: {"success":true,"url":"/uploads/product-1772065…
0|curtain- | 7:27:50 PM [express] POST /api/upload 200 in 395ms :: {"success":true,"url":"/uploads/product-177206…
0|curtain- | 7:27:58 PM [express] POST /api/products 400 in 35ms :: {"message":"Hostname/IP does not match certif…
0|curtain- | 7:46:05 PM [express] serving on port 3000

