Get the most out of your Centmin Mod LEMP stack
Become a Member

22 wordpress install can't figure out

Discussion in 'Blogs & CMS usage' started by danielsl, Mar 16, 2019.

  1. danielsl

    danielsl New Member

    26
    3
    3
    Nov 7, 2014
    Ratings:
    +4
    Local Time:
    2:26 AM
    centminmod 123.09beta01
    5.5
    Hi
    tried clean install from cenminmod beta on centos 32|64b with option22
    wordpress directory is empty only wp-content is present
    should i go via manual wordpress downloading and installation?? what is the catch, ? what ever i do i have 502
    2019/03/15 18:14:37 [error] 20431#20431: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 2.95.21.61, server: e36v.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "e36v.ru"B
    2019/03/15 18:14:44 [error] 20431#20431: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 2.95.21.61, server: e36v.ru, request: "GET /wp-admin/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "e36v.ru"
     
    Last edited: Mar 16, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    42,386
    9,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,751
    Local Time:
    9:26 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x

    Troubleshooting Centmin Mod Menu Option 22 Wordpress Install Run



    To troubleshoot centmin.sh menu option 22 wordpress installation, you need to check the centmin.sh menu option 22 log located in /root/centminlogs at /root/centminlogs/centminmod_*_wordpress_addvhost.log based log where * is the centminmod version and date timestamp. Edit and mask any actual ftp username/password or wordpress usernames and logins before posting the log contents to Pastebin.com or Gists to share a sanitised version of the contents of the log.

    Example list /root/centminlogs files in date ascending order and grep for wordpress_addvhost.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep wordpress_addvhost.log
    

    example output returns log at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_wordpress_addvhost.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep wordpress_addvhost.log
    -rw-r--r--  1 root root 2.2M Oct 11 01:40 /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_wordpress_addvhost.log
    

    in SSH use cat to ouput contents of /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_wordpress_addvhost.log. Clear your SSH client window/buffer so only output is the contents of the file
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_wordpress_addvhost.log
    

    Then copy and paste into Pastebin.com or Gists entry. If your SSH window scroll buffer isn't that large to get the whole contents of the install log, you can download file manually and copy and paste contents. But makes sure it's sanitised version of the contents without revealing sensitive info. For example you can replace domain name of the wordpress site with generic dummy entry = domain.com if you want and mask site/server IP revealed in the log with generic dummy entry = 111.222.333.444.
     
  3. danielsl

    danielsl New Member

    26
    3
    3
    Nov 7, 2014
    Ratings:
    +4
    Local Time:
    2:26 AM
    centminmod 123.09beta01
    5.5
    Code:
    [18:40][[email protected] centminlogs]#   /root/tools/wp_uninstall_e36v.ru.sh
    -------------------------------------------------------------------------
    Do you want to uninstall/delete WP install for e36v.ru
    This will delete all data from /home/nginx/domains/e36v.ru
    including any non-wordpress data installed at /home/nginx/domains/e36v.ru
    This script will NOT delete the database, you will have to manually remove the
    database named: ***
    Please backup your MySQL database called ***_4641 before deleting
    -------------------------------------------------------------------------
    Uninstall WP Install For e36v.ru [y/n]: ------------------------------------------------------------
    
    [18:40][[email protected] centminlogs]#
    [18:40][[email protected] centminlogs]# ------------------------------------------------------------
    -bash: ------------------------------------------------------------: команда не найдена
    [18:40][[email protected] centminlogs]# Wordpress Auto Updater created at:
    -bash: Wordpress: команда не найдена
    [18:40][[email protected] centminlogs]#   /root/tools/wp_updater_e36v.ru.sh
    /home/nginx/domains/e36v.ru/public
    update wp-cli
    cronjob set for every 8 hours update (3x times per day)
    ------------------------------------------------------------
    
    Wordpress domain: e36v.ru
    Wordpress DB Name: ***_4641
    Wordpress DB User: **
    Wordpress DB Pass: wpdbF**aKRCjp2275
    Wordpress Admin User ID: 11**33
    Wordpress Admin User: zNt1Guv8y**inqFlrKQwp240
    Wordpress Admin Pass: zDS4Pcg***Plowps9510
    Wordpress Admin Email: [email protected]
    
    Wordpress wp-login.php password protection info:
    wp-login.php protection file /home/nginx/domains/e36v.ru/htpasswd_wplogin
    wp-login.php protection Username: ujRlZtpRaVRza5mT2ycMx24814
    wp-login.php protection Password: pyYDFFqCc2xKSDWI65KKJE64T3WEy24814
    http://ujRlZtpRaVRza5mT2ycMx24814:[email protected]/wp-login.php
    
    Resetting wp-login.php protection:
    Step 1. remove protection file at /home/nginx/domains/e36v.ru/htpasswd_wplogin
         rm -rf /home/nginx/domains/e36v.ru/htpasswd_wplogin
    Step 2. run command:
         /usr/local/nginx/conf/htpasswd.sh create /home/nginx/domains/e36v.ru/htpasswd_wplogin YOURUSERNAME YOURPASSWORD
    Step 3. restart Nginx + PHP-FPM services
         nprestart
    
    -------------------------------------------------------------
    Current vhost listing at: /usr/local/nginx/conf/conf.d/
    
    
    Mar 12  21:27   1.1K   demodomain.com.conf
    Mar 12  21:27   1.4K   virtual.conf
    Mar 15  18:11   3.8K   e36v.ru.conf
    
    ------------------------------------------------------------
    To complete setup:
      1. Enable Permalinks (DO NOT use links with .html extensions for performance reasons) i.e. /%post_id%/%postname%/
      2. Settings Menu > Cache Enabler set options and hit Save Changes (https://community.centminmod.com/threads/15039/)
      3. Settings Menu > Optimus set options and hit Save Changes
      4. Appearance > Theme Options (Responsive theme) > Home Page nav bar > Uncheck Overrides Wordpress front page option
    
    
     
  4. eva2000

    eva2000 Administrator Staff Member

    42,386
    9,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,751
    Local Time:
    9:26 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    that is uninstall/remove wordpress script - if you ran that then yes the wordpress site would empty
     
  5. danielsl

    danielsl New Member

    26
    3
    3
    Nov 7, 2014
    Ratings:
    +4
    Local Time:
    2:26 AM
    centminmod 123.09beta01
    5.5
    yea i know. i installed and uninstalled wordpress many times unsuccessfully. 4 times recreated openvz container. centos 6 32/64 7 64 same result. but after last installation i didnt uninstall it

    again doing clean install openvz centos 6.10 32x beta php7.3...
     
    Last edited: Mar 16, 2019
  6. eva2000

    eva2000 Administrator Staff Member

    42,386
    9,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,751
    Local Time:
    9:26 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  7. danielsl

    danielsl New Member

    26
    3
    3
    Nov 7, 2014
    Ratings:
    +4
    Local Time:
    2:26 AM
    centminmod 123.09beta01
    5.5
    yum -y update; curl -O https://centminmod.com/betainstaller73.sh && chmod 0700 betainstaller73.sh && bash betainstaller73.sh
    Code:
    [1;32;40m------------------------------------------------------------
    [m(B[1;33;40mInstalling wpcli.sh
    [m(B[1;32;40m------------------------------------------------------------
    [m(Binstalling...
    
    Error: /usr/bin/wp not found !!! Downloading now......
    2019-03-15 20:52:56 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [5421617/5421617] -> "/usr/bin/wp" [1]
    Download done.
    
    Error: /root/wpcli/wp-completion.bash not found !!! Downloading now......
    2019-03-15 20:52:56 URL:https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash [495/495] -> "/root/wpcli/wp-completion.bash" [1]
    Download done.
    
    
    /usr/bin/env: php: No such file or directory
    -------------------------------------------------------------
    install wp-cli https://github.com/eriktorsner/wp-checksum
    /usr/bin/env: php: No such file or directory
    /usr/bin/env: php: No such file or directory
    -------------------------------------------------------------
    install wp-cli https://github.com/markri/wp-sec
    /usr/bin/env: php: No such file or directory
    -------------------------------------------------------------
    update wp-cli packages
    /usr/bin/env: php: No such file or directory
    -------------------------------------------------------------
    wp-cli info
    /usr/bin/env: php: No such file or directory
    -------------------------------------------------------------
    
    -------------------------------------------------------------
    wp-cli install completed
    Read http://wp-cli.org/ for full usage info
    
    -------------------------------------------------------------
    Please log out of SSH session and log back in
    You can then call wp-cli via command: wp
    i.e. wp --info --allow-root
    -------------------------------------------------------------
    
    [1;33;40m-------------------------------------------------------------
    [m(B[1;32;40mSetup full Nginx vhost + Wordpress + WP Plugins
    [m(B[1;33;40m-------------------------------------------------------------
    [m(B
    [1;33;40m---------------------------------------------------------------
    [m(B[1;32;40mImportant Information
    [m(B[1;33;40m---------------------------------------------------------------
    [m(B
    You are about to create an Wordpress based Nginx vhost site with
    or without HTTPS/SSL support.
    Also read the continually updated Getting Started Guide
    at centminmod.com/getstarted.html if you haven't already
    [1;33;40m---------------------------------------------------------------
    [m(B403 Permission denied message handling
    if after vhost site setup you encounter 403 permission denied errors,
    check https://community.centminmod.com/threads/11215/ to see if your
    site needs tools/autoprotect.sh tweaking & whitelisting
    [1;33;40m---------------------------------------------------------------
    [m(B[ LETSENCRYPT_DETECT is not enabled ]
    Ignore this message if you do not want HTTPS based web site otherwise
    read below carefully.
    
    Free letsencrypt SSL certificates integration is in beta testing if
    you want to obtain free letsencrypt SSL certificate for HTTPS site,
    you will need to manually enable LETSENCRYPT_DETECT='y' outlined
    at https://centminmod.com/acmetool so exit this vhost routine first
    set LETSENCRYPT_DETECT='y' and update domain DNS A record first
    then re-run vhost site creation menu option
    [1;33;40m---------------------------------------------------------------
    [m(B
    Do you want to continue with Nginx vhost site creation ? [y/n] y
    
    Enter vhost domain name you want to add (without www. prefix): e36v.ru
    
    Create a self-signed SSL certificate Nginx vhost? [y/n]: y
    Theme Setup:
    Install CyberChimps Responsive Theme (cyberchimps.com/responsive-theme/) [y/n]: n[Ky
    
    Wordpress Setup:
    Set custom WP Admin Display Name ? [y/n]: n
    Install Wordpress in subdirectory /blog ? [y/n]: n
    Disable Auto Generated WP Admin Username / Password ? [y/n]: n
    Disable wp-login.php password protection ? (less security) [y/n]: n
    Enter email address for Admin User for Wordpress Installation: [email protected]
    
    [1;33;40mDefault is to install KeyCDN WP Cache Enabler Plugin
    [m(B[1;33;40mas it's more stable and reliable than WP Super Cache.
    [m(B[1;33;40mRedis cache may have issues with caching due to long 6hr cache TTL
    [m(B[1;33;40mYou can select which caching method to use below:
    [m(B
    [1;33;40m--------------------------------------------------------
    [m(B[1;32;40m        Wordpress Caching               
    [m(B[1;33;40m--------------------------------------------------------
    [m(B[1;32;40m1). KeyCDN Cache Enabler (default & recommended)
    [m(B[1;32;40m2). Redis Nginx Level Caching (may have issues with some wp plugins)
    [m(B[1;32;40m3). Wordpress Super Cache
    [m(B[1;33;40m--------------------------------------------------------
    [m(BEnter option [ 1 - 3 ] 1
    
    Create FTP username for vhost domain (enter username): e36vwordpress
    Do you want to auto generate FTP password (recommended) [y/n]: y
    
    FTP username you entered: e36vwordpress
    FTP password auto generated: use:|{Y2(z/s*.NjJ>}bKW0kQI,
    
    Password:
    Enter it again:
    /usr/local/nginx/conf/htpasswd.sh create /home/nginx/domains/e36v.ru/htpasswd_wplogin uQ2CHULkTAgGwmT4I2fox28752 pttbePclbOwx5s9jp8aW1n2MWFUy28752
    
    /home/nginx/domains/e36v.ru/htpasswd_wplogin contents:
    uQ2CHULkTAgGwmT4I2fox28752:$apr1$ZGRxhsVt$0gIByfdipL0EEqR93TMJf/
    
    include file /usr/local/nginx/conf/wpcacheenabler_map.conf add to nginx.conf
    [1;33;40m---------------------------------------------------------------
    [m(B[1;32;40mSSL Vhost Setup...
    [m(B[1;33;40m---------------------------------------------------------------
    [m(B
    --2019-03-15 20:54:25--  https://support.cloudflare.com/hc/en-us/article_attachments/201243967/origin-pull-ca.pem
    Resolving support.cloudflare.com... 104.16.51.111, 104.16.55.111, 104.16.53.111, ...
    Connecting to support.cloudflare.com|104.16.51.111|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2151 (2.1K) [application/x-x509-ca-cert]
    Saving to: “origin.crt”
    
         0K ..                                                    100% 18.5M=0s
    
    2019-03-15 20:54:26 (18.5 MB/s) - “origin.crt” saved [2151/2151]
    
    [1;33;40m---------------------------------------------------------------
    [m(B[1;32;40mGenerating self signed SSL certificate...
    [m(B[1;32;40mCSR file can also be used to be submitted for paid SSL certificates
    [m(B[1;32;40mIf using for paid SSL certificates be sure to keep both private key and CSR safe
    [m(B[1;32;40mcreating CSR File: e36v.ru.csr
    [m(B[1;32;40mcreating private key: e36v.ru.key
    [m(B[1;32;40mcreating self-signed SSL certificate: e36v.ru.crt
    [m(BGenerating a 2048 bit RSA private key
    ..+++
    ..+++
    writing new private key to 'e36v.ru.key'
    -----
    Signature ok
    subject=/C=US/ST=California/L=Los Angeles/O=e36v.ru/OU=e36v.ru/CN=e36v.ru
    Getting Private key
    
    [1;33;40m---------------------------------------------------------------
    [m(B[1;32;40mGenerating dhparam.pem file - can take a few minutes...
    [m(BGenerating DH parameters, 2048 bit long safe prime, generator 2
    This is going to take a long time
    ...++*++*
    [1;33;40mdhparam file generation time: .148890154
    [m(Bgrep: /svr-setup/openssl-1.1.1b/configdata.pm: No such file or directory
    
    include file /usr/local/nginx/conf/redisupstream.conf add to nginx.conf
    [1;32;40m------------------------------------------------------------
    [m(B[1;33;40mSetup Wordpress + Cache Enabler for e36v.ru
    [m(B[1;32;40m------------------------------------------------------------
    [m(B
    Using full static page caching may cause problems for mobile & tablet device
    visitors depending on your WP themes used so you may want to exclude those
    
    Do you want to exclude mobile/tablet devices from Cache Enabler caching ? [y/n]: n
    /usr/bin/env: php: No such file or directory
    /usr/bin/env: php: No such file or directory
    sed: can't read wp-config.php: No such file or directory
    sed: can't read wp-config.php: No such file or directory
    13 23 * * * /usr/local/src/centminmod/tools/autoprotect.sh >/dev/null 2>&1
    0 */4 * * * /usr/bin/cminfo_updater 2>/dev/null
    #*/15 * * * * sleep 842s ; wget -O - -q -t 1 http://e36v.ru/wp-cron.php?doing_wp_cron > /dev/null 2>&1
    /usr/bin/env: php: No such file or directory
    /usr/bin/env: php: No such file or directory
    /usr/bin/env: php: No such file or directory
    /usr/bin/env: php: No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(B/usr/bin/env: php: No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(Bchmod: cannot access `wp-content': No such file or directory
    chmod: cannot access `readme.html': No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(B/usr/bin/env: php: No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(Bconfigure cache-enabler
    /usr/bin/env: php: No such file or directory
    /usr/bin/env: php: No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(B/usr/bin/env: php: No such file or directory
    /usr/bin/env: php: No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(B[1;32;40m------------------------------------------------------------
    [m(B/usr/bin/env: php: No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(B/usr/bin/env: php: No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(B/usr/bin/env: php: No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(B/usr/bin/env: php: No such file or directory
    /usr/bin/env: php: No such file or directory
    
    /usr/bin/env: php: No such file or directory
    [1;32;40m------------------------------------------------------------
    [m(Bchown: cannot access `/home/nginx/domains/e36v.ru/public/wp-content/plugins/': No such file or directory
    13 23 * * * /usr/local/src/centminmod/tools/autoprotect.sh >/dev/null 2>&1
    0 */4 * * * /usr/bin/cminfo_updater 2>/dev/null
    #*/15 * * * * sleep 842s ; wget -O - -q -t 1 http://e36v.ru/wp-cron.php?doing_wp_cron > /dev/null 2>&1
    16 23 * * * echo "e36v.ru cacheenabler cron"; sleep 116s ; rm -rf /home/nginx/domains/e36v.ru/public/wp-content/cache/cache-enabler/* > /dev/null 2>&1
    [1;32;40m------------------------------------------------------------
    [m(B[1;33;40mCreated uninstall script
    [m(B[1;33;40m/root/tools/wp_uninstall_e36v.ru.sh
    [m(B[1;32;40m------------------------------------------------------------
    [m(B[1;32;40m------------------------------------------------------------
    [m(B[1;33;40mCreated wp_updater_e36v.ru.sh script
    [m(B[1;33;40m/root/tools/wp_updater_e36v.ru.sh
    [m(B[1;32;40m------------------------------------------------------------
    [m(B194
    19
    final 194
    final 19
    13 23 * * * /usr/local/src/centminmod/tools/autoprotect.sh >/dev/null 2>&1
    0 */4 * * * /usr/bin/cminfo_updater 2>/dev/null
    #*/15 * * * * sleep 842s ; wget -O - -q -t 1 http://e36v.ru/wp-cron.php?doing_wp_cron > /dev/null 2>&1
    16 23 * * * echo "e36v.ru cacheenabler cron"; sleep 116s ; rm -rf /home/nginx/domains/e36v.ru/public/wp-content/cache/cache-enabler/* > /dev/null 2>&1
    0 */8 * * * sleep 194s ;/root/tools/wp_updater_e36v.ru.sh >/dev/null 2>&1
    
    [1;33;40m-------------------------------------------------------------
    [m(Bgenerated nginx include file [initial]: /usr/local/nginx/conf/autoprotect/demodomain.com/autoprotect-demodomain.com.conf
    generated nginx include file [initial]: /usr/local/nginx/conf/autoprotect/e36v.ru/autoprotect-e36v.ru.conf
    
    autoprotect.sh run completed...
    
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
    Reloading nginx: [60G[[0;32m  OK  [0;39m]
    service nginx reload
    nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
    Reloading nginx: [60G[[0;32m  OK  [0;39m]
    service php-fpm restart
    Gracefully shutting down php-fpm kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    ................................... failed. Use force-quit
    Starting php-fpm /etc/init.d/php-fpm: line 69: /usr/local/sbin/php-fpm: No such file or directory
     failed
    service pure-ftpd restart
    Stopping pure-ftpd: [60G[[0;32m  OK  [0;39m]
    Starting pure-ftpd: [60G[[0;32m  OK  [0;39m]
    
    [1;33;40m-------------------------------------------------------------
    [m(BFTP hostname : 185.83.218.184
    FTP port : 21
    FTP mode : FTP (explicit SSL)
    FTP Passive (PASV) : ensure is checked/enabled
    FTP username created for e36v.ru : e36vwordpress
    FTP password created for e36v.ru : use:|{Y2(z/s*.NjJ>}bKW0kQI,
    [1;33;40m-------------------------------------------------------------
    [m(B[1;37;40mvhost for e36v.ru created successfully
    [m(B
    [1;33;40mdomain: http://e36v.ru
    [m(B[1;37;40mvhost conf file for e36v.ru created: /usr/local/nginx/conf/conf.d/e36v.ru.conf
    [m(B
    [1;37;40mvhost ssl for e36v.ru created successfully
    [m(B
    [1;33;40mdomain: https://e36v.ru
    [m(B[1;37;40mvhost ssl conf file for e36v.ru created: /usr/local/nginx/conf/conf.d/e36v.ru.ssl.conf
    [m(B[1;37;40m/usr/local/nginx/conf/ssl_include.conf created
    [m(B[1;33;40mSelf-signed SSL Certificate: /usr/local/nginx/conf/ssl/e36v.ru/e36v.ru.crt
    [m(B[1;33;40mSSL Private Key: /usr/local/nginx/conf/ssl/e36v.ru/e36v.ru.key
    [m(B[1;33;40mSSL CSR File: /usr/local/nginx/conf/ssl/e36v.ru/e36v.ru.csr
    [m(B[1;33;40mBackup SSL Private Key: /usr/local/nginx/conf/ssl/e36v.ru/e36v.ru-backup.key
    [m(B[1;33;40mBackup SSL CSR File: /usr/local/nginx/conf/ssl/e36v.ru/e36v.ru-backup.csr
    [m(B
    [1;37;40mupload files to /home/nginx/domains/e36v.ru/public
    [m(B[1;37;40mvhost log files directory is /home/nginx/domains/e36v.ru/log
    [m(B
    [1;32;40m------------------------------------------------------------
    [m(B[1;33;40mSSH commands to uninstall created Wordpress install and Nginx vhost:
    [m(B[1;33;40m  /root/tools/wp_uninstall_e36v.ru.sh
    [m(B[1;32;40m------------------------------------------------------------
    [m(B
    [1;32;40m------------------------------------------------------------
    [m(B[1;33;40mWordpress Auto Updater created at:
    [m(B[1;33;40m  /root/tools/wp_updater_e36v.ru.sh
    [m(B[1;33;40mcronjob set for every 8 hours update (3x times per day)
    [m(B[1;32;40m------------------------------------------------------------
    [m(B
    [1;33;40mWordpress domain: e36v.ru
    [m(B[1;33;40mWordpress DB Name: wp304372081db_26283
    [m(B[1;33;40mWordpress DB User: wpdb26283u24773
    [m(B[1;33;40mWordpress DB Pass: wpdbq1zq3khenhb4n3cQp13530
    [m(B[1;33;40mWordpress Admin User ID: 804324
    [m(B[1;33;40mWordpress Admin User: zN8HNPUoolrxHUobkugbZxyu8mAwp32311
    [m(B[1;33;40mWordpress Admin Pass: zVNfN9b4RLCOyDVYwps17221
    [m(B[1;33;40mWordpress Admin Email: [email protected]
    [m(B
    [1;33;40mWordpress wp-login.php password protection info:
    [m(B[1;33;40mwp-login.php protection file /home/nginx/domains/e36v.ru/htpasswd_wplogin
    [m(B[1;33;40mwp-login.php protection Username: uQ2CHULkTAgGwmT4I2fox28752
    [m(B[1;33;40mwp-login.php protection Password: pttbePclbOwx5s9jp8aW1n2MWFUy28752
    [m(B[1;33;40mhttp://uQ2CHULkTAgGwmT4I2fox28752:[email protected]/wp-login.php
    [m(B
    [1;33;40mResetting wp-login.php protection:
    [m(B[1;33;40mStep 1. remove protection file at /home/nginx/domains/e36v.ru/htpasswd_wplogin
    [m(B[1;33;40m     rm -rf /home/nginx/domains/e36v.ru/htpasswd_wplogin
    [m(B[1;33;40mStep 2. run command:
    [m(B[1;33;40m     /usr/local/nginx/conf/htpasswd.sh create /home/nginx/domains/e36v.ru/htpasswd_wplogin YOURUSERNAME YOURPASSWORD
    [m(B[1;33;40mStep 3. restart Nginx + PHP-FPM services
    [m(B[1;33;40m     nprestart
    [m(B
    [1;33;40m-------------------------------------------------------------
    [m(B[1;37;40mCurrent vhost listing at: /usr/local/nginx/conf/conf.d/
    [m(B
                          
    Mar 15  20:35   1.1K   demodomain.com.conf
    Mar 15  20:37   1.4K   virtual.conf
    Mar 15  20:54   3.9K   e36v.ru.conf
    Mar 15  20:54   5.7K   e36v.ru.ssl.conf
    
    [1;33;40m-------------------------------------------------------------
    [m(B[1;37;40mCurrent vhost ssl files listing at: /usr/local/nginx/conf/ssl/e36v.ru
    [m(B
                          
    Mar 15  20:54   1.7K   e36v.ru.key
    Mar 15  20:54   1013   e36v.ru.csr
    Mar 15  20:54   1.2K   e36v.ru.crt
    Mar 15  20:54   424    dhparam.pem
    
    [1;32;40m------------------------------------------------------------
    [m(B[1;33;40mTo complete setup:
    [m(B  1. Enable Permalinks (DO NOT use links with .html extensions for performance reasons) i.e. /%post_id%/%postname%/
      2. Settings Menu > Cache Enabler set options and hit Save Changes (https://community.centminmod.com/threads/15039/)
      3. Settings Menu > Optimus set options and hit Save Changes
      4. Appearance > Theme Options (Responsive theme) > Home Page nav bar > Uncheck Overrides Wordpress front page option
    [m(B[1;32;40m------------------------------------------------------------
    [m(B
    [1;33;40m-------------------------------------------------------------
    [m(B[1;37;40mvhost for e36v.ru wordpress setup successfully
    [m(B[1;37;40me36v.ru setup info log saved at:
    [m(B[1;37;40m/root/centminlogs/centminmod_123.09beta01.b112_150319-204608_e36v.ru_wordpress_addvhost.log
    [m(B[1;33;40m-------------------------------------------------------------
    [m(B
    
     
  8. eva2000

    eva2000 Administrator Staff Member

    42,386
    9,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,751
    Local Time:
    9:26 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    problem is php-fpm never actually installed properly to begin with so wp-cli command can't install wordpress

    So you need the initial install log instead to figure out why php-fpm failed to install

    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    Example for 123.09beta01 and newer list /root/centminlogs files in date ascending order and grep for installer_*
    Code (Text):
    ls -lahrt /root/centminlogs | grep installer_*
    

    example output returns install log at /root/centminlogs both a the full log and minimal log (smaller in size with some stuff filtered out)
    Code (Text):
    ls -lahrt /root/centminlogs | grep installer_*
    -rw-r--r-- 1 root root 4.3M Jul 12 09:06 installer_120718-083445.log
    -rw-r--r-- 1 root root 826K Jul 12 10:20 installer_120718-083445_minimal.log
    


    Example for 123.08stable list /root/centminlogs files in date ascending order and grep for install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    

    example output returns install log at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    -rw-r--r--  1 root root 2.2M Oct 11 01:40 centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    in SSH use cat to ouput contents of /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log. Clear your SSH client window/buffer so only output is the contents of the file

    for 123.08stable
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    for 123.09beta01 and newer
    Code (Text):
    cat /root/centminlogs/installer_120718-083445_minimal.log
    


    Then copy and paste into Pastebin.com or Gists entry. If your SSH window scroll buffer isn't that large to get the whole contents of the install log, you can download file manually and copy and paste contents. But makes sure it's sanitised version of the contents of the initial install log as outlined at How to troubleshoot Centmin Mod initial install issues
     
  9. danielsl

    danielsl New Member

    26
    3
    3
    Nov 7, 2014
    Ratings:
    +4
    Local Time:
    2:26 AM
    centminmod 123.09beta01
    5.5
    well thats clean centminmod install cenos 6.10 32x beta php 7.3
    during fist run script brakes and i need to run it again

    Code:
    InsecurePlatformWarning                                                                                   
    You are using pip version 7.1.0, however version 19.0.3 is available.                                       
    You should consider upgrading via the 'pip install --upgrade pip' command.                                   
    /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarni
    ng: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and m
    ay cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest
    /security.html#insecureplatformwarning.                                                                     
      InsecurePlatformWarning                                                                                   
    /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarni
    ng: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and m
    ay cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest
    /security.html#insecureplatformwarning.                                                                     
      InsecurePlatformWarning                                                                                   
    Collecting pip                                                                                               
    /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarni
    ng: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and m
    ay cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest
    /security.html#insecureplatformwarning.                                                                     
      InsecurePlatformWarning                                                                                   
      Downloading https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385
    d51125dceff/pip-19.0.3-py2.py3-none-any.whl (1.4MB)                                                         
        57% |██████████████████▍             | 778kB 18.3MB/s eta 0:00:01Connection closed      

    then 22 then 1
    here is the log
    Code:
    <script src="https://gist.github.com/ilovesushi/09ee532163f095f33210c0e4355d9ebb.js"></script>
     
  10. eva2000

    eva2000 Administrator Staff Member

    42,386
    9,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,751
    Local Time:
    9:26 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    what size vps is used ? centos 6.x 32bit isn't ideal for PHP 7+ due to memory requirements - you should use centos 6 64bit with minimum 1gb memory.

    the pip warnings are normal and can be ignored

    from your logs the problem is that PHP 7.3 requires higher GCC compiler version that provided by centos 6's devtoolset SCL yum repo can provide itseems
    Code (Text):
    /svr-setup/php-7.3.3/fpm-build
    NEWLIBICU=y
    inc/php_configure.inc: line 904: /opt/rh/devtoolset-4/enable: No such file or directory
    /usr/bin/gcc
    

    everything was installed except PHP related stuff due to PHP 7.3 higher requirements

    You definitely want to be using CentOS 7 64bit for PHP 7.3.x
     
  11. danielsl

    danielsl New Member

    26
    3
    3
    Nov 7, 2014
    Ratings:
    +4
    Local Time:
    2:26 AM
    centminmod 123.09beta01
    5.5
    1gb ram 50gb hdd
    centos 7 x64


    it worked this time. wp is installed
    thanks a lot

    last time i tried php 7.0 centos x64
    it didnt
     
    • Like Like x 1