======================================== AFRILEN PORTAL - cPanel DEPLOYMENT ======================================== PHP Version: 8.2.29 [Step 1/8] Backing up .env file... ✓ .env backed up to: .env.backup.2026-01-13-164533 [Step 2/8] Setting file permissions... ✓ Permissions set for: storage ✓ Permissions set for: bootstrap/cache [Step 3/8] Finding Composer... ✓ Composer found: /opt/cpanel/composer/bin/composer [Step 4/8] Installing dependencies (this may take a few minutes)... ⚠ WARNING: Composer install had issues: In Factory.php line 697: The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [...] You may need to run manually: /opt/cpanel/composer/bin/composer install --no-dev --optimize-autoloader [Step 5/8] Checking application key... ✓ Application key already exists [Step 6/8] Running database migrations (SAFE - won't break existing data)... Checking migration status... ✓ Migrations completed [Step 7/8] Clearing all caches... ✓ Caches cleared [Step 8/8] Rebuilding optimized caches for production... ✓ Optimized caches rebuilt [Bonus] Creating storage link... ✓ Storage link created ======================================== DEPLOYMENT COMPLETE! ======================================== Next steps: 1. Verify deployment: php artisan --version 2. Check logs: tail -n 50 storage/logs/laravel.log 3. Test your API endpoints 4. Verify website loads correctly If you encounter issues: - Check storage/logs/laravel.log for errors - Verify .env file has correct database credentials - Ensure file permissions are correct (755 for storage/) - Verify PHP version is 8.1+ ========================================