Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install fails with sql error #349

Open
michapixel opened this issue Feb 4, 2021 · 2 comments
Open

install fails with sql error #349

michapixel opened this issue Feb 4, 2021 · 2 comments

Comments

@michapixel
Copy link

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.

@michapixel
Copy link
Author

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.

@mepsd
Copy link

mepsd commented Apr 8, 2021

you can run php artisan migrate::fresh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@michapixel @mepsd and others