Shipu / web-installer

Laravel Web Installer
50 stars 13 forks source link

Bug: installed appears everytime #4

Closed mohssineAboutaj closed 7 months ago

mohssineAboutaj commented 8 months ago

After installing the package and fill the form, it works fine, but every time I open the app it redirects me to the installation form

Here is what I did 1- I change the value in config/installer.php image 2- I use the middleware image 3- I check the storage permissions image

mohssineAboutaj commented 7 months ago

I figure that there is a duplicate user entry

[2024-02-14 17:06:52] local.INFO: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'admin@demo.com' for key 'users_email_unique'

@Shipu can you add this line to the InstallationManager.php so the user can figure out what's going on, like this:

    } catch (\Exception $exception) {
      \Log::info($exception->getMessage());
      return false;
    }