Troubleshooting
Problems that have come up while scaffolding real Laravel apps with kalimera, from Sail networks and busy ports to Boost, PHPStan and Vet. Each one has its cause and its fix.
- 01 Sail fails with "all predefined address pools have been fully subnetted" Running sail up -d --wait while scaffolding a new app — the "Building and starting the Sail containers" step.
-
02
kalimera new --continuehangs or errors with "Required." in a non-interactive shell Resuming a failed scaffold with kalimera new --continue — either without the app name as a second argument, or while running the command from inside the app… -
03
Cannot resume <path>: .kalimera.json is there but the answers it should hold are missing or unreadable--continue into an application whose .kalimera.json was deleted, hand-edited into invalid JSON, or lost its answers — or one an earlier release left with only… -
04
A resumed run replaced a config you edited, leaving a
.bakfile behind Resuming with kalimera new <app-name> --continue after editing one of the files kalimera publishes (pint.json, phpstan.neon.dist, rector.php, the… - 05 "Installing Laravel Boost" fails with "There are no commands defined in the boost namespace" The "Installing Laravel Boost" step, immediately after composer require laravel/boost --dev.
-
06
PHPStan exits with no output at all when a scaffolded path like
srcis deleted later Running composer phpstan / composer quality after removing an empty src/{Domain,...} directory that kalimera scaffolded for the Core structure, once the project… - 07 A previously working app suddenly fails to start with "port is already allocated" Running sail up -d on an app that started fine before, after a different kalimera-scaffolded project has been started in the meantime.
- 08 Migrations fail with "duplicate key value violates unique constraint pg_class_relname_nsp_index" Scaffolding a new app into a directory an earlier, unfinished run used — or, on applications scaffolded before kalimera pinned COMPOSE_PROJECT_NAME, into any…
-
09
Sail could not start: something else on this machine is holding port N (KEY)Starting the containers, usually on a --continue run some time after the first one. - 10 The AI-agent guard silently does nothing — destructive commands still run After wiring laravel/pao's AgentDetector into DB::prohibitDestructiveCommands() via a dedicated service provider, when that provider is registered before…
- 11 Every composer command in a scaffolded app fails with "packages are not trusted" Any sail composer install / update / require in an application scaffolded with vet among its quality tools — most often right after adding a package.
-
12
Turning on Vet's
minimum-release-ageafter scaffolding You want the supply-chain delay — every release held back until it is N days old, so a compromised version has time to be found and pulled. Kalimera does not…
Not listed? Open an issue with your --log transcript.