Laravel-Backpack / CRUD

Build custom admin panels. Fast!
https://backpackforlaravel.com
MIT License
3k stars 880 forks source link

[Bug] Installation freezes on SQLite #5456

Closed tabacitu closed 1 month ago

tabacitu commented 4 months ago

Bug report

What I did

Installed a fresh Laravel, then Backpack on top:

laravel new installation-failes-on-sql
# chose no starter kit
# chose SQLite as the DB when asked

composer require backpack/crud
php artisan backpack:install

What I expected to happen

Work.

What happened

Installation got stuck here: CleanShot 2024-02-27 at 18 01 10@2x

What I've already tried to fix it

Ran the manual installation process. During it...

I don't know what we should do in this case... but we should do something, I do think people are going to use SQLite more and more nowadays that it's the default in Laravel 11.

Is it a bug in the latest version of Backpack?

Yes, this would try to install the latest version of Backpack.

pxpm commented 4 months ago

Hey @tabacitu is it possible that you don't have sqlite extension enabled/installed ?

I've just did a new project, using Laravel 11, ran php artisan backpack:install, created admin users and logged it, using sqlite:

image

image

Cheers

pxpm commented 1 month ago

Hey Cristian, I couldn't reproduce this again.

I've just installed a fresh app, tried migrating first and after run the install, tried without migrations just run the install and everything went smooth.

Please reopen and provide steps to reproduce if possible.

Cheers