Home>Support>SiteOrigin Premium and WP Migrate DB Pro

SiteOrigin Premium and WP Migrate DB Pro

We have deployed many sites running Site Origin. One of our deployments is a staging site and a live site pair, the Stage->Live migrations are managed using WP Migrate DB Pro. The sites are on the same server, they are both running on NGINX with PHP 7.0.30. WP Migrate DB Pro does not push plugins from stage to live so plugins are upgraded manually on each site. The staging site copy of Site Origin Premium upgrades fine but the live version fails very quickly with the following error:
“An error occurred while updating SiteOrigin Premium: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure”

The issue feels like a license issue where WP Migrate DB Pro is overwriting something in the database and then the Live site has a bad hash or key when it attempts to talk to the Site Origin license server (or something like that). Are there any known issues or anything we should avoid pushing from stage to live? Does anyone have any other ideas?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 26 days ago Andrew Misplon
    Hi, I Work Here

    Hi Timothy

    Thanks for reaching out. For future queries, please drop us an email on [email protected]. That’s our exclusive support channel for premium users.

    We’re using EDD for our updater, here is their overview page on updating errors: https://docs.easydigitaldownloads.com/article/1413-software-licensing-troubleshooting-update-issues. Specifically:


    PCLZIP_ERR_BAD_FORMAT
    This error isn’t unique to the EDD Software Licensing platform but has a couple solutions that you might check. The first is that there is an adequate amount of disk space for the file to be downloaded and unpacked (assume you’ll need 2x the size of the .zip file in order to process the update). If your .zip file is 1MB you will need just over 2MB available to properly process an update. These numbers are not exactly 2x but it’s a good measure to start with.

    The other thing to verify is that the .zip file is not corrupt. You can test this by transferring the .zip file to another computer (attached in an email, or via USB) and attempting to unpack it there as well. If it does not unpack on a different computer there is likely an issue with the creation of the .zip file on the original computer.


    Could you send me a mail quickly and I’ll look into the license/site issue and also send you a new download link to reinstall with.

  2. 6 years, 26 days ago Andrew Misplon
    Hi, I Work Here

    To answer your question: Are there any known issues or anything we should avoid pushing from stage to live? Does anyone have any other ideas?. Not at the moment, no, there are no known issues of this sort.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More