Files
proxmox/docs/archive/deployment-reports/SERVICE_DEPLOYMENT_FINAL_STATUS.md
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

5.6 KiB

Service Deployment - Final Status Report

Date: 2026-01-20
Status: 🟡 DEPLOYMENT IN PROGRESS - Infrastructure ready, services deploying


Completed Infrastructure

1. Container Deployment

  • All 4 containers deployed and running
    • VMID 7803: PostgreSQL (192.168.11.53)
    • VMID 7802: Keycloak (192.168.11.52)
    • VMID 7800: API (192.168.11.50)
    • VMID 7801: Portal (192.168.11.51)

2. Network Configuration

  • Network connectivity fixed
    • All containers on vmbr0 (VLAN 11)
    • Gateway: 192.168.11.11 (host)
    • Internet connectivity working
    • DNS configured (8.8.8.8, 1.1.1.1)

3. PostgreSQL

  • Fully installed and configured
    • PostgreSQL 16 installed
    • Database sankofa created
    • Database keycloak created
    • User sankofa created
    • Network access configured (192.168.11.0/24)
    • Service running

4. Keycloak

  • Keycloak installed and configured
    • Java 21 installed
    • Keycloak 24.0.0 downloaded and extracted
    • Keycloak built with PostgreSQL support
    • Service file created and enabled
    • Service starting (may need time to fully start)

5. Cutover Plan Updated

  • Cutover plan updated with actual IPs/ports
    • sankofa.nexus → 192.168.11.51:3000 (Portal)
    • www.sankofa.nexus → 192.168.11.51:3000 (Portal)
    • phoenix.sankofa.nexus → 192.168.11.50:4000 (API)
    • www.phoenix.sankofa.nexus → 192.168.11.50:4000 (API)
    • the-order.sankofa.nexus → TBD

🟡 In Progress

API Deployment

  • ⏸️ Node.js 18 installation issues
    • Container has Node.js 12 instead of 18
    • Need to install Node.js 18 from NodeSource
    • pnpm installation pending Node.js 18
    • Project files copy pending
    • Dependencies installation pending
    • Build and service setup pending

Portal Deployment

  • ⏸️ Node.js 18 installation issues
    • Container has Node.js 12 instead of 18
    • Need to install Node.js 18 from NodeSource
    • pnpm installation pending Node.js 18
    • Project files copy pending
    • Build (Next.js) pending
    • Service setup pending

📋 Service Status

Service VMID IP Port Installation Service Status Health Endpoint
PostgreSQL 7803 192.168.11.53 5432 Complete Running Working
Keycloak 7802 192.168.11.52 8080 Complete 🟡 Starting Pending
API 7800 192.168.11.50 4000 ⏸️ Pending ⏸️ Not started ⏸️ N/A
Portal 7801 192.168.11.51 3000 ⏸️ Pending ⏸️ Not started ⏸️ N/A

🔧 Issues to Resolve

Issue 1: Node.js Version Mismatch

Problem: Containers have Node.js 12 instead of 18

Solution:

# Install Node.js 18 from NodeSource
for vmid in 7800 7801; do
  ssh root@192.168.11.11 "pct exec $vmid -- bash -c '
    curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&
    apt-get install -y nodejs &&
    node --version
  '"
done

Issue 2: pnpm Installation

Problem: pnpm requires Node.js 16+ but containers have Node.js 12

Solution: After fixing Node.js version, install pnpm:

npm install -g pnpm@8

What's Working

  1. All containers deployed and running
  2. Network connectivity fixed and working
  3. PostgreSQL fully operational
  4. Keycloak installed and service configured
  5. Internet connectivity working
  6. DNS configured
  7. Cutover plan updated with actual IPs/ports

⏸️ Next Steps

Immediate:

  1. Fix Node.js version in API and Portal containers:

    • Install Node.js 18 from NodeSource
    • Verify installation
    • Install pnpm
  2. Complete API deployment:

    • Copy project files
    • Install dependencies
    • Configure environment
    • Run migrations
    • Build and start service
  3. Complete Portal deployment:

    • Copy project files
    • Install dependencies
    • Build Next.js app
    • Start service
  4. Verify Keycloak is fully running:

    • Wait for service to fully start
    • Test health endpoint
    • Verify port 8080 is listening

After Services Deployed:

  1. Test all health endpoints
  2. Verify inter-service connectivity
  3. Perform NPMplus cutover
  4. Test end-to-end routing

📊 Deployment Progress

  • Infrastructure: 100% Complete
  • PostgreSQL: 100% Complete
  • Keycloak: 🟡 80% Complete (installed, starting)
  • API: ⏸️ 20% Complete (container ready, installation pending)
  • Portal: ⏸️ 20% Complete (container ready, installation pending)

📝 Service Endpoints (When Complete)

PostgreSQL

  • IP: 192.168.11.53
  • Port: 5432
  • Status: Running

Keycloak

API

Portal


🎯 Summary

Infrastructure: Complete
PostgreSQL: Complete
Keycloak: 🟡 Installed (starting)
API: ⏸️ Pending Node.js 18 fix
Portal: ⏸️ Pending Node.js 18 fix

Next Priority: Fix Node.js version and complete API/Portal deployments


Last Updated: 2026-01-20
Status: 🟡 Services deploying
Cutover Plan: Updated with actual IPs/ports