DB Backup Fails
#1557
Replies: 3 comments 1 reply
-
you are missing a dependency |
Beta Was this translation helpful? Give feedback.
1 reply
-
and which one would that be? I just used composer require spatie/laravel-backup which should install all requirements (except the zip extension for PHP, which is installed) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've just installed this package and as soon I try to run the backup I face the same error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment is in a docker container
MySQL version 8.0.27
Starting backup...
Dumping database laravel-project...
Backup failed because The dump process failed with a none successful exitcode.
Exitcode
2: Misuse of shell builtins
Output
Error Output
mysqldump: Got error: 1045: "Plugin caching_sha2_password could not be loaded: /usr/lib/x86_64-linux-gnu/mariadb19/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory" when trying to connect
.
#0 /var/www/html/vendor/spatie/db-dumper/src/DbDumper.php(178): Spatie\DbDumper\Exceptions\DumpFailed::processDidNotEndSuccessfully(Object(Symfony\Component\Process\Process))
Beta Was this translation helpful? Give feedback.
All reactions