F
Filament16mo ago
Matthew

Filament Backup not working

I followed the guide on github but still Backup doesnt work. When I create backups I cant download them nor see them in the table. Any idea what could be the issue? (Production using ubuntu)
No description
8 Replies
Matthew
MatthewOP16mo ago
root@ubuntu:/var/www/PersonalMaterials# php artisan backup:run
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: /usr/lib/php/20220829/pdo_sqlite (/usr/lib/php/20220829/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/lib/php/20220829/pdo_sqlite.so (/usr/lib/php/20220829/pdo_sqlite.so: undefined symbol: php_pdo_unregister_driver)) in Unknown on line 0
PHP Warning: Module "sqlite3" is already loaded in Unknown on line 0
Starting backup...
Dumping database material...
Determining files to backup...
Zipping 4302 files and directories...
Created zip containing 4302 files and directories. Size is 3.44 MB
Copying zip to disk named local...
Successfully copied zip to disk named local.
Sending notification failed
Backup completed!
root@ubuntu:/var/www/PersonalMaterials# php artisan backup:run
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite' (tried: /usr/lib/php/20220829/pdo_sqlite (/usr/lib/php/20220829/pdo_sqlite: cannot open shared object file: No such file or directory), /usr/lib/php/20220829/pdo_sqlite.so (/usr/lib/php/20220829/pdo_sqlite.so: undefined symbol: php_pdo_unregister_driver)) in Unknown on line 0
PHP Warning: Module "sqlite3" is already loaded in Unknown on line 0
Starting backup...
Dumping database material...
Determining files to backup...
Zipping 4302 files and directories...
Created zip containing 4302 files and directories. Size is 3.44 MB
Copying zip to disk named local...
Successfully copied zip to disk named local.
Sending notification failed
Backup completed!
Anyone please?
awcodes
awcodes16mo ago
looks like you don't have the pdo_sqlite extension installed on your production server
DarkKnight
DarkKnight16mo ago
I do!
DarkKnight
DarkKnight16mo ago
No description
awcodes
awcodes16mo ago
well something is wrong on your server, PHP can't load the extension, according to your error.
Matthew
MatthewOP16mo ago
I had the extensions enabled. BUt even by disabling them I still dont see the backup on the table. This is leading be to believe that there could be an issue with the v3 version of the plugin
awcodes
awcodes16mo ago
That's entirely possible, but I'd start with PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite'
Matthew
MatthewOP16mo ago
Will have a look. Thanks! Ok so apparently there was an issue with the permissions. I saw that the files were being stored locally so I didnt think much of it. I gave it permissions again and now it works
Want results from more Discord servers?
Add your server