Update from SVN to Stable has delete whole config

Discussion in 'Installation/Configuration' started by aender, Jun 26, 2010.

  1. aender

    aender ISPConfig Developer ISPConfig Developer

    Hello.

    I just have done a update from latest svn to stable 3.0.2.2.

    After that my dbispconfig is empty!!! Can anyone help me??

    Is there any backup of the db before the update is done?

    Or is it possible to go back to my svn config?

    My last chance would be to install a fresh ispconfig svn or stable an "reimport" the config. But don´t know how to do that without a db backup...

    Need help please. It´s really urgent!
     
  2. aender

    aender ISPConfig Developer ISPConfig Developer

    Puuhh..

    Found some old backups at /root/
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Very bad Idea as this of course deletes the whole database. the svn version has more table and database fields, so the database of the svn version can not fit ino the database scheme of the stable version.

    Yes. It is stored named /root/ispconfig_db_backup_[DATE].sql
     
  4. aender

    aender ISPConfig Developer ISPConfig Developer

    Still have troubles with sys_user and client tables

    They are not restored!?!?

    Can i edit these tables with phpmyadmin?
    Or is there any other way?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats caused by the different database schemes. As you can not downgrade your server from svn to stable, you will have to run the ispconfig_update.sh script again and select svn to install the svn version again. Then you should be able to import the backup of the mysql dump with phpmyadmin (you might have to empty all tables first).
     
  6. aender

    aender ISPConfig Developer ISPConfig Developer

    OK.

    I will try it.
     
  7. aender

    aender ISPConfig Developer ISPConfig Developer

    Thanks for your help. Got my config back.
     

Share This Page