• Hi,

    I am trying to create a package which is about 72mb. After all scanning and finally allowing me to push the build package button, when I click to build the package, it ends up with “Host Build Interrupt” page.

    I am using MAMP Pro on Mac OSX High Sierra with following configurations:
    PHP: 7.1.8
    MySQL: 5.6.35
    PHP configs are:
    max_execution_time = 3600
    max_input_time = 300
    memory_limit = 1024M
    WordPress: 4.9.5
    Duplicator: 1.2.34 (free version from WP org)

    Can you please suggest a solution for this? If I am missing any detail which you need to figure it out, please let me know.

    Thanks in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • On the host build interrupt screen, there should be a section that shows the runtime. Do you know what that value shows as?

    Thread Starter Waqas Bin Hasan

    (@waqasb)

    These are as followings:

    Allowed Runtime: 0:01
    PHP Max Execution Time: 3600 (default)
    Mode: is dynamic
    Server Status: 200 -OK
    Error Message:
    DUPLICATOR ERROR: Please see the ‘Package Log’ file link below.

    I have tried PHP Max Execution Time with 0 also, to allow it for unlimited execution time, without any luck.

    This doesn’t look like a timeout issue because the client process is ending after about 1 second. You might have to check your PHP error logs and see if there are any clues in the log file. It looks like something is erroring out right away. You might also open the Javascript Console to see if any issue are coming from the browser. In Chrome right click “inspect” then click on the console tab.

    Thread Starter Waqas Bin Hasan

    (@waqasb)

    Thanky Cory, I tried to figure out the logs, but I’ll look again and ‘ll let you know for any possible clue.

    Thanks again.

    I’m having exactly the same problem – my ‘Runtime Details’ are below:

    Allowed Runtime: 0:01
    PHP Max Execution
    Time: 0 (default)
    Mode: is dynamic
    Server Status: 200 -OK
    Error Message:
    DUPLICATOR ERROR: Please see the ‘Package Log’ file link below.

    The log file says ‘mysqldump: Got error: 1045: Access denied for user ‘plugin-dev’@’localhost’ (using password: YES) when trying to connect’, and a little further down:

    MESSAGE: SQL file size too low.
    DETAILS: File does not look complete. Check permission on file and parent directory

    The Javascript errors console reads ‘Failed to load resource: the server responded with a status of 404 (Not Found)’ for the file ‘/wp-content/plugins/duplicator/assets/js/jquery.qtip/jquery.qtip.min.js.map’. I’ve tried this on two different sites in MAMP Pro 4 and get these messages for both.

    Hey @northerner01,

    This issue looks to be a bit different. For some reason the mysqldump on that server is having issues connecting. You can fix the issue by switching over to PHP Code mode. Just got to the Settings > Packages area.

    Hope that helps~

    Thread Starter Waqas Bin Hasan

    (@waqasb)

    I have tried with PHP Code mode also, but still no luck and it returns with same Host Build Interrupt page. However, Error Message now states:

    OK
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    While, in the logs, there’s no error stated.

    On the other hand, using mysqldump mode, always states:
    mysqldump: Got error: 2002: Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) when trying to connect

    In Apache Logs, I have:
    [Mon Apr 23 10:52:01 2018] [error] [client ::1] FastCGI: comm with server “/Applications/MAMP/fcgi-bin/php7.1.8.fcgi” aborted: idle timeout (30 sec), referer: https://qa/wp-admin/admin.php?page=duplicator&tab=new3
    [Mon Apr 23 10:52:01 2018] [error] [client ::1] Handler for fastcgi-script returned invalid result code 1, referer: https://qa/wp-admin/admin.php?page=duplicator&tab=new3
    sh: /mysqldump: No such file or directory
    sh: /mysqldump: No such file or directory

    I am confused here and have 2 questions:

    1) When Duplicator says in Settings -> Packages that:
    Successfully Found: /usr/local/mysql/bin/mysqldump

    Why it is trying /mysqldump rather than /usr/local/mysql/bin/mysqldump?

    2) Why it can’t connect to MySQL? Shouldn’t it use the same database configuration as found in wp-config.php file? Which I guess it does, since it shows to include/exclude the tables during package creation.

    Hey @waqasb,

    It may have something to do with the way your setup maps the path to mysqldump. Some hosts use non-standard setups that we can’t always account for…

    You might check this FAQ for a possible work-a-round:
    ? ? – I’m running into issues with the Database what can I do?
    ? ? – https://snapcreek.com/duplicator/docs/faqs-tech/#faq-installer-100-q

    It has some links for .sock issue.

    Hope that helps~

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Host Build Interrupt on MAMP Pro’ is closed to new replies.