Articles in this section

Backup task fails in WP Toolkit: /usr/bin/zip execution failed: *** buffer overflow detected ***: terminated

kb: bug Plesk for Linux ext: wptk

Applicable to:

  • Plesk for Linux

Symptoms

  • On a Debian-based Linux Plesk server (commonly one with Ubuntu 24.04), it is not possible to back up a WordPress website in the WP Toolkit, because the operation fails with an error that is similar to the following:

    PLESK_ERROR: Task failed filemng failed: zip error: Interrupted (aborting) filemng: /usr/bin/zip execution failed: buffer overflow detected: terminated

  • The WP files that are being backed up contain file names that have special characters (such as ä, ö, and ü).

Cause

The error is caused due to the use of the official zip 3.0-13 package, which has the following bug:

Bug #2070098 “zip buffer overflow detected with umlaut o (ö) in ...” : Bugs : zip package : Ubuntu

In general, the issue itself is not specific to Plesk, however it has been recognized as a bug with ID #EXTWPTOOLK-12140.

Resolution

You can resolve the issue via a manual update for the zip package by executing the following steps:

1. Log into your server via SSH

2. Download the newer zip 3.0-14 package by executing the following command:

The direct download of the package is necessary for the moment, because the zip 3.0-14 package is not available for installation via apt or apt-get yet

Note: The package in the example below is specifically for use on the Ubuntu 24 operating system

# wget http://archive.ubuntu.com/ubuntu/pool/main/z/zip/zip_3.0-14ubuntu1_amd64.deb

2. Upgrade the zip package from 3.0-13 to 3.0-14 by executing this command

# dpkg -i zip_3.0-14ubuntu1_amd64.deb

Once this has been done, you would be able to complete the backup via the WP Toolkit normally.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.