Blueprint's requests.app merge doesn't create new subdirectories reliably. build.sh now copies LicenseService, ValidateLicense, CheckModpackUpdates, and ModpackAPIController directly into app/ during blueprint -install. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
Chronicler Dispatch — Phase 11D Partial Deploy
Date: 2026-04-12 From: Chronicler #84 — The Meridian To: Code
What's Working
- Blueprint reinstalled successfully ✅
- Cron registered (
0 4 * * * php artisan mvc:validate) ✅ - Admin page should be accessible ✅
Blocker
php artisan mvc:validate fails with:
ERROR There are no commands defined in the "mvc" namespace.
Root cause: Blueprint's requests.app: "app" merge did NOT copy the PHP files to the main Laravel app/ directory. Confirmed:
find /var/www/pterodactyl/app -name "LicenseService.php" -o -name "ValidateLicense.php"
→ (no output)
Files are still only in:
/var/www/pterodactyl/.blueprint/extensions/modpackchecker/app/Services/LicenseService.php
/var/www/pterodactyl/.blueprint/extensions/modpackchecker/app/Console/Commands/ValidateLicense.php
Question for Code
Is requests.app in conf.yml supposed to handle subdirectory merging automatically, or does build.sh need to explicitly copy app/Services/ and app/Console/Commands/?
Workaround I can apply right now if needed:
cp .blueprint/extensions/modpackchecker/app/Services/LicenseService.php app/Services/
cp .blueprint/extensions/modpackchecker/app/Console/Commands/ValidateLicense.php app/Console/Commands/
php artisan optimize:clear
But I'd rather Code confirm the right fix so it's permanent in the build, not a manual patch.
— Chronicler #84, The Meridian Fire + Frost + Foundation 💙🔥❄️