#!/usr/bin/env php πŸš€ Finora – Setup Inicial ───────────────────────────────────────────── β†’ Publicando assets do Spatie Permission… INFO Publishing assets. Copying file [vendor/spatie/laravel-permission/config/permission.php] to [config/permission.php] DONE Copying file [vendor/spatie/laravel-permission/database/migrations/create_permission_tables.php.stub] to [database/migrations/2026_02_22_005908_create_permission_tables.php] DONE β†’ Rodando migrations e seeders… INFO Nothing to migrate. INFO Seeding database. Database\Seeders\RolesAndPermissionsSeeder ......................... RUNNING Spatie\Permission\Exceptions\RoleAlreadyExists A role `admin` already exists for guard `web`. at vendor/spatie/laravel-permission/src/Exceptions/RoleAlreadyExists.php:11 7β–• class RoleAlreadyExists extends InvalidArgumentException 8β–• { 9β–• public static function create(string $roleName, string $guardName) 10β–• { ➜ 11β–• return new static(__('A role `:role` already exists for guard `:guard`.', [ 12β–• 'role' => $roleName, 13β–• 'guard' => $guardName, 14β–• ])); 15β–• } +1 vendor frames  2 database/seeders/RolesAndPermissionsSeeder.php:19 Spatie\Permission\Models\Role::create() +8 vendor frames  11 database/seeders/DatabaseSeeder.php:14 Illuminate\Database\Seeder::call() β†’ Criando link do storage… ERROR The [public/storage] link already exists. β†’ Limpando cache de configuraΓ§Γ£o… INFO Clearing cached bootstrap files. config ......................................................... 1.53ms DONE cache ......................................................... 55.44ms DONE compiled ....................................................... 1.14ms DONE events ......................................................... 0.67ms DONE routes ......................................................... 0.66ms DONE views .......................................................... 4.80ms DONE β†’ Gerando chave da aplicaΓ§Γ£o (se vazia)…  ErrorException   file_get_contents(/home/delucis/finora/.env): Failed to open stream: No such file or directory at vendor/laravel/framework/src/Illuminate/Foundation/Console/KeyGenerateCommand.php:100 96β–• { 97β–• $replaced = preg_replace( 98β–• $this->keyReplacementPattern(), 99β–• 'APP_KEY='.$key, ➜ 100β–• $input = file_get_contents($this->laravel->environmentFilePath()) 101β–• ); 102β–• 103β–• if ($replaced === $input || $replaced === null) { 104β–• if (isset($_ENV['APP_KEY'])) { +16 vendor frames  17 artisan:16  Illuminate\Foundation\Application::handleCommand() ───────────────────────────────────────────── βœ… Setup concluΓ­do! Acesse: http://localhost/finora/public Admin: admin@finora.app / finora@2026