CRUD
CRUD copied to clipboard
[Bug] Installation freezes on SQLite
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:
What I've already tried to fix it
Ran the manual installation process. During it...
- I found the first step gives an error 🤦♂️ but that's a different problem;
- I found when running
php artisan migratethat it will ask me if I want to create the database (because it doesn't exist); - if after that step I run
php artisan backpack:install, all works great;
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.
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:
Cheers
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