Learn about Centmin Mod LEMP Stack today
Register Now

The configuration file now needs a secret passphrase (blowfish_secret).

Discussion in 'Add Ons' started by quicksalad, Jun 4, 2015.

  1. quicksalad

    quicksalad Member

    159
    9
    18
    May 31, 2015
    Ratings:
    +13
    Local Time:
    4:57 AM
    After I reinstall phpMyAdmin, I got this error below admin page. Any suggestion how to get away from that prompt?
     

    Attached Files:

  2. eva2000

    eva2000 Administrator Staff Member

    31,019
    6,923
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,429
    Local Time:
    9:27 AM
    Nginx 1.13.x
    MariaDB 5.5
    updated phpmyadmin addon update blowfish configuration · centminmod/phpmyadmin@ff5a042 · GitHub with new blowfish configuration steps

    so for you can manually do this using these commands in SSH as root user

    Code:
    cd /usr/local/nginx/html/pathtoyourphpmyadmininstall
    BLOWFISH=$(openssl rand 30 -base64)
    sed -i "s|\['blowfish_secret'\] = ''|\['blowfish_secret'\] = '${BLOWFISH}'|g" config.inc.php
    then re-login into phpmyamdin
     
    • Like Like x 1
  3. quicksalad

    quicksalad Member

    159
    9
    18
    May 31, 2015
    Ratings:
    +13
    Local Time:
    4:57 AM
    is this the right path? /usr/local/src/centmin-v1.2.3mod/addons/phpmyadmin.sh
     
  4. eva2000

    eva2000 Administrator Staff Member

    31,019
    6,923
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,429
    Local Time:
    9:27 AM
    Nginx 1.13.x
    MariaDB 5.5
    it will be located in main hostname's web root off of /usr/local/nginx/html/* you can check phpmyadmin install log in /root/centminlogs/ for the initial phpmyadmin addon install outputted info again to find your path which is same path used to log in via https i.e. yourhostname/pathtomyadmininstall = /usr/local/nginx/html/pathtomyadmininstall
     
    • Informative Informative x 1
  5. RoldanLT

    RoldanLT Well-Known Member

    3,981
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    7:27 AM
    1.11
    10.2
    Thanks, I also added this into my simple command :D
     
    • Like Like x 1