diff --git a/app/Filament/Pages/Installer/PanelInstaller.php b/app/Filament/Pages/Installer/PanelInstaller.php index 2e0dcaf57..11cbd98c8 100644 --- a/app/Filament/Pages/Installer/PanelInstaller.php +++ b/app/Filament/Pages/Installer/PanelInstaller.php @@ -103,6 +103,10 @@ class PanelInstaller extends SimplePage implements HasForms $variables = array_get($inputs, 'env'); $this->writeToEnvironment($variables); + // Clear cache + Artisan::call('config:clear'); + Artisan::call('cache:clear'); + // Run migrations Artisan::call('migrate', [ '--force' => true,