Get the Best WordPress Backup
& Migration Plugin Today
Get Duplicator Now

Duplicator Documentation

Documentation, Reference Materials, and Tutorials for Duplicator

How to Fix General Installer UI & Archive Issues in Duplicator

When using the Duplicator installer, you might encounter various UI or archive-related issues. This guide covers common Installer UI problems and their solutions.

Archive Not Found

Each Duplicator package includes a unique installer.php file linked to a specific archive (.zip or .daf). If they do not match, you will see an error message, such as the following:

  • Archive not found!
  • Installer and archive mismatch detected

If you see either of these messages, check out the solutions below:

Solution 1: Locate the Correct Archive Name

Ensure that the archive file name matches the one expected by the installer.

Go to Duplicator Pro » Backups, then click the + button, then click the “View Details” button.

Note: If you are using Duplicator Lite, go to Duplicator Lite » Backups, then click the Backup Details Button.

Next, expand the General section, and look at the full backup archive name under Files.

Finally, go to the backup that you downloaded and check the full name, which will be in this format: [full-unique-name]_archive.zip

Solution 2: Extract Backup Installer

Extract the Installer file from the archive file using this guide. Instructions on how to manually extract a DAF file can be found here.

    You can rename the file if you want and use it to replace the existing Installer file, but be sure to delete it after the installation.

    Solution 3: Validate Downloads

    Ensure that the archive file was fully downloaded and correctly uploaded. Also, compare the filesize on your local computer with the size shown in the Backups screen. If they don’t match, re-download and upload the file.

    Solution 4: Try a Different Browser

    If the issue persists, please try the following:

    • Use a different browser without extensions.
    • If running the websites behind a proxy, consider disabling the proxy temporarily, and then flush the DNS cache.
    • Consider turning off any VPNs you are using or any firewall software temporarily.

    JavaScript Errors

    If the installer.php UI is not loading correctly due to JavaScript errors, please try the following:

    1. Check if the server has auto-inserted an .htaccess file in the dup-installer directory.
    2. Delete the .htaccess file. (Enable “view hidden files” in FTP if needed.)
    3. Clear your browser cache and reload the installer.php.

    Note: Sometimes servers may insert an .htaccess file in one of the sub-folders of the dup-installer folder.

    Safari/Macintosh Issues

    Some Mac systems automatically unzip files, causing problems with Duplicator. Duplicator’s Installer looks for a .zip or .daf archive file, so problems can happen if it’s downloaded as separate, extracted files.

    Solution 1: Prevent Auto-Unzipping in Safari

    1. Open Safari.
    2. Go to Preferences > General.
    3. Uncheck “Open Safe files after downloading”.
    4. Re-download the archive file.

    Solution 2: Verify Archive Integrity

    If during the install process, you notice that the archive is extracted with a directory named the exact same as the archive, or in some cases a folder named __MACOSX, then this means the archive file has been modified.

    To get a raw copy of the archive.zip/daf file check the following locations:

    • Duplicator Pro: /your_site/wp-content/backups-dup-pro (or whatever storage path you set)
    • Duplicator Lite:
      • /public_html/wp-content/backups-dup-lite/
      • /public_html/wp-snapshots/ (legacy path)

    You can also re-archive the files:

    1. Extract the archive file onto your local computer and navigate to the installer-backup.php file.
    2. Select all the files/folders and re-create the archive.zip so that installer-backup.php is at the root of the archive.
    3. In some cases, you may need to rename the archive created in the second step to the original name for the archive file extracted in the first step above.
    4. Place the newly re-organized archive file in the same location as the installer.php file and try again.

    Note: Even though re-archiving the files will work in most cases, the key to solving the issue is to prevent your browser/operating system or external program from changing the structure of the archive file when it is downloaded to your computer.

      Invalid Installer

      If opening the installer.php in a browser shows corrupted code or a download prompt, there is likely a server configuration issue, or the Installer file was corrupted when the server served it up as part of the download process.

      Solution 1: Fix Plain Text Display

      If the installer.php displays as plain text, modify the .htaccess or httpd.conf file be adding the following lines:

      AddType application/x-httpd-php .php .htm .html
      AddHandler x-httpd-php .php .htm .html

      Note: Use a search engine (like Google) for your hosting setup (e.g., “MAMP AddType PHP”) for specific instructions. For example, a similar issue using MAMP can be found here.

      Solution 2: Fix Binary Text Display

      If the installer.php shows binary or hex characters instead of running, such as

      1f8b 0800 0000 0000 0003 ecfd 7b57 1bb9d228 0eff 9dbd d6fe 0e8d 7706 ecd0 363609b9 d8e9 7813 7012 26dc 8221 2401 86a7...

      or

      Warning: Unexpected character in input: '?' (ASCII=17) state=0

      Then the web server may have some issues with downloading the file to your computer. The easiest way to get a good copy of the installer is to try the following:

      • Direct FTP Download:
        1. When transferring the package files from your FTP client be sure it is in binary mode since ASCII mode can corrupt the zip file. The backup can be found using these file paths:
          • Duplicator Pro: /your_site/wp-content/backups-dup-pro (or whatever storage path you set)
          • Duplicator Lite:
            • /public_html/wp-content/backups-dup-lite/
            • /public_html/wp-snapshots/ (legacy path)
        2. Find the Installer with a file name associated with the correct backup and download it.
        3. Open the installer.php file in a text editor such as Notepad++. The file code should be a normal PHP file.
      • Use the backup installer: Another option is to open the archive.zip file and find the installer-backup.php file. this file will be an exact copy of the original installer.php file. For more details, check out this guide. Instructions on how to manually extract a DAF file can be found here.
      • Contact Host: Let your host know that the download of files needs to be set to binary mode, and not ASCII.

      Solution 3: Fix Download Prompt

      If browsing to the installer.php prompts a download instead of running it, you may have a .htaccess file that is corrupt or not configured to work correctly. To test this:

      1. Create a blank PHP file, such as test.php
      2. Upload this file to the same directory as the installer.php.
      3. If the test.php file also downloads instead of running, your server is not processing PHP correctly.

      To fix this, contact your host and tell them your site is not properly processing PHP files.

      Solution 4: Fix Parse Errors

      If installer.php gives errors like:

      Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in … installer.php on line 1300

      Then the encoding on your file is not being accepted by your web server correctly. Below are a few options:

      1. In many cases, the transfer of the files from one server to another can cause the installer to get corrupted. To solve this issue see Solution #2 above. In many cases, changing the FTP mode from ASCII to binary can fix this issue.
      2. If the first option does not solve the issue, then you can use a program like Notepad++. Open the installer.php file and change the encoding setting, found in the top toolbar, from ANSI to UTF-8. Try to convert from one format to the other. Then, save the file and re-upload the Installer file to the server to see which version works.

      That’s it! If you’re experiencing installer or archive issues with Duplicator, the above steps should help resolve them. If problems persist, consider checking with your hosting provider for server configuration issues.

      Are you looking to migrate a website with zero downtime? If so, check out our complete guide here on “How To Migrate a Website With Zero Downtime“.

      Was this article helpful?

      Related Articles