Skip to content
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

ZipArchive::close(): Can't open file: No such device or address. #768

Closed
robinnpca opened this issue Oct 10, 2018 · 1 comment
Closed

ZipArchive::close(): Can't open file: No such device or address. #768

robinnpca opened this issue Oct 10, 2018 · 1 comment

Comments

@robinnpca
Copy link

Backup failed because ZipArchive::close(): Can't open file: No such device or address.
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'ZipArchive::clo...', '/var/www/html/c...', 82, Array)
#1 /var/www/html/comefo/vendor/spatie/laravel-backup/src/Tasks/Backup/Zip.php(82): ZipArchive->close()
....

cannot use php artisan backup:run

Cannot find the solution

I change my www folder to
chmod -R 777 /var/www
chmod -R www-data:www-data /var/www

still cannot solve the issue....

@freekmurze
Copy link
Member

The tests seem to indicate that zipping files is working fine. This error is probably caused by something on your end. If you do find the package itself is in error, please submit a failing test for us to look at.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants