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)...
[0;36m=================================================================[0m
[0;35m Ladang Cuan Kreator AI Backend - Automated PM2 Deployer [0m
[0;36m=================================================================[0m
Configuring writable system temporary environment...
Temporary directory redirected to: [0;32m/var/tmp/lck_tmp[0m
Configuring RPM macro overrides to use writable temp path...
RPM temporary path redirected to: [0;32m/root/lck_tmp[0m
[0;36m[1/8] Assessing Server OS & System Libraries...[0m
Detected System GLIBC Version: [0;32m2.17[0m
Detected OS: [0;32mCentOS Linux (centos, Version: 7)[0m
GLIBC 2.17 limitation detected. Target version: [0;32mv16[0m
[0;36m[2/8] Installing vital system build dependencies...[0m
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).
[0;36m[4/8] Installing & Setting up PM2 Process Manager globally...[0m
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: [0;32m/usr/local/lib/node_modules/pm2/bin/pm2[0m
Created direct, non-circular symlinks for /usr/bin/pm2 and /usr/local/bin/pm2.
Resolved PM2 execution command to: [0;32m/usr/bin/pm2[0m
[0;36m[5/8] Creating installation directory at /opt/lck-backend...[0m
Existing config/session detection...
Backing up existing [0;32mconfig.json[0m...
Backing up existing [0;32mcookie.json[0m...
Backing up existing [0;32mhistory.json[0m...
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.
[0;36m[6/8] Generating Self-Signed SSL Certificates...[0m
Generating a 4096 bit RSA private key
....................................................................................++
............................................................................................++
writing new private key to '/opt/lck-backend/key.pem'
-----
SSL Certificates generated.
[0;36m[7/8] Configuring Firewall to open port 1607...[0m
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.
[0;36m[8/8] Deploying process under PM2 Control Panel...[0m
Ensuring port 1607 is free from any duplicate/zombie processes...
Using fuser to clear port 1607...
[32m[PM2] [39mStarting /opt/lck-backend/server.js in fork_mode (1 instance)
[32m[PM2] [39mDone.
┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ [1m[36m0[39m[22m │ lck-backend │ default │ 1.0.0 │ [7m[1mfork[22m[27m │ 6012 │ 0s │ 0 │ [32m[1monline[22m[39m │ 0% │ 4.3mb │ [1mroot[22m │ [32m[1menabled[22m[39m │
└────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
[32m[PM2] [39mSaving current process list...
[32m[PM2] [39mSuccessfully 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...
[0;36m=================================================================[0m
[0;32m PM2 BACKEND DEPLOYED SUCCESSFULLY! [0m
[0;36m=================================================================[0m
Process Name: [0;32mlck-backend[0m
Install Path: [0;32m/opt/lck-backend[0m
Server Port: [0;32m1607[0m
Manage your application using the following PM2 commands:
- View Live Logs: [0;32mpm2 logs lck-backend[0m
- View Process Status: [0;32mpm2 status[0m
- Restart Service: [0;32mpm2 restart lck-backend[0m
- Stop Service: [0;32mpm2 stop lck-backend[0m
[0;36m=================================================================[0m