1.3.x -> 1.3.7 imscp-db-keys problem

  • Hello,


    I tried to upgrade to the current version, but I've got an error. I tried to upgrade to the git current version too, but I've got the same error. Have somebody an idea?



    Bootstrapping installer


    Error was:


    iMSCP::Stepper::_callback: Can't modify constant item in scalar assignment at /etc/imscp/imscp-db-keys line 2, at EOF
    Compilation failed in require at /root/imscp-1.3.7/engine/PerlLib/iMSCP/Bootstrapper.pm line 204.



    [FATAL] iMSCP::Bootstrapper::_genKeys: Can't modify constant item in scalar assignment at /etc/imscp/imscp-db-keys line 2, at EOF
    Compilation failed in require at /var/www/imscp/engine/PerlLib/iMSCP/Bootstrapper.pm line 204, <$fh> line 370.

    OS: Debian Buster

    i-MSCP: GIT 1.5.3-maintenance branch

  • @Kika


    If you receive this error, this means that your /etc/imscp/imscp-db-keys file is corrupted. Delete it and rerun the installer.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello Nuxwin,


    thanks for your answer.


    I already restored the file from backup and everything is works, I tried, but i can't repruduce the problem.


    When I see into the imscp-db-key I found this:


    KEY = ....
    IV = ...


    in the backup version:


    $db_pass_key = '...';
    $db_pass_iv = '....';


    I didn't found why this is happend

    OS: Debian Buster

    i-MSCP: GIT 1.5.3-maintenance branch