MOON
Server: Apache
System: Linux vps.erhabenn.com.br 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User: machen (1008)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //opt/lck-backend/update_temp/update.log
[2026-05-29T22:51:28.016Z] === LCK Backend AutoUpdater Init ===
[2026-05-29T22:51:28.016Z] [AutoUpdater] Initiating update from URL: https://lck.mamosa.id/dl/backend.zip
[2026-05-29T22:51:28.017Z] [AutoUpdater] Downloading backend.zip from repository...
[2026-05-29T22:51:28.385Z] [AutoUpdater] backend.zip successfully downloaded and staged.
[2026-05-29T22:51:28.386Z] [AutoUpdater] Downloading installer script from: https://lck.mamosa.id/dl/install-backend.sh...
[2026-05-29T22:51:28.543Z] [AutoUpdater] install-backend.sh successfully downloaded and staged.
[2026-05-29T22:51:28.544Z] [AutoUpdater] Spawning background installer script (install-backend.sh)...
=================================================================
     Ladang Cuan Kreator AI Backend - Automated PM2 Deployer     
=================================================================
Configuring writable system temporary environment...
Temporary directory redirected to: /var/tmp/lck_tmp
Configuring RPM macro overrides to use writable temp path...
RPM temporary path redirected to: /root/lck_tmp
[1/8] Assessing Server OS & System Libraries...
Detected System GLIBC Version: 2.17
Detected OS: CentOS Linux (centos, Version: 7)
GLIBC 2.17 limitation detected. Target version: v16
[2/8] Installing vital system build dependencies...
Loaded plugins: fastestmirror, langpacks, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4-c7: 208.74.123.57
 * cpanel-addons-production-feed: 208.74.123.57
 * cpanel-plugins: 208.74.123.57
 * epel: d2lzkl7pfhq30w.cloudfront.net
Metadata Cache Created
Loaded plugins: fastestmirror, langpacks, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4-c7: 208.74.123.57
 * cpanel-addons-production-feed: 208.74.123.57
 * cpanel-plugins: 208.74.123.57
 * epel: d2lzkl7pfhq30w.cloudfront.net
Package matching curl-7.29.0-59.el7_9.2.x86_64 already installed. Checking for update.
Package matching wget-1.14-18.el7_6.1.x86_64 already installed. Checking for update.
Package 2:tar-1.26-35.el7.x86_64 already installed and latest version
Package matching gcc-c++-4.8.5-44.el7.x86_64 already installed. Checking for update.
Package 1:make-3.82-24.el7.x86_64 already installed and latest version
Package matching 1:openssl-devel-1.0.2k-26.el7_9.x86_64 already installed. Checking for update.
Package matching unzip-6.0-24.el7_9.x86_64 already installed. Checking for update.
Nothing to do
Node.js and npm are already installed (Node: vv16.20.2, npm: v8.19.4).
[4/8] Installing & Setting up PM2 Process Manager globally...
PM2 is already installed and working (v7.0.1). Skipping reinstall...
Verifying global PM2 executable path and resolving symlinks...
Found physical PM2 CLI entrypoint at: /usr/local/lib/node_modules/pm2/bin/pm2
Created direct, non-circular symlinks for /usr/bin/pm2 and /usr/local/bin/pm2.
Resolved PM2 execution command to: /usr/bin/pm2
[5/8] Creating installation directory at /opt/lck-backend...
Existing config/session detection...
Backing up existing config.json...
Backing up existing cookie.json...
Backing up existing history.json...
Extracting deployment archive backend.zip into /opt/lck-backend...
Archive:  /opt/lck-backend/update_temp/backend.zip
  inflating: /opt/lck-backend/config.json  
  inflating: /opt/lck-backend/cookie.json  
  inflating: /opt/lck-backend/gemini-client.js  
  inflating: /opt/lck-backend/history.json  
  inflating: /opt/lck-backend/package-lock.json  
  inflating: /opt/lck-backend/package.json  
  inflating: /opt/lck-backend/sastra-service.js  
  inflating: /opt/lck-backend/seedance-router.js  
  inflating: /opt/lck-backend/server.js  
  inflating: /opt/lck-backend/ugc-service.js  
