Ispconfig3 config messed up

Discussion in 'ISPConfig 3 Priority Support' started by pawan, Mar 14, 2017.

  1. pawan

    pawan Member HowtoForge Supporter

    I have a fresh install of ISPCONFIG.
    But restored the mysql backup of server I am trying to move.
    When I couldn't connect, I made changes at many places including update mysql passwords.
    Now I am not able to reconnect the pieces.
    There are number of places I have made changes for example:
    Code:
    /usr/local/ispconfig/interface/lib/config.inc.php
    /usr/local/ispconfig/server/lib/config.inc.php
    /usr/local/ispconfig/server/lib/mysql_clientdb.conf
    also in mysql ispconfig@localhost
    UPDATE sys_user SET passwort = md5('admin') WHERE username = 'admin';
    but somewhere I am not correlating it properly, hence unable to login to ispconfig admin panel
    Not able to make out which file is related to which mysql table and how I should go about it.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to run an ispconfig update and choose to recnfigure services during update.
     
  3. pawan

    pawan Member HowtoForge Supporter

    Hi I abandoned the migration to 16.04. But now I did something wrong with my existing installation.
    All websites are running fine, but not able to login to ISPCONFIG cp.
    Even the page takes too long to open for ISPCONFIG. Then when trying to login I get wrong username and password.

    I also tried to reset the ispconfig password with this query
    UPDATE sys_user SET passwort = md5('admin') WHERE username = 'admin';
    but this also didn't help.
    Even run the ispconfig_update.sh
    I am getting no updates available for ispconfig3.1.2
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can rerun the 3.1.2 update like this:

    Code:
    cd /tmp
    wget http://www.ispconfig.org/downloads/ISPConfig-3.1.2.tar.gz
    tar xvfz ISPConfig-3.1.2.tar.gz
    cd ispconfig3_install/install
    php -q update.php
     

Share This Page