Skip to content

Error at install, can't reinstall it

Nicolas Widart edited this page Jun 9, 2015 · 3 revisions

Problem

When you have an error at the install you can't reinstall it

Steps:

php artisan asgard:install
                          
Welcome!                              
Starting the installation process...  
                                    
Enter your database host [localhost]:  
Enter your database name []:  asgardcms
Enter your database username [root]:  
Enter your database password []:  
Database successfully configured
                                 
  User Module                        
Starting the User Module setup...  
                                 
Which user driver do you wish to use? Please make sure you installed your preferred driver beforehand. [1] 
   [0] Sentinel (Paid)
   [1] Sentry (Free)
> 1

SQLSTATE[HY000] [1049] Unknown database 'asgardcms'

And after fixing it, I have the following message

php artisan asgard:install
                                 
 Welcome!                              
 Starting the installation process...  
                                    
Asgard has already been installed. You can already log into your administration.

Solution

If this happens you can use: php artisan asgard:install --force