Restoring backup configurations...
Installing production packages (npm install --production)...
npm WARN config production Use `--omit=dev` instead.
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@google/generative-ai@0.24.1',
npm WARN EBADENGINE   required: { node: '>=18.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@supabase/auth-js@2.105.4',
npm WARN EBADENGINE   required: { node: '>=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@supabase/functions-js@2.105.4',
npm WARN EBADENGINE   required: { node: '>=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@supabase/postgrest-js@2.105.4',
npm WARN EBADENGINE   required: { node: '>=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@supabase/realtime-js@2.105.4',
npm WARN EBADENGINE   required: { node: '>=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@supabase/storage-js@2.105.4',
npm WARN EBADENGINE   required: { node: '>=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@supabase/supabase-js@2.105.4',
npm WARN EBADENGINE   required: { node: '>=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@vercel/blob@2.3.3',
npm WARN EBADENGINE   required: { node: '>=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'body-parser@2.2.2',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'commander@12.1.0',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'content-disposition@1.1.0',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'env-paths@4.0.0',
npm WARN EBADENGINE   required: { node: '>=20' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'eslint-scope@8.4.0',
npm WARN EBADENGINE   required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'eslint-visitor-keys@4.2.1',
npm WARN EBADENGINE   required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'express@5.2.1',
npm WARN EBADENGINE   required: { node: '>= 18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'finalhandler@2.1.1',
npm WARN EBADENGINE   required: { node: '>= 18.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'iceberg-js@0.8.1',
npm WARN EBADENGINE   required: { node: '>=20.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'is-safe-filename@0.1.1',
npm WARN EBADENGINE   required: { node: '>=20' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'javascript-obfuscator@5.4.2',
npm WARN EBADENGINE   required: { node: '>=18.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'merge-descriptors@2.0.0',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'mime-types@3.0.2',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'router@2.2.0',
npm WARN EBADENGINE   required: { node: '>= 18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'send@1.2.1',
npm WARN EBADENGINE   required: { node: '>= 18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'serve-static@2.2.1',
npm WARN EBADENGINE   required: { node: '>= 18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'throttleit@2.1.0',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'type-is@2.1.0',
npm WARN EBADENGINE   required: { node: '>= 18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'content-type@2.0.0',
npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'undici@6.25.0',
npm WARN EBADENGINE   required: { node: '>=18.17' },
npm WARN EBADENGINE   current: { node: 'v16.20.2', npm: '8.19.4' }
npm WARN EBADENGINE }

up to date, audited 126 packages in 6s

30 packages are looking for funding
  run `npm fund` for details

1 moderate severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
[6/8] Generating Self-Signed SSL Certificates...
Generating a 4096 bit RSA private key
....................................................................................++
............................................................................................++
writing new private key to '/opt/lck-backend/key.pem'
-----
SSL Certificates generated.
[7/8] Configuring Firewall to open port 1607...
FirewallD is not running
FirewallD is not running
Firewalld port 1607 opened.
iptables detected. Ensuring port 1607 is allowed...
Port 1607 rule already exists in iptables.
[8/8] Deploying process under PM2 Control Panel...
Ensuring port 1607 is free from any duplicate/zombie processes...
Using fuser to clear port 1607...
[PM2] Starting /opt/lck-backend/server.js in fork_mode (1 instance)
[PM2] Done.
┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0  │ lck-backend    │ default     │ 1.0.0   │ fork    │ 6012     │ 0s     │ 0    │ online    │ 0%       │ 4.3mb    │ root     │ enabled  │
└────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
[PM2] Saving current process list...
[PM2] Successfully saved in /root/.pm2/dump.pm2
Generating PM2 system-level startup config...
bash: line 1: $'\E[1m$': command not found
Patching PM2 systemd service to auto-restart when killed...
=================================================================
             PM2 BACKEND DEPLOYED SUCCESSFULLY!                  
=================================================================
Process Name:   lck-backend
Install Path:   /opt/lck-backend
Server Port:    1607

Manage your application using the following PM2 commands:
  - View Live Logs:      pm2 logs lck-backend
  - View Process Status: pm2 status
  - Restart Service:     pm2 restart lck-backend
  - Stop Service:        pm2 stop lck-backend
=================================================================