Edit: Instructions updated again.
Migration from ispCP 1.1.0 database key files corrupted
-
- solved
- -bk-
- Closed
- Thread is marked as Resolved.
-
-
Code
- root@ispcp:/var/www/imscp/engine/setup# cat /var/log/imscp/imscp-migrate-from-ispcp.log
- [Wed Dec 10 13:37:22 2014] [debug] iMSCP::Debug::verbose: Debug mode off
- [Wed Dec 10 13:37:23 2014] [error] iMSCP::Crypt::decrypt_db_password: KEY or IV has invalid length
- [Wed Dec 10 13:37:23 2014] [error] iMSCP::Crypt::decrypt_db_password: KEY or IV has invalid length
- [Wed Dec 10 13:37:30 2014] [error] main::checkDbPassword:
- Unable to connect to the ispCP database using the /etc/ispcp/ispcp-keys.conf file
- Unable to connect to the ispCP database using the /var/www/ispcp/engine/ispcp-db-keys.pl file
- Unable to connect to the ispCP database using the /var/www/ispcp/gui/include/ispcp-db-keys.php file
- [Wed Dec 10 13:37:42 2014] [error] iMSCP::Debug::END: Exit code: 1
- root@ispcp:/var/www/imscp/engine/setup#
Adding your SSH Key
Do you want to use the server in its state now or should I revert to an older snapshot? -
-
Revert it as it will be on your live system before doing the migration if possible.
-
You will find ispcp and imscp sources in /usr/src. DB key is not changed.
-
-
Ok, I don't see any problem there (CHUCKLES)
1. I've updated your sources.list file which was wrong as follow:
Code- deb http://ftp.debian.org/debian squeeze main contrib non-freedeb-src http://ftp.debian.org/debian squeeze main contrib non-freedeb http://ftp.debian.org/debian/ squeeze-updates main contrib non-freedeb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-freedeb http://security.debian.org/ squeeze/updates main contrib non-freedeb-src http://security.debian.org/ squeeze/updates main contrib non-free
2. I've updated your system
Note: A warning about a missing APT key was shown but this has been solved by the aptitude dist-upgrade3. I've Downloaded the 1.1.x version ( because a bug in the 1.1.18 which prevent db update )
4. I've run the i-MSCP installer ( I've selected the build option and for the servers, I've selected the default options )
5. I've run the following commands to copy the i-MSCP files on the system, and I've run the migration script
Result: Migration done without any errors.
So now, repeat the steps above and once it's done, run the following command to finalize the i-MSCP setup:
-
Thank you a lot!
Donation/payment/etc wanted? -
-
Donations are always welcome You can done what you want on my paypal account ---> paypal@nuxwin.com
Thanks you