Learn about Centmin Mod LEMP Stack today
Become a Member

Nginx Invision upgrade 4.2 - 504 Gateway Time-out

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, May 26, 2017.

  1. pamamolf

    pamamolf Well-Known Member

    2,819
    251
    83
    May 31, 2014
    Ratings:
    +445
    Local Time:
    3:27 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.13.0
    • PHP Version Installed: 5.6.30
    • MariaDB MySQL Version Installed: 10.1.23
    • When was last time updated Centmin Mod code base ? : just now

    Hi :)

    I am just testing the new IPB 4.2 beta 4 upgrade function and i am getting a screen to convert my database collation from utf8 to utf-8 (thought it was the same)...

    see attachment:

    When i click on that it start the converting ....Don't know why the don't do something very easy even as optional to output the command so the user can run from the ssh that command and that will solve all issues !

    Then after x seconds i am getting the 504 Gateway Time-out :(

    I try to change at:

    Code:
    /usr/local/lib/php.ini
    /etc/centminmod/php.d/a_customphp.ini
    the:
    Code:
    max_execution_time = 60
    to
    Code:
    max_execution_time = 6000

    and for:
    Code:
    /usr/local/nginx/conf/php.conf
    the:

    Code:
    fastcgi_send_timeout 600;
    fastcgi_read_timeout 600;
    but nothing :(

    Any other ideas what values should i edit to avoid that timeout?

    Thank you
     

    Attached Files:

  2. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    8:27 PM
    1.13.x
    MariaDB 10.1.x
    Why don't you just run it via the command line?
     
  3. pamamolf

    pamamolf Well-Known Member

    2,819
    251
    83
    May 31, 2014
    Ratings:
    +445
    Local Time:
    3:27 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    There is no option for it :(

    Is it another file that i can download and run as the main files of latest IPB provide a GUI to do it?
     
  4. Jimmy

    Jimmy Premium Member Premium Member

    1,165
    256
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +626
    Local Time:
    8:27 PM
    1.13.x
    MariaDB 10.1.x
    I had this in my docs, but you might want to put in a support ticket to see what exactly to use:

    Code:
    php /home/nginx/domains/xxx/public/admin/convertutf8mb4/cli.php
     
    • Informative Informative x 2