System requirements check passed.
Running: php artisan key:generate
ERROR Unable to set application key. No APP_KEY variable was found in the .env file.
Running: php artisan migrate
INFO Nothing to migrate.
Running: php artisan db:seed
INFO Seeding database.
Running: php artisan storage:link
Call to undefined function Illuminate\Filesystem\exec()
Illuminate\Filesystem\Filesystem->link(string, string)Illuminate\Filesystem\Filesystem->link(string, string)Illuminate\Foundation\Console\StorageLinkCommand->handle()Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()Illuminate\Container\Util::unwrapIfClosure(object(Closure))Illuminate\Container\BoundMethod::callBoundMethod(object(Illuminate\Foundation\Application), array, object(Closure))Illuminate\Container\BoundMethod::call(object(Illuminate\Foundation\Application), array, array, null)Illuminate\Container\Container->call(array)Illuminate\Console\Command->execute(object(Symfony\Component\Console\Input\StringInput), object(Illuminate\Console\OutputStyle))Symfony\Component\Console\Command\Command->run(object(Symfony\Component\Console\Input\StringInput), object(Illuminate\Console\OutputStyle))Illuminate\Console\Command->run(object(Symfony\Component\Console\Input\StringInput), object(Symfony\Component\Console\Output\BufferedOutput))Symfony\Component\Console\Application->doRunCommand(object(Illuminate\Foundation\Console\StorageLinkCommand), object(Symfony\Component\Console\Input\StringInput), object(Symfony\Component\Console\Output\BufferedOutput))Symfony\Component\Console\Application->doRun(object(Symfony\Component\Console\Input\StringInput), object(Symfony\Component\Console\Output\BufferedOutput))Symfony\Component\Console\Application->run(object(Symfony\Component\Console\Input\StringInput), object(Symfony\Component\Console\Output\BufferedOutput))Illuminate\Console\Application->call(string, array, null)Illuminate\Foundation\Console\Kernel->call(string, array)56 return $app->make(Illuminate\Contracts\Console\Kernel::class);
57}
58
59function runInternalCommand($kernel, string $command, array $params = []): array
60{
61 $status = $kernel->call($command, $params);
62 return ['output' => $kernel->output(), 'code' => $status];
63}
64
65function escapeJs(string $value): string
66{
67 return str_replace(['\\', '"', "\n", "\r", "\u2028", "\u2029"], ['\\\\', '\\"', '\\n', '\\r', '\\u2028', '\\u2029'], $value);
68}
69
70function loadDotEnv(string $path): array
71{
72 if (! file_exists($path)) {
73runInternalCommand(object(Illuminate\Foundation\Console\Kernel), string, array)406}
407
408if ($success && $kernel !== null && ! shellExecutionAvailable()) {
409 foreach ($internalCommands as [$cmd, $params]) {
410 echo '<p><strong>Running:</strong> ' . escapeHtml('php artisan ' . $cmd) . '</p>';
411 $result = runInternalCommand($kernel, $cmd, $params);
412 echo '<pre>' . escapeHtml($result['output'] ?: 'No output.') . '</pre>';
413 if ($result['code'] !== 0) {
414 $success = false;
415 echo '<p><strong>Error:</strong> command exited with status ' . $result['code'] . '</p>';
416 break;
417 }
418 }
419}
420
421$installerPath = __FILE__;
422if (file_exists($installerPath)) {
423select exists (select 1 from "main".sqlite_master where name = 'migrations' and type = 'table') as "exists"select exists (select 1 from "main".sqlite_master where name = 'migrations' and type = 'table') as "exists"select "migration" from "migrations" order by "batch" asc, "migration" ascselect "migration" from "migrations" order by "batch" asc, "migration" ascselect exists(select * from "permissions" where ("name" = 'users.manage')) as "exists"update "permissions" set "uuid" = 'cbc6787c-a796-4685-9a25-db3ce0aede64', "group" = 'Users', "display_name" = 'Manage users', "description" = 'Manage users', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'users.manage') limit 1)select exists(select * from "permissions" where ("name" = 'roles.manage')) as "exists"update "permissions" set "uuid" = '244d7125-a14a-40df-9031-6b2813c8c21d', "group" = 'Users', "display_name" = 'Manage roles and permissions', "description" = 'Manage roles and permissions', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'roles.manage') limit 1)select exists(select * from "permissions" where ("name" = 'teams.manage')) as "exists"update "permissions" set "uuid" = 'f3a5bc44-1567-4b38-a293-46ad0697e28f', "group" = 'Teams', "display_name" = 'Manage teams', "description" = 'Manage teams', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'teams.manage') limit 1)select exists(select * from "permissions" where ("name" = 'players.manage')) as "exists"update "permissions" set "uuid" = 'de9df636-c898-44bf-b2aa-782c69cd3f52', "group" = 'Players', "display_name" = 'Manage players', "description" = 'Manage players', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'players.manage') limit 1)select exists(select * from "permissions" where ("name" = 'tournaments.manage')) as "exists"update "permissions" set "uuid" = '22274f0a-140c-4c10-8c3c-f58dfed912e6', "group" = 'Tournaments', "display_name" = 'Manage tournaments', "description" = 'Manage tournaments', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'tournaments.manage') limit 1)select exists(select * from "permissions" where ("name" = 'fixtures.manage')) as "exists"update "permissions" set "uuid" = '55f8d36b-0c78-4972-b9b7-cacaa4b2a0ef', "group" = 'Fixtures', "display_name" = 'Manage fixtures', "description" = 'Manage fixtures', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'fixtures.manage') limit 1)select exists(select * from "permissions" where ("name" = 'results.manage')) as "exists"update "permissions" set "uuid" = '00c56f44-c6c9-46f0-9283-32029029dd81', "group" = 'Results', "display_name" = 'Manage match results', "description" = 'Manage match results', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'results.manage') limit 1)select exists(select * from "permissions" where ("name" = 'standings.view')) as "exists"update "permissions" set "uuid" = '6c3b8cf2-2337-4b6a-b966-b29aa66de4e7', "group" = 'Standings', "display_name" = 'View standings', "description" = 'View standings', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'standings.view') limit 1)select exists(select * from "permissions" where ("name" = 'donations.manage')) as "exists"update "permissions" set "uuid" = '77f02791-f41e-492a-b8d8-8b0cf1d5b00e', "group" = 'Donations', "display_name" = 'Manage donations', "description" = 'Manage donations', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'donations.manage') limit 1)select exists(select * from "permissions" where ("name" = 'sponsors.manage')) as "exists"update "permissions" set "uuid" = '72829a76-29c7-48c7-bf12-78e87cca9bfc', "group" = 'Sponsors', "display_name" = 'Manage sponsors', "description" = 'Manage sponsors', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'sponsors.manage') limit 1)select exists(select * from "permissions" where ("name" = 'campaigns.manage')) as "exists"update "permissions" set "uuid" = 'f8548627-0f9b-4a7b-aeea-4b3a165095b6', "group" = 'Campaigns', "display_name" = 'Manage campaigns', "description" = 'Manage campaigns', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'campaigns.manage') limit 1)select exists(select * from "permissions" where ("name" = 'trees.manage')) as "exists"update "permissions" set "uuid" = 'b5ec97da-d3ca-4099-8f77-3870bd2d2475', "group" = 'Trees', "display_name" = 'Manage tree registry', "description" = 'Manage tree registry', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'trees.manage') limit 1)select exists(select * from "permissions" where ("name" = 'volunteers.manage')) as "exists"update "permissions" set "uuid" = '1ebdff4d-35af-44b5-8b29-ebaebf4dbd50', "group" = 'Volunteers', "display_name" = 'Manage volunteers', "description" = 'Manage volunteers', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'volunteers.manage') limit 1)select exists(select * from "permissions" where ("name" = 'reports.generate')) as "exists"update "permissions" set "uuid" = '1d03f8fa-f4e9-48cd-9247-9a8a47575bf5', "group" = 'Reports', "display_name" = 'Generate reports', "description" = 'Generate reports', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'reports.generate') limit 1)select exists(select * from "permissions" where ("name" = 'content.manage')) as "exists"update "permissions" set "uuid" = 'd8fe8cb1-f114-4c32-bc47-36c1a8f95241', "group" = 'Content', "display_name" = 'Manage website pages', "description" = 'Manage website pages', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'content.manage') limit 1)select exists(select * from "permissions" where ("name" = 'settings.manage')) as "exists"update "permissions" set "uuid" = '5c3fb7aa-cfb8-4272-94ed-9761e656fa92', "group" = 'Settings', "display_name" = 'Manage platform settings', "description" = 'Manage platform settings', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'settings.manage') limit 1)select exists(select * from "permissions" where ("name" = 'branding.manage')) as "exists"update "permissions" set "uuid" = 'dc37f3f7-dced-4227-b63a-6abd0e3ef0ca', "group" = 'Settings', "display_name" = 'Manage organizer brand guide', "description" = 'Manage organizer brand guide', "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permissions"."rowid" from "permissions" where ("name" = 'branding.manage') limit 1)select exists(select * from "roles" where ("name" = 'super-administrator')) as "exists"update "roles" set "uuid" = '393ab3b6-9ea3-4d0b-ae5d-2f7eb3724c01', "display_name" = 'Super Administrator', "description" = 'Super Administrator platform role', "is_system" = 1, "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "roles"."rowid" from "roles" where ("name" = 'super-administrator') limit 1)select exists(select * from "roles" where ("name" = 'tournament-organizer')) as "exists"update "roles" set "uuid" = '33848311-3fb0-4994-83f7-e140705bc7f5', "display_name" = 'Tournament Organizer', "description" = 'Tournament Organizer platform role', "is_system" = 1, "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "roles"."rowid" from "roles" where ("name" = 'tournament-organizer') limit 1)select exists(select * from "roles" where ("name" = 'team-manager')) as "exists"update "roles" set "uuid" = 'bcff5709-6b61-430a-8137-0522c238fdb8', "display_name" = 'Team Manager', "description" = 'Team Manager platform role', "is_system" = 1, "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "roles"."rowid" from "roles" where ("name" = 'team-manager') limit 1)select exists(select * from "roles" where ("name" = 'sponsor')) as "exists"update "roles" set "uuid" = '39cac6ce-180a-42fe-9f76-af1b4a96103d', "display_name" = 'Sponsor', "description" = 'Sponsor platform role', "is_system" = 1, "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "roles"."rowid" from "roles" where ("name" = 'sponsor') limit 1)select exists(select * from "roles" where ("name" = 'donor')) as "exists"update "roles" set "uuid" = 'd9660838-edba-4975-9e2c-bb591cbd9474', "display_name" = 'Donor', "description" = 'Donor platform role', "is_system" = 1, "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "roles"."rowid" from "roles" where ("name" = 'donor') limit 1)select exists(select * from "roles" where ("name" = 'volunteer')) as "exists"update "roles" set "uuid" = 'a2aedb6a-d7da-4307-9a88-8dbe0a73fecd', "display_name" = 'Volunteer', "description" = 'Volunteer platform role', "is_system" = 1, "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "roles"."rowid" from "roles" where ("name" = 'volunteer') limit 1)select exists(select * from "roles" where ("name" = 'referee')) as "exists"update "roles" set "uuid" = '0275e686-edd8-4c67-a760-28d1b8444cb4', "display_name" = 'Referee', "description" = 'Referee platform role', "is_system" = 1, "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "roles"."rowid" from "roles" where ("name" = 'referee') limit 1)select "id" from "roles" where "name" = 'super-administrator' limit 1select "id" from "permissions"select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 11)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 11) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 17)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 17) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 9)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 9) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 6)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 6) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 4)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:18', "updated_at" = '2026-06-06 12:26:18' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 4) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 14)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 14) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 7)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 7) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 15)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 15) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 16)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 16) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 10)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 10) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 8)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 8) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 3)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 3) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 5)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 5) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 12)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 12) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 1)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 1) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 2)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 2) limit 1)select exists(select * from "permission_role" where ("role_id" = 1 and "permission_id" = 13)) as "exists"update "permission_role" set "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "permission_role"."rowid" from "permission_role" where ("role_id" = 1 and "permission_id" = 13) limit 1)select exists(select * from "sponsorship_packages" where ("slug" = 'platinum')) as "exists"update "sponsorship_packages" set "uuid" = 'cacba2b0-4280-48ff-abb3-35d2bbbffedc', "name" = 'Platinum', "level" = 'platinum', "amount" = 1000000, "currency" = 'KES', "benefits" = '["Title placement","Premium branding","Sponsor dashboard","Monthly impact report"]', "exposure_commitments" = '{"reporting":true,"brand_assets":true}', "status" = 'active', "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "sponsorship_packages"."rowid" from "sponsorship_packages" where ("slug" = 'platinum') limit 1)select exists(select * from "sponsorship_packages" where ("slug" = 'gold')) as "exists"update "sponsorship_packages" set "uuid" = 'fb7ab7fc-b218-4929-8fb9-f13f12ab3e25', "name" = 'Gold', "level" = 'gold', "amount" = 500000, "currency" = 'KES', "benefits" = '["Featured branding","Campaign placement","Sponsor dashboard"]', "exposure_commitments" = '{"reporting":true,"brand_assets":true}', "status" = 'active', "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "sponsorship_packages"."rowid" from "sponsorship_packages" where ("slug" = 'gold') limit 1)select exists(select * from "sponsorship_packages" where ("slug" = 'silver')) as "exists"update "sponsorship_packages" set "uuid" = 'da935c48-317e-426b-8f26-f926d3254e83', "name" = 'Silver', "level" = 'silver', "amount" = 250000, "currency" = 'KES', "benefits" = '["Website branding","Quarterly impact report"]', "exposure_commitments" = '{"reporting":true,"brand_assets":true}', "status" = 'active', "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "sponsorship_packages"."rowid" from "sponsorship_packages" where ("slug" = 'silver') limit 1)select exists(select * from "sponsorship_packages" where ("slug" = 'bronze')) as "exists"update "sponsorship_packages" set "uuid" = '447019c4-c7f8-4542-8f39-09c7da30048d', "name" = 'Bronze', "level" = 'bronze', "amount" = 100000, "currency" = 'KES', "benefits" = '["Sponsor listing","Campaign acknowledgement"]', "exposure_commitments" = '{"reporting":true,"brand_assets":true}', "status" = 'active', "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "sponsorship_packages"."rowid" from "sponsorship_packages" where ("slug" = 'bronze') limit 1)select exists(select * from "settings" where ("key" = 'platform.name')) as "exists"update "settings" set "group" = 'general', "type" = 'string', "value" = '"KickImpact"', "is_public" = 1, "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "settings"."rowid" from "settings" where ("key" = 'platform.name') limit 1)select exists(select * from "settings" where ("key" = 'standings.win_points')) as "exists"update "settings" set "group" = 'tournaments', "type" = 'integer', "value" = '3', "is_public" = 0, "created_at" = '2026-06-06 12:26:19', "updated_at" = '2026-06-06 12:26:19' where "rowid" in (select "settings"."rowid" from "settings" where ("key" = 'standings.win_points') limit 1)