Messed up ISPConfig-2.2.8 Upgrade

Discussion in 'Installation/Configuration' started by Morons, Nov 29, 2006.

  1. Morons

    Morons New Member

    I did upgraded ISPConfig-2.2.8 from remote ssh and lost my connection, Stupid of me NOT to have run it in [screen -R] but this meant I have trouble
    I obviously re-started and again! when I re-started again, I found it ask me for expert mode and I knew im in biig poofies.

    The system seem to hold up but If i can not re-install and re-sync the GUI with the data things will go terribly wrong

    Please guide me

    ls -la /tmp | grep gz yields NO data:mad:

    Maybe an Guard against this could be added to the setup / upgrade procedure. like date/timestamping the backups so an previous could be selected!
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Do you have a older backup of the sql database? and the /root/ispconfig and /home/admispconfig directories? Please check if the ispconfig database is still there in /var/lib/mysql and conatins data?
     
  3. Morons

    Morons New Member

    [root@alpha ~]# ll /var/lib/mysql
    total 20564
    drwx------ 2 mysql mysql 4096 Nov 20 12:12 db_ispconfig/
    -rw-rw---- 1 mysql mysql 10485760 Nov 29 11:23 ibdata1
    -rw-rw---- 1 mysql mysql 5242880 Nov 29 11:24 ib_logfile0
    -rw-rw---- 1 mysql mysql 5242880 Sep 5 15:12 ib_logfile1
    drwx--x--x 2 mysql mysql 4096 Sep 5 15:12 mysql/
    srwxrwxrwx 1 mysql mysql 0 Nov 29 11:24 mysql.sock=
    drwx--x--x 2 mysql mysql 4096 Sep 13 2005 test/
    drwx------ 2 mysql mysql 4096 Sep 5 15:12 tmp/
    drwx------ 2 mysql mysql 4096 Oct 11 18:40 web12_db1/
    drwx------ 2 mysql mysql 4096 Oct 19 17:54 web21_db1/
    drwx------ 2 mysql mysql 4096 Oct 12 16:20 web23_db1/
    drwx------ 2 mysql mysql 4096 Oct 19 10:37 web25_db1/
    drwx------ 2 mysql mysql 4096 Oct 12 17:05 web27_db1/
    drwx------ 2 mysql mysql 4096 Oct 11 18:05 web28_db1/
    drwx------ 2 mysql mysql 4096 Nov 27 09:48 web59_db1/
    --------------------------------------------------------------------------
    [root@alpha ~]# ll /home/admispconfig
    total 8
    drwxr-xr-x 8 admispconfig admispconfig 4096 Nov 28 16:33 ispconfig/
    drwxr-xr-x 2 admispconfig admispconfig 4096 Nov 29 09:30 mailstats/
    --------------------------------------------------------------------------
    [root@alpha admispconfig]# ll /root/ispconfig
    ls: /root/ispconfig: No such file or directory

    --------------------------------------------------------------------------

    OOoops!
    :(
    1 month old backup_2006_10_27.zip

    Can we get an ssh option to backup to remote linux servers and an cron job to do so? But thats another issue?

    How do I procees with my curent problem?
    How do I sync the new information once the db is restored ?


    --------------------------------------------------------------------------
    Content of zip
    --------------------------------------------------------------------------

    [root@hera ~]# unzip -l /home/esnetbackup/alpha-backup/backup_2006_10_23.zip
    Archive: /home/esnetbackup/alpha-backup/backup_2006_10_23.zip
    Length Date Time Name
    -------- ---- ---- ----
    439 10-23-06 13:07 backup.dat
    13490 10-23-06 13:06 web12_db1.sql
    26523 10-23-06 13:06 web12_log.zip
    21416 10-23-06 13:06 web12_user.zip
    460201 10-23-06 13:06 web12_web.zip
    12198 10-23-06 13:06 web21_db1.sql
    12993 10-23-06 13:06 web21_log.zip
    21414 10-23-06 13:06 web21_user.zip
    501874 10-23-06 13:06 web21_web.zip
    14266 10-23-06 13:07 web23_db1.sql
    11717 10-23-06 13:07 web23_log.zip
    21571 10-23-06 13:07 web23_user.zip
    488512 10-23-06 13:07 web23_web.zip
    12341 10-23-06 13:07 web25_db1.sql
    36813 10-23-06 13:07 web25_log.zip
    21620 10-23-06 13:07 web25_user.zip
    251496 10-23-06 13:07 web25_web.zip
    993 10-23-06 13:07 web26_log.zip
    138 10-23-06 13:07 web26_user.zip
    20618 10-23-06 13:07 web26_web.zip
    11659 10-23-06 13:07 web27_db1.sql
    20956 10-23-06 13:07 web27_log.zip
    21648 10-23-06 13:07 web27_user.zip
    226263 10-23-06 13:07 web27_web.zip
    17002 10-23-06 13:07 web28_db1.sql
    10658 10-23-06 13:07 web28_log.zip
    21441 10-23-06 13:07 web28_user.zip
    627424 10-23-06 13:07 web28_web.zip
    1100 10-23-06 13:07 web2_log.zip
    108547 10-23-06 13:07 web2_user.zip
    19973 10-23-06 13:07 web2_web.zip
    5090 10-23-06 13:07 web30_log.zip
    138 10-23-06 13:07 web30_user.zip
    44447 10-23-06 13:07 web30_web.zip
    266 10-23-06 13:07 web31_log.zip
    138 10-23-06 13:07 web31_user.zip
    7083 10-23-06 13:07 web31_web.zip
    266 10-23-06 13:07 web32_log.zip
    138 10-23-06 13:07 web32_user.zip
    7083 10-23-06 13:07 web32_web.zip
    266 10-23-06 13:07 web33_log.zip
    138 10-23-06 13:07 web33_user.zip
    7086 10-23-06 13:07 web33_web.zip
    266 10-23-06 13:07 web34_log.zip
    138 10-23-06 13:07 web34_user.zip
    7087 10-23-06 13:07 web34_web.zip
    266 10-23-06 13:07 web46_log.zip
    323845 10-23-06 13:07 web46_user.zip
    6032 10-23-06 13:07 web46_web.zip
    25701 10-23-06 13:06 web47_log.zip
    21897 10-23-06 13:06 web47_user.zip
    59672 10-23-06 13:06 web47_web.zip
    266 10-23-06 13:07 web48_log.zip
    138 10-23-06 13:07 web48_user.zip
    6030 10-23-06 13:07 web48_web.zip
    266 10-23-06 13:07 web49_log.zip
    344638 10-23-06 13:07 web49_user.zip
    6030 10-23-06 13:07 web49_web.zip
    266 10-23-06 13:07 web54_log.zip
    300857 10-23-06 13:07 web54_user.zip
    6159 10-23-06 13:07 web54_web.zip
    266 10-23-06 13:07 web57_log.zip
    29075756 10-23-06 13:07 web57_user.zip
    7078 10-23-06 13:07 web57_web.zip
    266 10-23-06 13:07 web59_log.zip
    138 10-23-06 13:07 web59_user.zip
    7084 10-23-06 13:07 web59_web.zip
    266 10-23-06 13:07 web63_log.zip
    138 10-23-06 13:07 web63_user.zip
    7082 10-23-06 13:07 web63_web.zip
    2021 10-23-06 13:07 web66_log.zip
    21494 10-23-06 13:07 web66_user.zip
    89915 10-23-06 13:07 web66_web.zip
    -------- -------
    33430501 73 files
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    It looks like the database is still there. Please run:

    mkdir /root/ispconfig

    and then unpack and run the installer again.
     
  5. Morons

    Morons New Member

    TYVM yes - it Rawks! :)
     

Share This Page