Discover Centmin Mod today
Register Now

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 Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:06 PM
    Nginx-1.25.x
    MariaDB 10.3.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 Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    8:06 AM
    Why don't you just run it via the command line?
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    2:06 PM
    Nginx-1.25.x
    MariaDB 10.3.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 Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    8:06 AM
    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