PhpSwitcher 5.0.2: FPM-Pool-files automatically purged on PHP package installation

  • Hello


    I'm testing on:


    I-MSCP: 1.5.3 (2018120800)

    PhpSwitcher Plugin: 5.0.2


    Affected PHP versions: all packaged php versions


    After "installing" an additional PHP package, all my PHP-FPM pool files are gone and I get HTTP ERROR 503.



    I can reproduce the behaviour with the following command:

    Code
    1. aptitude install php7.3-imagick

    It does not matter if the package is already installed or not :-/


    Fix for me at the moment:

    Code
    1. perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --register --packaged --packaged-only 7.0 7.1 7.2 7.3


    I also had a look into the logfile, but there is no error message:


    Maybe there is a problem within the listener file?

    Code
    1. /etc/imscp/listeners.d/50_psw_dpkg_post_invoke_tasks.pl


    Someone else with the same behaviour?


    Kind Regards,

    Manuel

  • citrin

    Changed the title of the thread from “PhpSwitcher 5.0.2: Pool-files automatically purged on PHP package installation” to “PhpSwitcher 5.0.2: FPM-Pool-files automatically purged on PHP package installation”.
  • Nuxwin

    Added the Label to be investigated
  • Maybe there is a problem within the listener file?

    I'll check but yes, I don't see any other part that could cause such issue.

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

  • Nuxwin

    Set the Label from to be investigated to patched
  • A fix has been added in our repository. It will be available with the next bugfixes release.


    Thank you for your report.


    Thread closed.


    fix.png

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