Join the community today
Register Now

Wordpress New install - easyengine worked flawless, centminmod has me stumped

Discussion in 'Blogs & CMS usage' started by WigglerSpot, Jan 22, 2019.

  1. WigglerSpot

    WigglerSpot New Member

    6
    0
    1
    Jan 22, 2019
    Ratings:
    +0
    Local Time:
    11:52 AM
    latest
    latest
    Please fill in any relevant information that applies to you:
    • CentOS Version: entOS 7 64bit ?
    • Centmin Mod Version Installed: latest
    • Nginx Version Installed: 1.15.8 (281218-165425)
    • PHP Version Installed: i.e. PHP 5.6.39
    • MariaDB MySQL Version Installed: i.e. 10.0.x or 10.1.xx or 10.2.xx
    • When was last time updated Centmin Mod code base ? :daily
    Brutal, intermittent problems. Error messages seem vague, but look like this: (running wordpress)

    2019/01/21 19:39:59 [error] 2818#2818: *5 recv() failed (104: Connection reset by peer) while reading response head|
    er from upstream, client: xx, server: xx.com, request: "GET /wp-cron.php?doing_wp_cron=1 HTTP/1|
    .1", upstream: "fastcgi://127.0.0.1:9000", host: "xx.com"


    Will pay someone to fix, or take any and all guidance.

    Thanks!
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    2:52 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Are you using exact same web host and server specs for Easyengine and Centmin Mod installs ? Or separate VPS ? VPS web host plan ? specs ?

    How was wordpress installed ? manually or via centmin.sh menu option 22 wordpress installer ? centmin.sh menu option 22 wordpress is more optimally configured compared to manual wordpress installs - see Wordpress - Differences between Wordpress regular install vs centmin.sh menu option 22 install

    Also might want to check out PHP-FPM optimisation thread at PHP-FPM - How to troubleshoot & optimize PHP-FPM server?

    FYI, PHP 5.6.40 is latest security fixed update in PHP 5.6 branch PHP 7.3.1, 7.2.14, 7.1.26 & 5.6.40 Security Releases. But if your Wordpress plugins support it, you should update to PHP 7.1.26 or 7.2.14 for performance. See Wordpress benchmarks here (for reference PHP 7.0.x is 2x faster than PHP 5.6.x already).

    When you create a new nginx vhost domain via centmin.sh menu option 2 or menu option 22 or via /usr/bin/nv cli command line, you will create the Nginx vhost files and directories. You will get an outputted the path location where it will create the domain name's vhost conf file named newdomain.com.conf (and newdomain.com.ssl.conf if you selected yes to self signed SSL)
    • Nginx vhost conf path will be at /usr/local/nginx/conf/conf.d/newdomain.com.conf
    • Nginx HTTP/2 SSL vhost conf path will be at /usr/local/nginx/conf/conf.d/newdomain.com.ssl.conf
    • Nginx Self-Signed SSL Certificate Directory at /usr/local/nginx/conf/ssl/newdomain.com
    • Vhost public web root will be at /home/nginx/domains/newdomain.com/public
    • Vhost log directory will be at /home/nginx/domains/newdomain.com/log
    Please post the contents of /usr/local/nginx/conf/conf.d/newdomain.com.conf and if applicable /usr/local/nginx/conf/conf.d/newdomain.com.ssl.conf wrapped in CODE tags (outlined at How to use forum BBCODE code tags)

    what is output of these commands in ssh
    Code (Text):
    curl -I https://domain.com
    

    Code (Text):
    curl -I https://www.domain.com
    

    Code (Text):
    curl -I http://domain.com
    

    Code (Text):
    curl -I http://www.domain.com
    

    wrap output in CODE tags
     
  3. JJC84

    JJC84 Ad astra per aspera

    247
    109
    43
    Jan 31, 2018
    San Antonio, Texas
    Ratings:
    +169
    Local Time:
    11:52 AM
    1.15.x
    10.x.x
    Did you get your issue solved? I'd be willing to help for free time permitting.