-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Bug] Creating Backups fails #4
Comments
Hi, according to spatie/laravel-backup#1445 this is due to the need of the pcntl php extension which is missing in the docker image. I'm afraid the most easy way to solve that would be to switch to the official php-fpm docker image?! @gdarko what do you think? |
Ah good find! Then something like this in the Dockerfile should fix it, can test it tomorrow.
|
Update: doesnt work that easy, i've managed to include pcntl by installing it via pecl/pear but same result. Strangely
so it's already there but can't be used/ found? Maybe using a base php image is the only easier way. |
Or copy it from the baseImage into your own produced image? |
The issue will be resolved once v1.2.0 is out, soon. |
The issue has been resolved as of 1.2.0+ version. Best Regards, |
Describe the bug
Creating a backup results in an error
Undefiend constant: Spatie\Backup\Tasks\Backup\SIGINT
.local_public / local_private nor backup type changes this behavior.
Expected behavior
Create a backup without error.
Additional info
How should a backup be restored? Didn't see anything during setup/menu option. Enter docker (for me) and execute restore directly on the database via cli?
Please complete the following information:
Optional info
docker-compose.yml
The text was updated successfully, but these errors were encountered: