Posts by -bk-

    Code
    1. root@ispcp:/var/www/imscp/engine/setup# cat /var/log/imscp/imscp-migrate-from-ispcp.log
    2. [Wed Dec 10 13:37:22 2014] [debug] iMSCP::Debug::verbose: Debug mode off
    3. [Wed Dec 10 13:37:23 2014] [error] iMSCP::Crypt::decrypt_db_password: KEY or IV has invalid length
    4. [Wed Dec 10 13:37:23 2014] [error] iMSCP::Crypt::decrypt_db_password: KEY or IV has invalid length
    5. [Wed Dec 10 13:37:30 2014] [error] main::checkDbPassword:
    6. Unable to connect to the ispCP database using the /etc/ispcp/ispcp-keys.conf file
    7. Unable to connect to the ispCP database using the /var/www/ispcp/engine/ispcp-db-keys.pl file
    8. Unable to connect to the ispCP database using the /var/www/ispcp/gui/include/ispcp-db-keys.php file
    9. [Wed Dec 10 13:37:42 2014] [error] iMSCP::Debug::END: Exit code: 1
    10. 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?

    I executed the first instruction, without your addition :-)
    Trying your updated instruction first. One thing I saw is that in the newly downloaded ispcp 1.0.7 sources, the file <ispcp_archive>_dir>/engine/messenger/ispcp-db-keys.pl does not exist
    Trying it first, if this does not work, I will give you access. As this is a test migration and not the live system, I would like to succeed myself so I can do the live migration as well

    Hello Nuxwin,
    thank you for your quick response. Unfortunately, the installer aborts with the same error message

    Code
    1. root@ispcp:/var/www/imscp/engine/setup# cat /var/log/imscp/imscp-migrate-from-ispcp.log
    2. [Wed Dec 10 13:01:53 2014] [debug] iMSCP::Debug::verbose: Debug mode off
    3. [Wed Dec 10 13:01:58 2014] [error] main::checkDbPassword:
    4. Unable to connect to the ispCP database using the /etc/ispcp/ispcp-keys.conf file
    5. [Wed Dec 10 13:02:00 2014] [error] iMSCP::Debug::END: Exit code: 1


    Do I need to delete / modify /etc/ispcp/ispcp-keys.conf ?


    EDIT: Reading the updated instructions

    Thanks for your reply.
    Error log /var/log/imscp/imscp-migrate-from-ispcp.log

    Code
    1. [Wed Dec 10 11:46:13 2014] [debug] iMSCP::Debug::verbose: Debug mode off
    2. [Wed Dec 10 11:46:16 2014] [error] main::checkDbPassword:
    3. Unable to connect to the ispCP database using the /etc/ispcp/ispcp-keys.conf file
    4. [Wed Dec 10 11:46:19 2014] [error] iMSCP::Debug::END: Exit code: 1

    Sorry for pushing this, but why doesn't anyone answer this question, when there already seems to be a solution and a howto that has somehow disappeared?
    If you expect me to pay something, just tell me, that shouldn't be the problem, as I am willing to back the i-MSCP project in case everything works and I am satisfied with the product.

    Hi all,


    as this thread is marked as solved, I opened a new thread.
    Migrating from ispCP 1.1.0 -> All ispCP database key files are corrupted


    I basically do have the same problem as described in above thread, but I can't find any hints in wiki or elsewhere, what to do in this case. So: can someone help me with this issue, how to regenerate the db key files? I work on a clone of my still productive ispCP server, so no worries if something goes wrong (ESXi, Snapshots...)


    Thanks


    Babak