-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Laradock and Spatie Backup – mysqldump
command not found
#644
Comments
open up your workspace/Dockerfile and add these lines to it
down your containers |
Thanks, that does it. I thought maybe there's a way to not install mysql cli inside of workspace, but that works as well. Cheers! |
i got a error, when i run E: Unable to locate package mysql-client |
@ohblue run |
my |
Thank you, @hasangilak . That was helpful. I agree with @Dartanjan :
|
I had this same issue but in order to solve it completely you have to add this same lines to the php-fpm/Dockerfile too. I had the same problem when I created new backup from Laravel Backpack Backup UI . This snippet which install mysql client solves error which was showing up.
|
in newer laradock |
I noticed that for all my daily backups since 2019-08-18, the zip files in S3 have been tiny: “444.0 B” (444 bytes). For hours, I looked into possible problems with permissions, configs, caching, etc. When I unzipped the tiny backup zip file, these were the only lines:
(It’s 1,025 bytes uncompressed. ) The good news is that my backups are now working again. But I'm not sure why. My guess is that it started working after installing mysql on workspace and php-fpm (#644 (comment)) and then |
@ohblue I ran into that error as well. Found a SO post explaining that the package is called
|
If you are using postgresql that add |
Hi, I'm new to Docker so this may be a bit basic. I want to use Spatie Backup (https://github.com/spatie/laravel-backup) but it needs access to
mysqldump
. Of course,mysqldump
is only available under mysql container, not workspace. By default, spatie/laravel-backup takes current database configuration, so shouldn'tmysqldump
be available, as it runs on the same exposed port as mysql, i.e.laradock_mysql
?Thanks.
The text was updated successfully, but these errors were encountered: