shuvroroy / filament-spatie-laravel-backup

Create backup of a Laravel application
MIT License
186 stars 43 forks source link

could not find driver #64

Open JamDesigns opened 5 months ago

JamDesigns commented 5 months ago

This error occurs when I want to see the backup table in Filament php V3.

Illuminate \ Database \ QueryException PHP 8.1.10 Laravel 10.48.3

could not find driver

create table "backup_destination_statuses" ( "id" integer primary key autoincrement not null, "name" varchar, "disk" varchar, "reachable" varchar, "healthy" varchar, "amount" integer, "newest" varchar, "usedStorage" varchar )

Does anyone know how to resolve this bug?

webmaster254 commented 4 months ago

Also got the same error

schwemmer commented 4 months ago

Same issue.

schwemmer commented 4 months ago

This seems to happen when you do not have sqlite3 installed on the server.

vootrunner commented 2 months ago

Also occurs when using mysql. The rest of my app is working fine, so not a PDO driver issue. mysql is configured in the Spatie config, so that's not the issue either.

I also verified that sqlite3 was installed hoping that there was some weird dependency involved. There is not.

vootrunner commented 2 months ago

Installing the php-sqlite3 extension and making sure that pdo_sqlite was enabled in my php.ini resolved the issue for me.

DeviJv commented 1 month ago

i have same issue on production server how to solvedd this im using mysql

maned3v commented 11 hours ago

Same here on MySQL

"php": 8.2, "filament/filament": 3.2.0, "laravel/framework": 11.22.0, "shuvroroy/filament-spatie-laravel-backup": 2.2

php artisan backup:run runs fine