-
-
Notifications
You must be signed in to change notification settings - Fork 772
The dump process failed with exitcode 2 #80
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
Comments
If it can run on the cli, it should work in the controller as well. From a package standpoint there's no difference in calling it from cli or calling the command from your controller. I the problem is caused by something specific to your setup. Could you verify that your php process has the right permissions to call binaries such as |
Hi, the command php7.0 artisan backup:run works perfectly, the problem is using the call from the controller Sent from my iPhone
|
Hi. Thanks |
@nam-co Please check with your hosting provider if PHP has the right permissions to execute @adzymaniac currently only MySQL databases are supported |
Hi freekmurze thanks for the upgrade, it works perfect now, but… I need your help once again
Im trying to run a shell command from a controller, I tried both Artisan::call('backup:run’); AND $output = shell_exec('php7.0-sp artisan backup:run');
but I get the same error:
Starting backup...
Dumping database appDB...
Backup failed because The dump process failed with exitcode 2 : Misuse of shell builtins.
Backup completed!
Hope you can help me regards
Michael
The text was updated successfully, but these errors were encountered: