• Resolved fasolechka

    (@dubrovsky)


    Good evening,
    Duplicator hangs on wp_duplicator_packages (32 KB) base for max_input_time and after that shows:

    ---
    Migration failed
    A problem occurred when attempting to process the following table (#113) wp_duplicator_packages
    Status: 504 error
    Response: 504 Gateway Time-out
    ---

    It seems to be linked to upgrading to PHP 7.2. What is the solution?

    • This topic was modified 6 years, 6 months ago by fasolechka.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @dubrovsky,

    Thanks for the feedback! There are a few items in the FAQ that may provide a solution to this issue, this one may get you going.

    ? ? – What can I try for 502/503/504 Gateway issues during the scan/build?
    ? ? – https://snapcreek.com/duplicator/docs/faqs-tech/#faq-package-025-q

    Let me know if this helps~

    Thread Starter fasolechka

    (@dubrovsky)

    Hi Cory,
    I can setup PHP for more time than 2 min for a script running but I’m sure – 120 second is enough time to copy DB of 32KB. So 504 – is not a problem.

    The plugin stopped working right after I got PHP 7.2 installation. Are there some dependencies for PHP libraries at your plugin?

    Hey @dubrovsky,

    We run all our tests against 7.2 builds so that shouldn’t be the issue here. You might contact your host and see if they have any clues why the 504 gateway is coming up. Many 504 errors on hosts can be related to poxy issues:
    https://www.lifewire.com/504-gateway-timeout-error-explained-2622941

    Hope this helps~

    Thread Starter fasolechka

    (@dubrovsky)

    Got around the situation

    This is my php-slowlog

    [10-Nov-2018 14:29:15]  [pool testru] pid 3903
    script_filename = /var/www/test.ru/html/wp-admin/admin-ajax.php
    [0x00007fd252711a10] recursive_unserialize_replace() /var/www/test.ru/html/wp-content/plugins/wp-migrate-db/class/wpmdb-replace.php:293
    ...many of same strings...
    [0x00007fd25270fc60] recursive_unserialize_replace() /var/www/test.ru/html/wp-content/plugins/wp-migrate-db/class/wpmdb-replace.php:293
    

    So it seems that
    $_tmp->$key = $this->recursive_unserialize_replace( $value, false, $parent_serialized, $successive_filter );
    does not work on my enviroment. When I comment this string it works fine for me

    • This reply was modified 6 years, 4 months ago by fasolechka.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp_duplicator_packages problem’ is closed to new replies.