Troubleshooting 'Archive Not Found' and Related Errors in Duplicator
Content
Stuck on an Archive Error? Here's How to Fix It
One of the most common hurdles users face when migrating a WordPress site with the Duplicator plugin is encountering an error related to the archive file. Messages like 'Archive not found', 'Archive parameter not specified', or 'Archive/Installer mismatch' can bring your migration to a screeching halt. This guide will explain why these errors occur and walk you through the most effective solutions to get your installation back on track.
Why Do These Archive Errors Happen?
Based on community reports and common scenarios, these errors are almost never a flaw in the Duplicator plugin itself. Instead, they are typically caused by one of the following issues:
- Incomplete File Upload/Download: The archive.zip file may not have been fully transferred to the server or downloaded from the source site.
- Filename Mismatch: The installer.php file is designed to look for one specific archive filename. If the archive is renamed or if the installer and archive are from different packages, they will not recognize each other.
- Server Configuration Issues: Certain server settings, like security scanners, mod_security rules, or PHP configuration limits, can interrupt file access or execution.
- File Permissions: The web server user (e.g., www-data) may not have read permissions for the archive file.
- Path Aliases or Non-Standard Server Setups: Complex server environments, like Docker containers or custom path configurations, can sometimes confuse the installer when it tries to locate files.
Step-by-Step Troubleshooting Guide
1. Verify File Integrity and Names
This is the first and most crucial step. The installer.php and archive.zip must be a matched pair from the same build process.
- Check the Filename: The error screen will explicitly tell you the exact filename the installer is looking for (e.g.,
website_20241027_abcdef_archive.zip). Rename your archive file to match this exactly, including capitalization and underscores. - Re-download the Pair: If you suspect a corruption, go back to the original site's Duplicator package screen and download the installer and archive together again. Do not rename them after download.
- Check File Sizes: Compare the size of the archive file on your server with the original size shown in the Duplicator package list. A significant difference (e.g., Actual Size: 0B) indicates an incomplete upload. Re-upload the file using FTP or your hosting file manager, ensuring the transfer completes fully.
2. Address Server and Hosting Issues
If the files are correct and in place, the issue likely lies with the server environment.
- File Permissions: Ensure the archive file has read permissions for the web server. Typically, setting file permissions (CHMOD) to 644 is sufficient.
- PHP ZipArchive Module: The error
Class "ZipArchive" not foundmeans the PHP Zip extension is not active on your server. This is a required module. You must contact your hosting provider and ask them to enable the PHP Zip extension for your account. - Security Software: As noted in some threads, overly aggressive security software or malware scanners (on your local computer or the server) may quarantine or block the installer.php file, mistakenly identifying it as a threat. You may need to temporarily disable such scanners or whitelist the files during the migration process.
- Manual Extraction Fallback: In extreme cases where the installer cannot access the archive, you can manually extract the zip file's contents into your website's root directory. Then, create an empty text file and name it exactly what the installer is looking for (e.g.,
website_20241027_abcdef_archive.zip). Place this empty file in the root folder alongside the installer. This 'tricks' the installer into proceeding, and it will then use the manually extracted files to complete the installation.
3. For Advanced Users and Edge Cases
- DAF Files: If you are using a
.dafarchive format, the process is different. The 'Duplicator' team provides a separate command-line extraction tool for these files. You would need to use this tool to extract the archive before running the installer. - Character Encoding: For sites with non-Latin characters (e.g., Cyrillic) in file paths, ensure your server is running a modern version of PHP (7.0+) to avoid character encoding issues during extraction.
When All Else Fails
If you have diligently worked through these steps and the problem persists, the issue may be highly specific to your server's configuration. In these rare cases, the collective experience from community forums suggests that the problem may be a complex server-level restriction. As a last resort, testing the migration on a different hosting provider can often confirm if the origin server is the source of the problem.
Remember, successful migration relies on the trio of correct files, correct names, and a compatible server environment. By methodically checking each of these areas, you can resolve most archive-related errors and complete your website migration successfully.
Related Support Threads Support
-
Can NOT Extract Archivehttps://wordpress.org/support/topic/can-not-extract-archive/
-
Click on Archive has no effecthttps://wordpress.org/support/topic/click-on-archive-has-no-effect/
-
Error when importing multisitehttps://wordpress.org/support/topic/error-when-importing-multisite/
-
INSTALL ERROR: Archive parameter not specifiedhttps://wordpress.org/support/topic/install-error-archive-parameter-not-specified-2/
-
Duplicator Bootloader – not installer!https://wordpress.org/support/topic/duplicator-bootloader-not-installer/
-
Error establishing a database connectionhttps://wordpress.org/support/topic/error-establishing-a-database-connection-943/
-
Installer and archive mismatch detectedhttps://wordpress.org/support/topic/installer-and-archive-mismatch-detected/
-
AJAX ERROR! STATUS:0 timeouthttps://wordpress.org/support/topic/ajax-error-status0-timeout-2/
-
Archive file not found!https://wordpress.org/support/topic/archive-file-not-found/
-
“Archive not found” Error messagehttps://wordpress.org/support/topic/archive-not-found-error-message/
-
Cannot “install” new page from archivehttps://wordpress.org/support/topic/cannot-install-new-page-from-archive/
-
Error installer.php can’t find archivehttps://wordpress.org/support/topic/error-installer-php-cant-find-archive/
-
No install.phphttps://wordpress.org/support/topic/no-install-php/
-
can’t to search installer-backup.phphttps://wordpress.org/support/topic/cant-to-search-installer-backup-php/
-
Invalid archive header marker foundhttps://wordpress.org/support/topic/invalid-archive-header-marker-found/
-
INSTALL ERROR: Archive parameter not specifiedhttps://wordpress.org/support/topic/install-error-archive-parameter-not-specified/
-
issues with archive.dafhttps://wordpress.org/support/topic/issues-with-archive-daf/
-
Installer detected as malware?https://wordpress.org/support/topic/installer-detected-as-malware/
-
archive installer mismatchhttps://wordpress.org/support/topic/archive-installer-mismatch/
-
Where is the path to the archive and installer.php files?https://wordpress.org/support/topic/where-is-the-path-to-the-archive-and-installer-php-files/
-
The archive file named above must be the exact name of the archive file placed ihttps://wordpress.org/support/topic/the-archive-file-named-above-must-be-the-exact-name-of-the-archive-file-placed-i/
-
Error message when running installerhttps://wordpress.org/support/topic/error-message-when-running-installer/
-
Archive parameter not specifiedhttps://wordpress.org/support/topic/archive-parameter-not-specified/
-
Cyrillic names in archivehttps://wordpress.org/support/topic/cyrillic-names-in-archive/
-
Possibly malware on installer filehttps://wordpress.org/support/topic/possibly-malware-on-installer-file/
-
Can’t restore backuphttps://wordpress.org/support/topic/cant-restore-backup-6/
-
lost installer.php file only have .daf (not zip) archive.https://wordpress.org/support/topic/lost-installer-php-file-only-have-daf-not-zip-archive/
-
Lost installer.php file. HELP!!!https://wordpress.org/support/topic/lost-installer-php-file-help/
-
installer filehttps://wordpress.org/support/topic/installer-file/
-
Archive only partially downloadinghttps://wordpress.org/support/topic/archive-only-partially-downloading/
-
installer.php cannot see archive, but it’s therehttps://wordpress.org/support/topic/installer-php-cannot-see-archive-but-its-there/