pavel-mironchik / laravel-backup-panel

An interface for Spatie Laravel Backup package
MIT License
406 stars 42 forks source link

The dump process failed with a none successful exitcode. #44

Closed otatechie closed 1 year ago

otatechie commented 2 years ago

Hello, thanks for the package. Am able to successfully create a files backup but when I try to create a database backup, I get

Exitcode ======== 127: Command not found Output ====== <no output> Error Output ============ sh: mysqldump: command not found

pavel-mironchik commented 2 years ago

Does the php artisan backup:run command work without issues?

otatechie commented 2 years ago

Yes @pavel-mironchik it works fine

pavel-mironchik commented 2 years ago

Can you prepare a repository that I can use to reproduce the issue?

otatechie commented 2 years ago

Okay let me create one

otatechie commented 2 years ago

@pavel-mironchik please this is the link laravel backup issue

otatechie commented 2 years ago

@pavel-mironchik any feedback regarding this issue, please?

pavel-mironchik commented 2 years ago

Not yet. Did you find out the cause?

pavel-mironchik commented 1 year ago

Can't reproduce the issue. I'm not sure but probably a php-fpm (or a user it runs by) hasn't access to the mysqldump binary. Or it is SELinux, or else. Anyway, this issue isn't related to the package.