1.8 KiB
1.8 KiB
Iteration Log — 2026-07-30 10:55
Trigger & Request
- Trigger: Ad-hoc deploy request ("lakukan deploy ke domain demoplace")
- Target: Domain Production
https://demoplace.my.id
Tasks & Scope
- Fixed build error in
src/lib/actions/agents.ts(duplicate variablecompanyRolesremoved, split intoagentsMongo.ts). - Fixed device detail 500 API error in
backend/routes/deviceDetailsHandler.js(removed invalid TypeScript syntax: Promise<any[]>[]). - Refactored
DeviceDetailModal,AppDetailModal,AgentDetailModal, andModalto usecreatePortal(..., document.body)withz-[9999], locking body overflow and preventing tab switching while modal is active. - Upgraded backdrop blur to
bg-slate-950/80 backdrop-blur-mdwithbackdropFilter: blur(12px). - Verified TypeScript compilation:
0 errors. - Executed
npm run deploy(next build+scripts/deploy-sftp.js).
Steps & Commands Executed
npx tsc --noEmit— passed with 0 errors.npm run deploy:- Next.js 16.2.9 production build created in
.next/standalone. - Uploaded 34 items/directories via SFTP to
/home/adminbackend/web/demoplace.my.id/public_htmlon103.185.47.52:2222. - Ran SSH post-deploy commands to ensure upload directories permissions (
chmod 755), installed backend/proxy dependencies vianpm ci --omit=dev. - Copied
.next/staticandpublicto.next/standalone/.next/static. - Reloaded PM2 processes:
backone-proxy(id: 0),backone-backend(id: 1),backone-frontend(id: 3).
- Next.js 16.2.9 production build created in
- Verified health check:
http://127.0.0.1:3001/api/health→{"ok":true,"message":"BackOne Backend berjalan (MongoDB read-only mode)","time":"2026-07-30T04:05:05.270Z"}
Outcome
- Status: SUCCESS 100%
- Live Domain:
https://demoplace.my.id