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

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

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

  1. quicksalad

    quicksalad Member

    228
    13
    18
    May 31, 2015
    Ratings:
    +20
    Local Time:
    7:13 PM
    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

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    11:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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
     
  3. quicksalad

    quicksalad Member

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

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    11:43 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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
     
  5. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    9:43 PM
    Mainline
    10.2
    Thanks, I also added this into my simple command :D