LavaLite / cms

Multilingual PHP CMS built with Laravel and bootstrap

Home Page:https://lavalite.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install fails with sql error

michapixel opened this issue · comments

windows 10
apache 2.4.4.6
mysql 5.7.18
php 7.4.10

install seems to be fine until migrations are run:

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'roles' already exists (SQL: create table roles (idint unsigned not null auto_increment primary key,namevarchar(255) null,slugvarchar(255) null,descriptionvarchar(255) null,levelint not null default '1',deleted_attimestamp null,created_attimestamp null,updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')

and exit.

oh btw i used to install it like described on the corresponding doc-page:

composer create-project LavaLite/cms --prefer-dist website
cd website
php artisan lavalite:install
(key is generated btw)

i ran
php artisan serve
just to see if anything else is missing, but it fails and i guess a superuser never has been set since the installer didn't run through.

you can run php artisan migrate::fresh