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

WP Site Install

Discussion in 'Install & Upgrades or Pre-Install Questions' started by BoostN, Jul 1, 2023.

  1. BoostN

    BoostN Active Member

    134
    27
    28
    Aug 19, 2014
    Ratings:
    +42
    Local Time:
    10:52 PM
    1.13.6
    10.0.34
    I'm using the newest beta and it seems I did NOT select autogenerate FTP user. But, in my centmin logs I have this entry:


    FTP hostname: 68.XXX.XXX.XXX
    FTP port: 21
    FTP mode: FTP (explicit SSL)
    FTP Passive (PASV): ensure is checked/enabled
    FTP username:
    FTP password: XXXXXXXXXXX

    My username is empty.. is this expected? If so, how can I change/add a user name for that domain?
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:52 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Maybe you're confused do not auto generate FTP password not user? There's no option to auto generate FTP username, only FTP password. You can double check your centmin.sh menu option 22 nginx vhost logs.

    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.

    You don't have to post your logs though, you can just inspect it for the input your made to verify it wasn't end user error :)
     
  3. BoostN

    BoostN Active Member

    134
    27
    28
    Aug 19, 2014
    Ratings:
    +42
    Local Time:
    10:52 PM
    1.13.6
    10.0.34
    End user error.. with that said, if I just hit enter on the FTP username section how can I change that username?
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:52 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    If you hit enter and set a empty pure-ftp virtual user, I don't think you actually setup a user to begin with. As such you can just following official Centmin Mod site instructions for How to re-create Pure-FTPD user for Vhost?