• Resolved accustrip

    (@accustrip)


    Hi
    I do a weekly backup to Google Drive and today I wanted to do a restore of the website: wwww.accustrip.com
    Because some error ocurred on the front page, where the images disappeared.

    I chose to restore: plugins and themes.

    But the restore failed.
    In the log file it said: “Error message: Could not extract file from archive. PCLZIP_ERR_BAD_FORMAT”

    Can you please help me, so I can make a restore and fix my site. Help would be greatly appreciated.

    THIS IS THE ENTIRE LOG:

    0000.002 () Opened log file at time: Tue, 22 Nov 2022 10:10:45 +0000 on https://accustrip.com
    0000.002 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.22.23 WP: 6.1.1 PHP: 8.0.25 (cgi-fcgi, Linux accustrip.com 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64) MySQL: 10.3.34-MariaDB-1:10.3.34+maria~focal (max packet size=1073741824) WPLANG: en_US Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 536870912 (used: 25.4M | 28M) multisite: N openssl: OpenSSL 1.1.1f  31 Mar 2020 mcrypt: N LANG:  ZipArchive::addFile: Y
    0000.002 () Free space on disk containing Updraft's temporary directory: 20975515.8 MB
    0000.025 () Restore setup, now closing connection and starting restore over AJAX.
    0000.001 () Opened log file at time: Tue, 22 Nov 2022 10:10:46 +0000 on https://accustrip.com
    0000.002 () UpdraftPlus WordPress backup plugin (https://updraftplus.com): 1.22.23 WP: 6.1.1 PHP: 8.0.25 (cgi-fcgi, Linux accustrip.com 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64) MySQL: 10.3.34-MariaDB-1:10.3.34+maria~focal (max packet size=1073741824) WPLANG: en_US Server: Apache safe_mode: 0 max_execution_time: 900 memory_limit: 536870912 (used: 24.2M | 26M) multisite: N openssl: OpenSSL 1.1.1f  31 Mar 2020 mcrypt: N LANG:  ZipArchive::addFile: Y
    0000.002 () Free space on disk containing Updraft's temporary directory: 20975515.8 MB
    0000.018 () Ensuring WP_Filesystem is setup for a restore
    0000.021 () WP_Filesystem is setup and ready for a restore
    0000.027 () Restore job started. Entities to restore: plugins, themes. Restore options: {"updraft_encryptionphrase":"","updraft_restorer_wpcore_includewpconfig":false,"updraft_incremental_restore_point":-1}
    0000.027 () PHP event: code E_WARNING: set_time_limit(): Cannot set max execution time limit due to system policy (line 634, wp-content/plugins/updraftplus/restorer.php)
    0000.031 () PHP event: code E_WARNING: mkdir(): File exists (line 545, wp-admin/includes/class-wp-filesystem-direct.php)
    0000.040 () Entity: plugins
    0000.040 () restore_backup(backup_file=backup_2022-11-21-2158_Accustrip_5c1c17d3b1cd-plugins.zip, type=plugins, info=a:3:{s:4:"path";s:59:"/customers/0/9/c/accustrip.com/httpd.www/wp-content/plugins";s:11:"description";s:7:"Plugins";s:20:"singular_description";s:6:"Plugin";}, last_one=)
    0000.040 () PHP event: code E_WARNING: set_time_limit(): Cannot set max execution time limit due to system policy (line 1606, wp-content/plugins/updraftplus/restorer.php)
    0000.040 () Unpacking backup... (backup_2022-11-21-2158_Accustrip_5c1c17d3b1cd-plugins.zip, 68.9 MB)
    0000.044 () Unzipping backup_2022-11-21-2158_Accustrip_5c1c17d3b1cd-plugins.zip to /customers/0/9/c/accustrip.com/httpd.www/wp-content/upgrade/2ec3753a/ using UpdraftPlus_ZipArchive, starting index 0
    0000.342 () ZipArchive returned an error (will try again with PclZip): incompatible_archive
    0000.342 () Unzipping backup_2022-11-21-2158_Accustrip_5c1c17d3b1cd-plugins.zip to /customers/0/9/c/accustrip.com/httpd.www/wp-content/upgrade/2ec3753a/ using UpdraftPlus_PclZip, starting index 0
    0004.886 () PHP event: code E_WARNING: gzinflate(): data error (line 4250, wp-admin/includes/class-pclzip.php)
    0004.956 () Unzip progress: 2445 out of 14513 files (904 B, plugins/akismet/_inc/img/logo-a-2x.png)
    0019.990 () Unzip progress: 2663 out of 14513 files (929.9 KB, plugins/wordpress-seo/admin/class-meta-columns.php)
    0035.987 () Unzip progress: 2884 out of 14513 files (6.6 MB, plugins/wordpress-seo/js/dist/select2/i18n/en.js)
    0052.009 () Unzip progress: 3122 out of 14513 files (9.9 MB, plugins/wordpress-seo/src/config/migrations/20200428194858_ExpandIndexableColumnLengths.php)
    0067.983 () Unzip progress: 3358 out of 14513 files (11 MB, plugins/wordpress-seo/src/integrations/admin/import-integration.php)
    0084.002 () Unzip progress: 3584 out of 14513 files (11.6 MB, plugins/wordpress-seo/src/services/importing/conflicting-plugins-service.php)
    0100.022 () Unzip progress: 3814 out of 14513 files (12.7 MB, plugins/wordpress-seo/vendor_prefixed/wordproof/wordpress-sdk/app/Translations/DefaultTranslations.php)
    0116.031 () Unzip progress: 4040 out of 14513 files (22.1 MB, plugins/elementor/assets/css/frontend-lite.min.css)
    0131.974 () Unzip progress: 4274 out of 14513 files (38.3 MB, plugins/elementor/assets/lib/font-awesome/webfonts/fa-regular-400.woff)
    0148.020 () Unzip progress: 4498 out of 14513 files (41.2 MB, plugins/elementor/core/logger/items/log-item-interface.php)
    0164.035 () Unzip progress: 4726 out of 14513 files (42.8 MB, plugins/elementor/includes/fonts.php)
    0180.019 () Unzip progress: 4952 out of 14513 files (44.5 MB, plugins/header-footer-elementor/themes/hello-elementor/class-hfe-hello-elementor-compat.php)
    0196.027 () Unzip progress: 5178 out of 14513 files (47.3 MB, plugins/onecom-themes-plugins/modules/health-monitor/classes/class-onecom-fixes.php)
    0211.997 () Unzip progress: 5398 out of 14513 files (48.8 MB, plugins/onecom-spam-protection/languages/onecom-sp-da_DK.mo)
    0227.995 () Unzip progress: 5627 out of 14513 files (51.5 MB, plugins/astra-sites/inc/importers/batch-processing/helpers/class-astra-sites-image-importer.php)
    0243.982 () Unzip progress: 5858 out of 14513 files (56.7 MB, plugins/wordfence/crypto/vendor/composer/platform_check.php)
    0260.030 () Unzip progress: 6080 out of 14513 files (59.5 MB, plugins/wordfence/js/Chart.bundle.min.1664898183.js)
    0275.975 () Unzip progress: 6293 out of 14513 files (68.6 MB, plugins/wordfence/modules/login-security/views/options/option-ntp.php)
    0291.971 () Unzip progress: 6516 out of 14513 files (70.4 MB, plugins/wordfence/views/waf/waf-install-manual.php)
    0308.027 () Unzip progress: 6742 out of 14513 files (74.7 MB, plugins/updraftplus/images/updraftclone_logo_white.png)
    0322.519 () PHP event: code E_WARNING: gzinflate(): data error (line 4250, wp-admin/includes/class-pclzip.php)
    0328.264 () Error message: Could not extract file from archive. PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure
    0328.264 () Error data (extract_failed_pclzip): {"name":"plugins\/updraftplus\/languages\/updraftplus-fa_IR.po","size":375320}
    0328.267 () Restore failed...
    0328.267 () Error message: Could not extract file from archive. PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure
    0328.267 () Error data (extract_failed_pclzip): {"name":"plugins\/updraftplus\/languages\/updraftplus-fa_IR.po","size":375320}
    0328.267 () Restore failed

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Your log is showing;

    0328.267 () Error message: Could not extract file from archive. PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure
    0328.267 () Error data (extract_failed_pclzip): {“name”:”plugins\/updraftplus\/languages\/updraftplus-fa_IR.po”,”size”:375320}

    The gzinflate function will return an error if the uncompressed data is more than 32768 times the length of the compressed input data or, unless max_length is 0, more than the optional parameter max_length which occurs when the plugin in trying to restore UpdraftPlus.
    Could you try downloading the Plugins folder, deleting the UpdraftPlus plugin zipping the backup back up and the restoring it?

    • This reply was modified 2 years ago by vupdraft.
    Thread Starter accustrip

    (@accustrip)

    Thanks for your quick answer. I will try your solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restore backup failed’ is closed to new replies.