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

Could not open Zip Archive during backup restoring #502

Open
gkourkafas opened this issue Mar 12, 2023 · 2 comments
Open

Could not open Zip Archive during backup restoring #502

gkourkafas opened this issue Mar 12, 2023 · 2 comments

Comments

@gkourkafas
Copy link

gkourkafas commented Mar 12, 2023

Hi,

when trying to restore a full backup from scratch from my workstation, the chunks of the found data packs cannot be extracted, giving the error message: "Could not open Zip Archive (21)" . I'm using Nextcloud Hub 3 (25.0.4) with the Backup app version 1.2.0 .

Has anybody had a similar issue? Any ideas how to tackle it? Thank you very much!

Here is part of the terminal output:

./occ backup:point:restore 20230312070011-full-NwFg1nXomSbt1CG
Restoring Point: 20230312070011-full-NwFg1nXomSbt1CG
Date: 2023-03-12 07:00:11
Checking Health status: ok


WARNING! You are about to initiate the complete restoration of your instance!
All data generated since the creation of the selected backup will be lost...

Your instance will come back to a previous state from 3 hours, 0 minutes and 27 seconds ago.

Do you really want to continue this operation ? (y/N) y

> Enabling maintenance mode
> Restoring 20230312070011-full-NwFg1nXomSbt1CG

 > Found data pack: data
   > will be extracted in /home/user/nextclouddata/
    - enter a new absolute path, or type yes to confirm this location or no to ignore this part of the backup: yes
   > extracting data to /home/user/nextclouddata/
   > Chunk: data-ee317c64-365a-4684-a137-ef08855dfafa.zip (11551 files) Could not open Zip Archive (21)
@Kisaragi-ng
Copy link

Have you made sure the PHP extension "zip" isn't missing?

@gkourkafas
Copy link
Author

Thanks for the tip @Kisaragi-ng , but the PHP extension "zip" is not missing.

I do have some issues with the backed-up installation - some warnings in the nextcloud admin overview and when trying to run "occ" I get " Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?) " - however these issues are not present in the new installation (same PHP version), where I am trying to restore the previous data. Do you think this could be causing the problem?

I will try to investigate further and report back. In the meantime any other ideas are very welcomed :)

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