WordPress.org

Ready to get started?Download WordPress

Forums

Duplicator
[resolved] package install.php fails silently on remote server (6 posts)

  1. serons
    Member
    Posted 2 years ago #

    I was able to migrate a few times but this time I can't get it to work. It fails at different stages.

    I upload install.php and the package file to the remote server into an empty directory with permissions 777. Common for all failures is that I never get to the completed screen with the final checks. Instead, after a minute or two, I get a blank page or there's a "Content Encoding Error" or something else. Looking in the directory the process has stopped at some stage of putting the files into place.

    I've set logging to "detailed" but the last line in it is "starting package extraction"

    Could it be that it's just not finished yet and I have to wait? I've seen some signs that this could be the case. Unfortunately I have no shell access. How long should it normally take to install a 60 MB package with a 300 KB SQL file? I've waited for 10-30 minutes.

    http://wordpress.org/extend/plugins/duplicator/

  2. Cory Lamle
    Member
    Plugin Author

    Posted 2 years ago #

    Hey Serons,

    That size of a package should definitely go very quickly 1-2 minutes. I wouldn't wait any longer than that. Have you tried in another browser? It may be gzip compression on the server your trying to install on.

    Check out this thread and see if you can get a different message.
    http://blog.absolutedisaster.co.uk/php-compression-with-gzip-content-encoding-er

    Have you tried to FTP to the server and check the install-log.txt file to see if it has additional logging data?

  3. serons
    Member
    Posted 2 years ago #

    I removed a lot of images from the media library that were not used and the package shrank to 6.5 MB. After that it worked without any other changes. I'm non the wiser but at least it works now.

  4. Cory Lamle
    Member
    Plugin Author

    Posted 2 years ago #

    Hey Serons,

    That is a bit odd. Almost wonder if one of the files could have been corrupted somehow and the extraction routine just didn't like it. If you take a peek at your PHP log files on the server it may have more details...

  5. serons
    Member
    Posted 2 years ago #

    I use a web host and only have access through FTP. The logs I have are WP's debug.log and the site's access logs. I couldn't see anything interesting there. Would the PHP log be something I could access in such a environment?

  6. Cory Lamle
    Member
    Plugin Author

    Posted 2 years ago #

    Sounds like the debug.log is what the host may have setup as your PHP log. The PHP logs can be routed to pretty much any file. On hosts that have a cpanel option they usually have a link to something like the error.log file.

    If you want to still investigate you could have your host look for something related to "Content Encoding Error". Sometimes hosts won't provide you all the detail logs. So its always worth asking...

    Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic