I was trying to delete one of my websites via ISPConfig and it deleted the ENTIRE /var/www directory! I have backups of all of my webdata but ISPConfig is not working correctly. Here's what I plan to do. Please let me know if there's something I missing. 1) Uninstall ISPConfig (using the uninstaller) 2) Remove the conf files in /etc/httpd/conf/vhosts 3) Reinstall ISPConfig 4) Re-create my website in ISPConfig 5) Restore my website data Is there anything I'm missing?
update Ok I have done the following: - restored: /var/www - reinstalled ISPConfig - recreated my 2 webs in ISPConfig (empty so far, no data yet) The first problem I ran into was that whenever I try to recreate my email users in ISPConfig it says they already exist. As a result, I looked in /etc/group and /etc/passwd and deleted the old users. Unfortunately, ISPConfig still will not let me create these users again. I assume ISPConfig read the group & passwd files when I installed it? At that time the users still existed there. Or, mabe there is another userlist somewhere that I am unaware of. Postfix? Dovecot? How do I create these users again?
Some progress... I executed the following command and it found and deleted my old users: Code: pwck Unfortunately, ISPConfig still says they exist and will not let me create them. I tried a reboot but, it did not help.
As far as I know, the old users from the previous install are stored in /home/admispconfig/ispconfig/users (to prevent that a user is created twice). Delete the users that you want to create from that file.
Life is good! Backups are restored and we're back in business. flummi's input was the one key thing I was missing. Thanks again! However, I fear there is a bug in ISPConfig. Read my thread about /etc/group
How to restore /var/www HI buddy, I did the same mistake and I reallllllly need your help. I have taken the backups of my latest databases as I did the backup of my files+database one month back. Once all things will be well I will be restoring my files and then connect them with the latest database.