Welcome to Centmin Mod Community
Become a Member

Wordpress Possible Bugs

Discussion in 'Bug Reports' started by Jimmy, Nov 9, 2019.

  1. Jimmy

    Jimmy Well-Known Member

    1,638
    351
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +876
    Local Time:
    4:59 PM
    1.17.x
    MariaDB 10.3.x
    Just did a test install on my development box. 09beta.

    1. When I created a vhost, it remained in maintenance mode after the creation. Maybe that is meant to be that way, but I thought it always went to your default page. Had to do a sitestatus online to get the default CMM page.

    2. Mariadb wasn't running after install and a few reboots. After I installed Centmin Mod I used the dblist.txt method to create the databases. I ended up finding out that mariadb was never started and none of the databases were there from when I ran the dblist.txt. I used the 10.3 switch when installing.

    Just wanted to let you know.
     
    • Agree Agree x 1
  2. eva2000

    eva2000 Administrator Staff Member

    42,079
    9,499
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,615
    Local Time:
    7:59 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Would need the initial install log to troubleshoot as outlined at Install - How to troubleshoot Centmin Mod initial install issues

    Also each centmin.sh menu option as it's own automatic saved logs in /root/centminlogs so there would be one for created nginx vhost via centmin.sh menu option 2, 22 or nv you will find nginx vhost log using command below which sorts files by date ascending over and grep filter for keyword addvhost
    Code (Text):
    ls -lahrt /root/centminlogs | grep addvhost


    If you're on development box, if you try fresh CentOS 7 reinstall and Centmin Mod install again, does the same happen ? You can save your logs at /root/centminlogs before reinstall to compare too
     
  3. Jimmy

    Jimmy Well-Known Member

    1,638
    351
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +876
    Local Time:
    4:59 PM
    1.17.x
    MariaDB 10.3.x
    Checked both those logs present, nothing in either file.

    Code:
    # ls -lahrt /root/centminlogs | grep addvhost
    -rw-r--r--   1 root root 1.3K Nov  9 06:04 centminmod_123.09beta01.b309_091119-060153_nginx_addvhost-remove-cmds-10.0.0.123.log
    -rw-r--r--   1 root root  24K Nov  9 06:04 centminmod_123.09beta01.b309_091119-060153_nginx_addvhost.log
    When I started up the VM this morning mysql wasn't on. I had to do a chkconfig mysql on to get it to startup after reboot.

    I might re-install again.

    I did a production server the first of the month and didn't have an issue.

    Just wanted to let you know. Maybe it was a glitch in my install???
     
  4. eva2000

    eva2000 Administrator Staff Member

    42,079
    9,499
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,615
    Local Time:
    7:59 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  5. eva2000

    eva2000 Administrator Staff Member

    42,079
    9,499
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,615
    Local Time:
    7:59 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    was MariaDB working at initial install ? still would need the initial install log Install - How to troubleshoot Centmin Mod initial install issues and for centmin.sh menu option 22 also has it's own wordpress install log

    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.

    Basically, every centmin.sh menu option has a log in /root/centminlogs so you can pretty much inspect or troubleshoot anything :)

    Might be best to start your own thread for the discussion though
     
  6. Jimmy

    Jimmy Well-Known Member

    1,638
    351
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +876
    Local Time:
    4:59 PM
    1.17.x
    MariaDB 10.3.x
    I'm going to be creating another VM and I'll check again when I build that one tomorrow.