Current time: 11-25-2024, 07:39 AM Hello There, Guest! (LoginRegister)


Post Reply 
lost ispcp db-key-files during upgrade :(
Author Message
nachtarbeit Offline
Junior Member
*

Posts: 20
Joined: Apr 2007
Reputation: 0
Post: #3
Cool [solved] RE: lost ispcp db-key-files during upgrade :(
to generate a new password for a successfull update, do following:

1. follow the upgrade howto (for debian: http://isp-control.net/documentation/sta...ade/debian )

2. in step 5 leave out the backup of ispcp-db-keys.pl and ispcp-db-keys.php - as they are gone

3. open file /var/www/ispcp/engine/ispcp-db-passwd. search for:
Code:
} else {
                $upass_current = read_password('Please Enter Your Current Password:');
               if ($upass_current ne $check_with) {
                       print STDERR ">>> Entered password does not match. Please try again !\n";
                       return (1, '');
               }
                $upass = read_password('Please Enter Your New Database Password:');

and comment these lines as following:

Code:
} else {
                $upass_current = read_password('Please Enter Your Current Password:');
#               if ($upass_current ne $check_with) {
#                       print STDERR ">>> Entered password does not match. Please try again !\n";
#                       return (1, '');
#               }
                $upass = read_password('Please Enter Your New Database Password:');


3. before step 9 of the upgrade-howto, set a new mysql-password and/or new mysql-user for ispcp - to do so, follow the how-to: http://isp-control.net/documentation/how...ge_db_pass

4. now open the /etc/ispcp.conf, copy the db_password to clipboard (strg+c)

5. open /etc/ispcp.old.conf, replace the old db_password with the copied one (strg+v)

6. now continue with step 9 of the upgrade-howto.
the upgrade now should work !

have luck!
05-09-2011 03:56 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[solved] RE: lost ispcp db-key-files during upgrade :( - nachtarbeit - 05-09-2011 03:56 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)