Files
proxmox/docs/archive/deployment-reports/SERVICE_DEPLOYMENT_COMPLETE_FINAL.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.1 KiB

Service Deployment - Complete Status

Date: 2026-01-20
Status: 🟢 DEPLOYMENT IN PROGRESS - Infrastructure complete, services deploying


Completed Infrastructure

1. All Containers Deployed

  • 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

  • All containers on vmbr0 (VLAN 11)
  • Gateway: 192.168.11.11 (host)
  • Internet connectivity working
  • DNS configured

3. PostgreSQL

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

4. Keycloak

  • Java 21 installed
  • Keycloak 24.0.0 installed
  • Built with PostgreSQL support
  • Service configured and running
  • Port 8080 listening
  • Database connected

🟡 In Progress

API Service (VMID 7800)

  • Container deployed
  • Network configured
  • Node.js 18 installation in progress
  • pnpm installation in progress
  • ⏸️ Project files copy pending
  • ⏸️ Dependencies installation pending
  • ⏸️ Service setup pending

Portal Service (VMID 7801)

  • Container deployed
  • Network configured
  • Node.js 18 installation in progress
  • pnpm installation in progress
  • ⏸️ Project files copy pending
  • ⏸️ Dependencies installation pending
  • ⏸️ Next.js build pending
  • ⏸️ Service setup pending

📋 Service Status

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

🔧 Issues Resolved

Issue 1: Node.js Installation Conflict

Problem: Node.js 18 installation conflicted with Node.js 12 packages

Solution:

  1. Remove conflicting packages (libnode-dev, libnode72)
  2. Clean apt cache
  3. Install Node.js 18 from NodeSource
  4. Verify installation

Issue 2: Keycloak Database

Problem: Keycloak database didn't exist

Solution:

  1. Created keycloak database with UTF8 encoding
  2. Granted privileges to sankofa user
  3. Restarted Keycloak service

📊 Deployment Progress

Component Status Progress
Infrastructure Complete 100%
PostgreSQL Complete 100%
Keycloak Complete 100%
API 🟡 In Progress 50%
Portal 🟡 In Progress 50%

Overall Progress: 75% Complete


🎯 Current Actions

  1. Remove conflicting Node.js packages from API/Portal containers

  2. Install Node.js 18 cleanly in API/Portal containers 🟡

  3. Install pnpm in API/Portal containers 🟡

  4. Deploy API service:

    • Copy project files
    • Install dependencies
    • Configure environment
    • Run migrations
    • Build and start service
  5. Deploy Portal service:

    • Copy project files
    • Install dependencies
    • Build Next.js app
    • Configure and start service
  6. Verify all services:

    • Test health endpoints
    • Verify inter-service connectivity
    • Test API endpoints
    • Test Portal access

📝 Service Endpoints

PostgreSQL

  • IP: 192.168.11.53:5432
  • Database: sankofa, keycloak
  • Status: Running

Keycloak

API (When Deployed)

Portal (When Deployed)


📋 Cutover Plan Status

Updated: Cutover plan updated with actual IPs/ports

Domain VMID IP Port Service Type Status
sankofa.nexus 7801 192.168.11.51 3000 Portal 🟡 Deploying
www.sankofa.nexus 7801 192.168.11.51 3000 Portal 🟡 Deploying
phoenix.sankofa.nexus 7800 192.168.11.50 4000 API 🟡 Deploying
www.phoenix.sankofa.nexus 7800 192.168.11.50 4000 API 🟡 Deploying
the-order.sankofa.nexus ⚠️ TBD ⚠️ TBD ⚠️ TBD TBD ⏸️ Pending

Next Steps After Deployment

  1. Verify all services are running
  2. Test all health endpoints
  3. Verify inter-service connectivity
  4. Update NPMplus proxy hosts with actual IPs/ports
  5. Perform cutover from Blockscout routing
  6. Test end-to-end routing
  7. Monitor services

Last Updated: 2026-01-20
Status: 🟡 Services deploying (75% complete)
Priority: Complete API and Portal deployments