URGENT: I accidentally uninstalled ispconfig

Discussion in 'General' started by lovendo, May 9, 2014.

  1. lovendo

    lovendo New Member

    Hi, I'll tell you later how I made this big mistake....

    The thing is that I accidentally executed 'php -q uninstall.php' from the ispconfig sources folders. I'm pretty f*cked :mad:

    The good thing is that I have a snapshot of the server as it was last week. I'm writing you to ask some help about how to get (and which are) the essential ispconfig conf files from this snapshot, put them again in the actual server's state and then:
    - php -q update.php?
    - or, php -q install.php?

    Please, some help will be more than welcome :(
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look at the uninstall.php script to see which files and folders have to bre restored.

    exec("/etc/init.d/mysql stop");
    exec("rm -rf /var/lib/mysql/".$conf["db_database"]);
    exec("/etc/init.d/mysql start");
    // Deleting the symlink in /var/www
    // Apache
    // nginx
    // Delete the ispconfig files
    exec('rm -rf /usr/local/ispconfig');
    // Delete various other files
  3. lovendo

    lovendo New Member

    Thanks for the fast reply. I'm working on it ...
  4. lovendo

    lovendo New Member

    Everything back to normal, yijaaaa. It took some time for Proxmox to restore the snapshots :rolleyes:

    For those using CentOS and yet ISPConfig, the only operations to do are:
    - copy back again the dbispconfig database in /var/lib/mysql/
    - copy back again the ispconfig in /usr/local/

    Symbolic links from /etc/apache are not unlinked since this is not a debian-based distro, so apache runs in /etc/httpd

    Thanks till for the hint

Share This Page