Replies: 5 comments 2 replies
-
We got the same error, probally this error pops up because the files where moved during the creation of the .zip file. Do you think this is te solution? |
Beta Was this translation helpful? Give feedback.
-
Hello, - I have the same issue - (here is the new discussion I was about to post, before double checking and found this thread) It seems that my app (when run on cron) sometimes (not always) returns this error message when performing What are the likely causes? We have enough disk space. Permissions seem to be alright. Cron is run using $ la -laZ /var/www/html/storage/app/backup-temp
drwxr-xr-x. 2 apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 6 Jul 26 06:33 .
drwxrwxr-x. 9 apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 144 Jul 14 15:03 .. Any ideas would be appreciated. Exception message and trace up to the first package method
|
Beta Was this translation helpful? Give feedback.
-
The reason is simple. The ZIP gets opened. THEN IT HAPPENS SOMETIMES OR EVERY TIME THAT A FILE THAT GOT ADDED IS DELETED. (Like a User deleted his profile image) ZIP gets closed() and while closing it tries to find the added files. Does not find the deleted profile image and: I opened a discussion with a suggestion how to handle this problem. ZipArchive does not support just skipping missing files that have been added before, so this is a real problem. |
Beta Was this translation helpful? Give feedback.
-
I do have this error sometimes too, what I found was the cached files being deleted is causing this, as a simple solution I excluded all cache/session related folders and it runs fine. And in a backup, we really do not need the session, view cache or application cache most of the time as they will be re-generated upon launch anyway (if we revert to a backup or try to use if for some debug installs) |
Beta Was this translation helpful? Give feedback.
-
I know that this can happen with caches but in my case this is a living community and things get deleted and created every second. People upload images, delete images, The backup process takes hours and of course … this is not just caches. What I do is make folders with hard links to everthing and backup this folder only, in the hope that hard links keep the files from being trashed in during the backup process, but still this does not help always.
… Am 06.07.2024 um 11:59 schrieb B.Fatih KOZ ***@***.***>:
I do have this error sometimes too, what I found was the cached files being deleted is causing this, as a simple solution I excluded all cache/session related folders and it runs fine.
And in a backup, we really do not need the session, view cache or application cache most of the time as they will be re-generated upon launch anyway (if we revert to a backup or try to use if for some debug installs)
—
Reply to this email directly, view it on GitHub <#1138 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFAU6K5XQKC3GR5O3DI4ZCLZK65WXAVCNFSM6AAAAAAR4XLW5SVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSNZTHE4DM>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Using version 6.11. It works sometimes, but other times throws this error.
Beta Was this translation helpful? Give feedback.
All reactions