Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- 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>
5.6 KiB
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
sankofacreated - Database
keycloakcreated - User
sankofacreated - 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
- All containers deployed and running
- Network connectivity fixed and working
- PostgreSQL fully operational
- Keycloak installed and service configured
- Internet connectivity working
- DNS configured
- Cutover plan updated with actual IPs/ports
⏸️ Next Steps
Immediate:
-
Fix Node.js version in API and Portal containers:
- Install Node.js 18 from NodeSource
- Verify installation
- Install pnpm
-
Complete API deployment:
- Copy project files
- Install dependencies
- Configure environment
- Run migrations
- Build and start service
-
Complete Portal deployment:
- Copy project files
- Install dependencies
- Build Next.js app
- Start service
-
Verify Keycloak is fully running:
- Wait for service to fully start
- Test health endpoint
- Verify port 8080 is listening
After Services Deployed:
- Test all health endpoints
- Verify inter-service connectivity
- Perform NPMplus cutover
- 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
- IP: 192.168.11.52
- Port: 8080
- URL: http://192.168.11.52:8080
- Health: http://192.168.11.52:8080/health/ready
- Status: 🟡 Starting
API
- IP: 192.168.11.50
- Port: 4000
- URL: http://192.168.11.50:4000
- GraphQL: http://192.168.11.50:4000/graphql
- Health: http://192.168.11.50:4000/health
- Status: ⏸️ Pending deployment
Portal
- IP: 192.168.11.51
- Port: 3000
- URL: http://192.168.11.51:3000
- Status: ⏸️ Pending deployment
🎯 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