Learn about Centmin Mod LEMP Stack today
Become a Member

centminmod-123.08beta03 - WP installer small issue

Discussion in 'Bug Reports' started by jcat, Jun 21, 2015.

  1. jcat

    jcat Member

    51
    13
    8
    Jun 21, 2015
    Ratings:
    +20
    Local Time:
    2:05 AM
    Just did a fresh install of centos6 and centminmod

    Used the one liner: curl -sL http://centminmod.com/betainstaller.sh | bash

    Enter option [ 1 - 24 ] 22
    --------------------------------------------------------
    ------------------------------------------------------------
    Update wp-cli tool
    ------------------------------------------------------------
    Success: WP-CLI is at the latest version.
    inc/wpsetup.inc: line 41: +: command not found
    sed: -e expression #1, char 7: unknown option to `s'
    inc/wpsetup.inc: line 41: : command not found

    ---------------------------------------------
    Setup full Nginx vhost + Wordpress + WP Super Cache
    ---------------------------------------------

    Enter vhost domain name you want to add (without www. prefix):
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    28,935
    6,567
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,747
    Local Time:
    4:05 PM
    Nginx 1.13.x
    MariaDB 5.5
    @jcat, interesting line 41 of inc/wpsetup.inc is for openssl generation of partial wp admin password salt

    looks like one too many single quotes at end of the sed heh

    if you change line 41 from
    Code:
     WPSALTB=$(openssl rand -base64 11 | cut -c1-11 | sed -e s'|/|| -e s'|+||'')
    to
    Code:
     WPSALTB=$(openssl rand -base64 11 | cut -c1-11 | sed -e s'|/|| -e s'|+||')
    does it work ?

    sorry both lines 40 and 41 need fixing heh
     
  3. eva2000

    eva2000 Administrator Staff Member

    28,935
    6,567
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,747
    Local Time:
    4:05 PM
    Nginx 1.13.x
    MariaDB 5.5
  4. jcat

    jcat Member

    51
    13
    8
    Jun 21, 2015
    Ratings:
    +20
    Local Time:
    2:05 AM
    • Like Like x 1