ispconfig_update.sh wiped all my dbispconfig databases

Discussion in 'General' started by corbinsiddall, May 7, 2009.

  1. corbinsiddall

    corbinsiddall New Member

    So I ran the update, everything seemed to work fine. Went to log into the admin page and it wouldn't take my password. I hopped over to /phpmyadmin and all the tables are empty.

    My sites still work. What should I do?

    Specifically since I didn't have a backup of the DB and I assume the update script didn't make one, I will need to reinput the Clients, Client Permission Templates, Sites, FTP Users. This isn't that big of a deal, but with the websites are all still working. Will re-adding them overwrite what is already live?

    Plus there is no Admin user anymore so what would be a SQL statement that would get me back in the system?

    Thanks.
     
    Last edited: May 8, 2009
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The update script makes a backup of the database, it is in the /root directory.

    You can restore it from the backup.

    I guess you tried to update a SVN version with a stable version which can not work of course as the SVN version contains more database tables as the stable version. SVN versions can only be updated from svn and not from a stable version!
     

Share This Page