Fix the integration guide and installer after a test with a fresh agent

This commit is contained in:
Matthijs Iriks committed 2026-12-04 04:10:25 +01:00
1 parent 9ff162460d
commit 441d76ef96
7 files changed
+51 -23

No files matched your search

+7
View File
@@ -71,6 +71,13 @@ class InstallCommand extends Command
$this->line('Run `php artisan migrate` (a new process) so the migrations of the modules you switched on are loaded.');
}
if ($env !== []) {
// This process still has the old config: its check would report the old state. A new process is right.
$this->line('Next: add the HasManagerAccess trait to the user model, run `php artisan config:clear && php artisan migrate && php artisan storage:link`, then `php artisan manager:doctor --json`.');
return self::SUCCESS;
}
return Artisan::call('manager:doctor', $this->option('json') ? ['--json' => true] : [], $this->output) === 0 ? self::SUCCESS : self::FAILURE;
}