• Resolved jwamsterdam

    (@jwamsterdam)


    Hi, I keep getting this message when creating a new backup file:

    "Couldn't close zip archive".

    In the past, I have succesfully created backup files, and restored them.

    Error log:

    Couldn't close zip archive FILE: /var/www/vhosts/mondig.nu/httpdocs/wp-content/plugins/duplicator/classes/package/class.pack.installer.php[811] #0 /var/www/vhosts/mondig.nu/httpdocs/wp-content/plugins/duplicator/classes/package/class.pack.installer.php(765): DUP_Installer->zipArchiveAddExtra() #1 /var/www/vhosts/mondig.nu/httpdocs/wp-content/plugins/duplicator/classes/package/class.pack.installer.php(70): DUP_Installer->add_extra_files(Object(DUP_Package)) #2 /var/www/vhosts/mondig.nu/httpdocs/wp-content/plugins/duplicator/classes/package/class.pack.php(1373): DUP_Installer->build(Object(DUP_Package)) #3 /var/www/vhosts/mondig.nu/httpdocs/wp-content/plugins/duplicator/ctrls/ctrl.package.php(89): DUP_Package->runZipBuild() #4 /var/www/vhosts/mondig.nu/httpdocs/wp-includes/class-wp-hook.php(308): duplicator_package_build('') #5 /var/www/vhosts/mondig.nu/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #6 /var/www/vhosts/mondig.nu/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /var/www/vhosts/mondig.nu/httpdocs/wp-admin/admin-ajax.php(188): do_action('wp_ajax_duplica...') #8 {main}

    System information:

    PHP 8.1.18

    Before building the package, the only warning I get, is:

    PHP Open Base Dir: 'ON'

    Does anyone know how I can solve this issue?

    • This topic was modified 3 years, 1 month ago by jwamsterdam.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @jwamsterdam ,

    Could you try DupArchive for building your package instead of ZipArchive as follows:

    Go to Settings > Packages and set Archive Engine to “DupArchive” then try another build.

    Please let me know if this works.

    I’m looking forward to your reply.

    Thanks!

    Thread Starter jwamsterdam

    (@jwamsterdam)

    Hi @mohammedeisa , that worked! Though I rather have a zip file then a daf file.

    is there any php setting I can increase in order to get ziparchive back to work?

    thanks!

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @jwamsterdam ,

    Could you try building the package with PHP 7.4?

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @jwamsterdam ,

    I’m closing this ticket for inactivity. Please don’t hesitate to contact us in a new ticket if you need any help with Duplicator.

    Thanks! 

    Hi, I have a problem with the Duplicator plugin. An error message appears:

    Couldn’t close zip archive

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hi @jokoma,

    Could you try DupArchive for building your package instead of ZipArchive as follows:

    Go to Settings > Packages and set Archive Engine to “DupArchive” then try another build.

    Please let me know if this works.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Couldn’t close zip archive’ is closed to new replies.