#!/usr/bin/env php ================================================================= ACS PHASE 1 VERIFICATION ================================================================= Date: 2025-12-18 23:33:01 ================================================================= TEST 1: GenieACS Infrastructure ================================================================= ❌ genieacs-cwmp is not running ❌ genieacs-nbi is not running ❌ genieacs-fs is not running ❌ genieacs-ui is not running ✅ MongoDB is running ❌ GenieACS NBI API is not accessible (HTTP 0) ================================================================= TEST 2: Platform Database Schema ================================================================= ✅ acs_configs table exists in platform database ✅ Column 'id' exists ✅ Column 'tenant_id' exists ✅ Column 'nbi_url' exists ✅ Column 'instance_type' exists ✅ Column 'is_active' exists ================================================================= TEST 3: Tenant Database Schema ================================================================= ℹ️ Found 58 active tenants ✅ Beta ISP: Both tables exist ✅ Gamma ISP: Both tables exist ✅ Jambo Internet: Both tables exist ✅ All 58 tenants have ACS tables ================================================================= TEST 4: Backend Models ================================================================= ✅ AcsConfig model works (found 0 configs) ✅ AcsDevice model works (found 0 devices) ✅ AcsDeviceLog model works (found 0 logs) ================================================================= TEST 5: AcsService ================================================================= ❌ AcsService connection test failed: Tenant not found ⚠️ AcsService listDevices returned no data: Tenant not found ================================================================= TEST 6: Middleware & Feature Flags ================================================================= ✅ 'acs.access' middleware is registered ⚠️ No free plan tenant found to test ================================================================= TEST 7: API Routes ================================================================= ❌ Not enough ACS routes registered (0 found) ================================================================= VERIFICATION SUMMARY ================================================================= Total Tests: 21 Passed: 12 Failed: 7 Warnings: 2 Success Rate: 57.14% ❌ ❌ SOME TESTS FAILED! Please fix the issues before proceeding. Troubleshooting: 1. Check GenieACS services: systemctl status genieacs-* 2. Check MongoDB: systemctl status mongod 3. Review database migrations 4. Check Laravel logs: tail -f storage/logs/laravel.log