Asgardcms 2 installation problem

  • I am trying install Asgard 2.0. After I modified .env, I run installation.

    ➜  asgardcms2 php artisan asgard:install
      Starting the installation process...
    Asgard has already been installed. You can already log into your administration.
    ➜  asgardcms2 php artisan key:generate
    Application key [base64:YmCNZ9zYzbKOcH7spvqthz7YQ5Sc6HqQwpEAOP3Fpec=] set successfully.

    But there is nothing in database. And gives an error;

    QueryException in Connection.php line 725:
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'asgardcms2.page__pages' doesn't exist (SQL: select * from `page__pages` where `is_home` = 1 limit 1)

  • Global Moderator


    If you setup .env before install command you have to run asgard installation with force flag php artisan asgard:install --force.
    If there is already INSTALLED=true entry in .env, remove that and run with force flag.

  • Thanks. I just deleted the .env file and started the installation.

Log in to reply

Looks like your connection to AsgardCms was lost, please wait while we try to reconnect.