I am unable to change passwords, realized that the Server settings are not correct nor the email, (email is sendmail when I have postfix installed). When I change the server settings the screen changes, but when I go back in still the same. Note: This is the server I lost the database on months ago, finally had someone who forgot their password, and we can not get it to change. At a loss as to where to start. Thanks much.
Not sure It has been a while. Are you asking if I manually ran the setup script. I would think I did, as that is what you at least at one time had to do, not?
No. Till wanted to know if you imported the db_ispconfig.sql dump that comes with ISPConfig manually, or if you just ran the installer. Because some people make the mistake of importing that file manually, but it should be done by the installer.
Guess my reply was not very good. What I meant to say, is yes, I believe (hard to remember) I manually ran the database setup script after the regular setup. As the setup did not create the tables. If this is/was a mistake is there a fix? May I suggest changing the readme for that database setup script to say DO NOT RUN THIS.
I guess you created the database manually befoer you installed ISPConfig so the ISPConfig installer was not able to create it itself and this resulted in a broken installation. To fix this, you will have to uninstall ISPConfig and reinstall it. The database is created and fileld by the setup script with values gathered from your system. run: /root/ispconfig/uninstall all configuration data in ISPConfig will be lost. There is no readme file or instruction that tells you to do this. For installation instructions, please have a look at the installation manual and there is note to create any databases before you install ISPConfig or upload any database dumps.
>To fix this, you will have to uninstall ISPConfig and reinstall it. The database is created and fileld by the setup script with values gathered from your system. So this will not delete the email accounts, and recreate them when reinstalled? Just want to make sure, I don't go from working email accounts that can not change passwords to, no email accounts. ----- When I ran php /root/ispconfig/uninstall I got PHP Notice: Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 32 PHP Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 32 PHP Notice: Undefined variable: HTTP_POST_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 38 PHP Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 38 PHP Notice: Undefined variable: HTTP_COOKIE_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 44 PHP Warning: Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 44 PHP Notice: Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 53 No results found!PHP Warning: Unknown: open(/var/lib/php/session/sess_549goakg6puoksvbmq91b3lpp3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0 Thanks
I am getting more confused by these replies. How is this a fix then? Is there anyway to keep the email for users? I don't have a problem recreating the accounts via ISPconfig, but don't want to lose all the email. Right now I can not even unistall, (see errors below), are these related issues?
Maybe we still are not on the same page. Here is what I remember happening. I lost all my MySQL databases, ISPConfig was still installed but no database. I upgraded ISPConfig, but do not believe it created the database. I then must have manually created the ISPConfig database via the script. That is where I am now. ISPConfig, acts like all is working, but I can't change the server settings. When I create a user it never shows up under any directory Old users email still work, but they can not change passwords. http side of things appear to work. So my question is. Is there a way to save mail directories, get ISPConfig in sync with dovecot, and bring the mail back? Thanks much. I realize it must be a pain to deal with us clueless fools.
Please check your /tmp directory. There must be an SQL dump from your working ISPConfig database from just before the update. Try to restore the database from it.
Oh I have already done that, the only backups there are from a few days ago, which are the same as what I have now. I updated again, in hopes that would maybe help. There where no backups because there was no database at the time of the upgrade, and setup did not create one. So, if I do not have a backup from before the database went missing, I have to completely rebuild my system, as there is no way to get this right, as I can not even uninstall ISPConfig? Seems hard to believe, as making changes and adding email accounts are the only things that appear to be broken.