[public_html/misipintar/misipintar-1.0 (22)] [smknwon2@tirtonirmolo misipintar-1.0]$ bash deploy.sh════════════════════════════════════════════════════════ MisiPintar — Deploy Script Dir : /home/smknwon2/public_html/misipintar/misipintar-1.0 Date: Thu Jul 23 21:12:20 WIB 2026 ════════════════════════════════════════════════════════ ▶ [1/5] Git pull origin main ... remote: Enumerating objects: 508, done. remote: Counting objects: 100% (508/508), done. remote: Compressing objects: 100% (225/225), done. remote: Total 508 (delta 226), reused 508 (delta 226), pack-reused 0 (from 0) Receiving objects: 100% (508/508), 1.06 MiB | 17.00 KiB/s, done. Resolving deltas: 100% (226/226), completed with 132 local objects. From https://github.com/001753/misipintar-1.0 129461d..0f62458 main -> origin/main Updating files: 100% (858/858), done. HEAD is now at 0f62458 Build standalone output for DOKU deployment ✓ Kode berhasil diperbarui ✓ Symlink standalone/node_modules → root node_modules ⚠️ ══════════════════════════════════════════════════════════ ⚠️ PERINGATAN: Standalone TIDAK sinkron dengan commit terbaru! ⚠️ HEAD saat ini : 0f6245889358 ⚠️ Dibangun dari : a614010a5923 ⚠️ File kode yang belum di-build: 0 0 file ⚠️ ⚠️ Artinya: ada perubahan kode yang belum di-build. ⚠️ Halaman produksi akan menampilkan versi LAMA. ⚠️ ⚠️ Solusi — jalankan di Replit: ⚠️ npm run build (atau 2 step manual jika timeout) ⚠️ → commit & push ke GitHub ⚠️ → bash deploy.sh ⚠️ ══════════════════════════════════════════════════════════ ▶ [2/5] Install Node.js dependencies ... → package.json tidak berubah — skip install (node_modules sudah up-to-date) ✓ Dependencies siap ▶ [3/5] Prisma generate ... Prisma schema loaded from prisma/schema.prisma ✔ Generated Prisma Client (v6.19.3, engine=binary) to ./../../../nodevenv/public_html/misipintar/misipintar-1.0/22/lib/node_modules/@prisma/client in 401ms Start by importing your Prisma Client (See: https://pris.ly/d/importing-client) Tip: Want to turn off tips and other hints? https://pris.ly/tip-4-nohints ✓ Prisma client siap ▶ [4/5] Prisma migrate deploy ... warn The configuration property `package.json#prisma` is deprecated and will be removed in Prisma 7. Please migrate to a Prisma config file (e.g., `prisma.config.ts`). For more information, see: https://pris.ly/prisma-config Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma Datasource "db": PostgreSQL database "smknwon2_misipintar_db", schema "public" at "127.0.0.1:5432" 5 migrations found in prisma/migrations Applying migration `20260723000000_add_doku_payment_provider` Error: P3018 A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve Migration name: 20260723000000_add_doku_payment_provider Database error code: 25001 Database error: ERROR: ALTER TYPE ... ADD cannot be executed from a function or multi-command string DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E25001), message: "ALTER TYPE ... ADD cannot be executed from a function or multi-command string", detail: None, hint: None, position: None, where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("xact.c"), line: Some(3207), routine: Some("PreventTransactionChain") } ⚠️ Migrasi gagal atau tidak ada migrasi baru — lanjut ▶ [5/7] Seed plans & AppConfig ... ◇ injected env (23) from .env // tip: ⌘ custom filepath { path: '/custom/path/.env' } ⏭ Plan STARTER sudah ada — skip. ⏭ Plan PRO sudah ada — skip. ⏭ Plan EDUCATOR sudah ada — skip. ⏭ Plan SCHOOL sudah ada — skip. ⏭ AppConfig sudah ada (phaseMode: FREEMIUM) — skip. ℹ️ Semua data sudah ada — tidak ada yang diubah. ▶ [6/7] Seed admin ... ◇ injected env (23) from .env // tip: ⌘ custom filepath { path: '/custom/path/.env' } ⏭ Admin sudah ada — skip (tidak ada perubahan). ID : 90d716ce-f9d8-4d28-b727-1d321053357a Email: admin@misi-pintar.id Role : SUPER_ADMIN ▶ [7/7] Pre-restart check & restart aplikasi ... ✓ NODE_ENV=production terverifikasi di .env ℹ️ Proses Node.js aktif sebelum restart: 5 ✓ Restart via tmp/restart.txt (Passenger reload pada request berikutnya) ℹ️ Untuk immediate restart: cPanel → Node.js Selector → Restart App ════════════════════════════════════════════════════════ ✅ Deploy selesai! Aplikasi sudah di-restart otomatis. ════════════════════════════════════════════════════════ [public_html/misipintar/misipintar-1.0 (22)] [smknwon2@tirtonirmolo misipintar-1.0]$ bash deploy.sh ════════════════════════════════════════════════════════ MisiPintar — Deploy Script Dir : /home/smknwon2/public_html/misipintar/misipintar-1.0 Date: Thu Jul 23 21:37:30 WIB 2026 ════════════════════════════════════════════════════════ ▶ [1/5] Git pull origin main ... remote: Enumerating objects: 21, done. remote: Counting objects: 100% (21/21), done. remote: Compressing objects: 100% (7/7), done. remote: Total 15 (delta 7), reused 15 (delta 7), pack-reused 0 (from 0) Unpacking objects: 100% (15/15), 9.59 KiB | 26.00 KiB/s, done. From https://github.com/001753/misipintar-1.0 0f62458..06ad92c main -> origin/main HEAD is now at 06ad92c Add build logs and production documentation assets ✓ Kode berhasil diperbarui ✓ Symlink standalone/node_modules → root node_modules ⚠️ ══════════════════════════════════════════════════════════ ⚠️ PERINGATAN: Standalone TIDAK sinkron dengan commit terbaru! ⚠️ HEAD saat ini : 06ad92c091f3 ⚠️ Dibangun dari : a614010a5923 ⚠️ File kode yang belum di-build: 0 0 file ⚠️ ⚠️ Artinya: ada perubahan kode yang belum di-build. ⚠️ Halaman produksi akan menampilkan versi LAMA. ⚠️ ⚠️ Solusi — jalankan di Replit: ⚠️ npm run build (atau 2 step manual jika timeout) ⚠️ → commit & push ke GitHub ⚠️ → bash deploy.sh ⚠️ ══════════════════════════════════════════════════════════ ▶ [2/5] Install Node.js dependencies ... → package.json tidak berubah — skip install (node_modules sudah up-to-date) ✓ Dependencies siap ▶ [3/5] Prisma generate ... Prisma schema loaded from prisma/schema.prisma ✔ Generated Prisma Client (v6.19.3, engine=binary) to ./../../../nodevenv/public_html/misipintar/misipintar-1.0/22/lib/node_modules/@prisma/client in 3.62s Start by importing your Prisma Client (See: https://pris.ly/d/importing-client) Tip: Interested in query caching in just a few lines of code? Try Accelerate today! https://pris.ly/tip-3-accelerate ✓ Prisma client siap ▶ [4/5] Prisma migrate deploy ... warn The configuration property `package.json#prisma` is deprecated and will be removed in Prisma 7. Please migrate to a Prisma config file (e.g., `prisma.config.ts`). For more information, see: https://pris.ly/prisma-config Environment variables loaded from .env Prisma schema loaded from prisma/schema.prisma Datasource "db": PostgreSQL database "smknwon2_misipintar_db", schema "public" at "127.0.0.1:5432" 6 migrations found in prisma/migrations Error: P3009 migrate found failed migrations in the target database, new migrations will not be applied. Read more about how toresolve migration issues in a production database: https://pris.ly/d/migrate-resolve The `20260723000000_add_doku_payment_provider` migration started at 2026-07-23 14:13:52.664861 UTC failed ⚠️ Migrasi gagal atau tidak ada migrasi baru — lanjut ▶ [5/7] Seed plans & AppConfig ... ◇ injected env (23) from .env // tip: ⌘ custom filepath { path: '/custom/path/.env' } ⏭ Plan STARTER sudah ada — skip. ⏭ Plan PRO sudah ada — skip. ⏭ Plan EDUCATOR sudah ada — skip. ⏭ Plan SCHOOL sudah ada — skip. ⏭ AppConfig sudah ada (phaseMode: FREEMIUM) — skip. ℹ️ Semua data sudah ada — tidak ada yang diubah. ▶ [6/7] Seed admin ... ◇ injected env (23) from .env // tip: ◈ encrypted .env [www.dotenvx.com] ⏭ Admin sudah ada — skip (tidak ada perubahan). ID : 90d716ce-f9d8-4d28-b727-1d321053357a Email: admin@misi-pintar.id Role : SUPER_ADMIN ▶ [7/7] Pre-restart check & restart aplikasi ... ✓ NODE_ENV=production terverifikasi di .env ℹ️ Proses Node.js aktif sebelum restart: 5 ✓ Restart via tmp/restart.txt (Passenger reload pada request berikutnya) ℹ️ Untuk immediate restart: cPanel → Node.js Selector → Restart App ════════════════════════════════════════════════════════ ✅ Deploy selesai! Aplikasi sudah di-restart otomatis. ════════════════════════════════════════════════════════ [public_html/misipintar/misipintar-1.0 (22)] [smknwon2@tirtonirmolo misipintar-1.0]$