Uninstall Question

Discussion in 'Installation/Configuration' started by toyito, Jan 11, 2006.

  1. toyito

    toyito New Member

    Just a question...if i reinstall ISPConfig using:

    rm -fr /root/ispconfig
    rm -fr /home/admispconfig

    will i lost my sites and users???

    Hector
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Yes, because the installer then thinks that it's a completely new installation and creates a new (nearly empty) ISPConfig database.

    If you want to re-install, you can just run the installer (without removing any directories before), it will then recognize that it's an update and perform the necessary steps.
     
  3. toyito

    toyito New Member

    Thanks again Flako....ill tryit.

    Hector:)
     
  4. wwparrish

    wwparrish New Member

    even removing the db_ispconfig data base from mysql along with the two directories mentioned above leave crap in several places and the next install is not clean by any means.

    I am up to web4 as the initial web and there is an anon ftp user in my /etc/passwd file that appears every time reinstall.

    as futher example this is at the bottom of the /etc/apache2/vhosts/Vhosts_ispconfig.conf file.

    AddOutputFilter INCLUDES .shtml
    Alias /error/ "/var/www/web4/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
     
  5. falko

    falko Super Moderator Howtoforge Staff

    To uninstall a working installation, you should run
    Code:
    /root/ispconfig/uninstall
    instead of removing everything manually!
     
  6. wwparrish

    wwparrish New Member

    doh !!! When in doubt RTFM

    The uninstaller gives you the following options to select from:
    Partial Deinstallation: Only the ISPConfig system itself will be uninstalled, but not the
    webs, users, DNS records etc. created by it.
    ·
    Complete Deinstallation: The ISPConfig system and also the objects created by it (webs,
    users, DNS records, etc.) will be uninstalled.
     
  7. fishtenors

    fishtenors New Member

    If I do a partial uninstall of ISPConfig, and keep all my users, DNS entries, websites, etc., can I reinstall ISPConfig to basically get back to homeostasis?

    Here is my dilemma. I'm an idiot, and I didn't back up the ispconfig MySQL database before running an update. When the update finished, the database was empty, and I could not log in to the control panel.

    What's weird is I can still login to webmail, I can login to FTP shares, and I can still send and receive mail as if nothing were wrong. I just cannot login to the control panel, and the ispconfig DB is empty.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    No, beacuse ISPConfig will not be able to manage the accounts again when the ISPConfig database is lost.

    ISPConfig makes a backup of the mysql database before the update. Please have a look at your /tmp directory, do you have a .sql file there?

    Thats normal. Your services are using config files which were written by ISPConfig and not the ISPConfig database.
     

Share This Page