• Resolved Martijn

    (@ximie90)


    Hi,

    We have a strange problem.
    We run multiple WP sites, and we use the duplicator plugin to make backups, move development sites to production etc.
    This has always worked fine.

    Now we are making a package, no errors, doing the same as always.
    But when placing the file on another domain we get the following error:
    Invalid Archive Format Detected!

    The faq suggestion is that my MAC might unpack it automaticly. This is not the case, I uploaded the zipped file to the server, same as always, from the same system, to the same server.
    The faq also says something about all the necessary file in the root folder.
    ‘The archive should have files such wp-config.php, index.php, wp-login.php and directories such as wp-admin, wp-includes etc. at the root of the archive.zip file, not inside a nested folder. To get a raw copy of the archive.zip file check the wp-snapshots folder in the root of your live WordPress site for Duplicator Lite’
    This is also the case, I unpacked the package and checked its contents (twice, once via the regular package download, once took the file directly from the snapshots folder via ftp). Both have the same contents.

    We tried it on another server. Same problem.

    The package is made on a website, recently updated to the latest WP version, plugins updated. Also the duplicator plugin (Version 1.2.8).
    PHP7. The domain setup is the same as all the others.

    To my knowledge we do everything exactly the same as on other domains. But now we get this error. Is there a tool that can give us more info on what is actually wrong with the zip?

    Kind regards,

    Martijn

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hey @ximie90,

    Thanks for the feedback! If you can give the developer version a try it may have the updates for your issue. The very latest version (1.2.9) can be found by following these instructions:

    > Download Latest Version
    > Uninstall your current version and install this one.

    When building the package on step 2 be sure to pay attention to any scan warnings. Sometimes a file path that is too long or certain utf8 characters can cause issues with the archive. Try and filter out any Name Checks if you see any.

    Let me know if this solves your issue~

    Thread Starter Martijn

    (@ximie90)

    Will give this a spin and get back to you with the results.

    We also update websites for clients, and want to be sure the backup tool works before I start pressing buttons ??

    Thread Starter Martijn

    (@ximie90)

    This gave us good results.
    Made a package, transferred it to a test domain on the same server. Now I do not get an error.
    When is this patch going live? as mentioned in previous post, we have some updating to do this week. And I rather update all the duplicators via the repository, then manually disable, delete and upload the dev version on every site.

    Glad you got it going! Thanks for the update… The patch is still a few weeks out, we have a few other items we are trying to integrate…

    Thread Starter Martijn

    (@ximie90)

    Ok, thanks. Manual update it is.

    Do you need any more info to determine what is causing this?

    From what I gathered you used the quick filters on step 2 of the scanner to filter out a name check (utf8 character or long file path) is that correct?

    I’m also having this same issue on the latest version of Duplicator – Invalid Archive Format.

    Uploading the file directly as it was downloaded, not unpacking first. No file filters

    The patch above unfortunately didn’t work for me however I have found another work-around for people with this issue.

    Download your installer and archive and upload to your server.

    Go into your servers file manager (cPanel) and “copy” the name of the zip file.

    Extract the zip file

    Delete the _MACOSX file, select all except your installer.php and cgi-bin and re-compress these files. Make sure to paste in the name of the zip file.

    Now delete all files except cgi-bin, installer.php and your re-compressed zip file

    Now open yoursite.com/installer.php and run the installer

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Invalid Archive Format Detected!’ is closed to new replies.