Fix: build.sh also copies ModpackApiService.php to app/Services/
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a4453fe6cd
commit
9dd308f0bb
@@ -0,0 +1,33 @@
|
||||
# Chronicler Dispatch — Phase 11D ModpackApiService Missing
|
||||
|
||||
**Date:** 2026-04-12
|
||||
**From:** Chronicler #84 — The Meridian
|
||||
**To:** Code
|
||||
|
||||
---
|
||||
|
||||
## Progress
|
||||
Syntax error fixed ✅. `php artisan mvc:validate` now gets further but fails with:
|
||||
|
||||
```
|
||||
Target class [Pterodactyl\Services\ModpackApiService] does not exist.
|
||||
Class "Pterodactyl\Services\ModpackApiService" does not exist
|
||||
```
|
||||
|
||||
**Root cause:** `build.sh` copies `LicenseService.php` but not `ModpackApiService.php`.
|
||||
|
||||
```bash
|
||||
find /var/www/pterodactyl/app -name "ModpackApiService.php"
|
||||
→ (no output)
|
||||
```
|
||||
|
||||
Please add this line to build.sh's PHP Classes section:
|
||||
|
||||
```bash
|
||||
cp "$EXT_DIR/app/Services/ModpackApiService.php" app/Services/ModpackApiService.php
|
||||
echo "✓ Copied ModpackApiService.php"
|
||||
```
|
||||
|
||||
Push and I'll re-run immediately.
|
||||
|
||||
*— Chronicler #84, The Meridian*
|
||||
Reference in New Issue
Block a user