Error while upgrade i-MSCP 1.2.9 to 1.5.3

  • Hi Laurent,

    today i did an OS upgrade Debian 8 to Debian 9.

    After OS upgrade i'd tried to upgrade the panel from 1.2.9 to 1.5.3. While installation i got this error

    Code
    1. [FATAL] Carp::croak: Couldn't remove the imscp_network service: Can't locate object method "remove" via package "iMSCP::File" at /usr/local/src/imscp-1.5.3-2018120800/engine/PerlLib/iMSCP/Service.pm line 145.
    2. at /usr/local/src/imscp-1.5.3-2018120800/autoinstaller/Functions.pm line 237.


    I'd marked the line 238

    Code
    1. $serviceMngr->remove( 'imscp_network' );


    Now the setup ran to end and the panel is up2date.

    Did i forget something to do before upgrading the panel?


    Sascha

  • TheCry


    This is a bug... the iMSCP::File::Remove() method doesn't exists. The method should be delFile(). however The remove() method is available for the iMSCP::Dir package ...

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

  • Nuxwin

    Added the Label to be fixed