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

[Bug] Installation freezes on SQLite #5456

Closed
tabacitu opened this issue Feb 27, 2024 · 2 comments
Closed

[Bug] Installation freezes on SQLite #5456

tabacitu opened this issue Feb 27, 2024 · 2 comments

Comments

@tabacitu
Copy link
Member

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 found the first step gives an error 🤦‍♂️ but that's a different problem;
  • I found when running php artisan migrate that 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.

@pxpm
Copy link
Contributor

pxpm commented Feb 29, 2024

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
Copy link
Contributor

pxpm commented May 20, 2024

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

@pxpm pxpm closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants