Bug - Cron Monitorix not running after Update 1.11

  • Hi,
    after updating to the latest i-mscp 1.11 i found a Bug in the Monitorix-Plugin.
    In the Backend no graphics are updated.


    So I run the cron job manually and get the following error message:

    Code
    1. [ERROR]main: Can't locate /var/www/imscp/engine/Plugins/Monitorix.pm in @INC (@INCcontains: /var/www/imscp/engine/PerlLib /etc/perl /usr/local/lib/perl/5.14.2/usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14/usr/share/perl/5.14 /usr/local/lib/site_perl .) at/var/www/imscp/gui/plugins/Monitorix/cronjob/cronjob.pl line 50, <$fh> line750.iMSCP::Debug::END: Exit code: 1


    After read the following amendment https://github.com/i-MSCP/imsc…85c97ff8a695ed333419d9519
    I changed the following line in cronjob.pl


    Code
    1. my $pluginFile = "$main::imscpConfig{'ENGINE_ROOT_DIR'}/Plugins/Monitorix.pm";


    to


    Code
    1. my $pluginFile = "$main::imscpConfig{'GUI_ROOT_DIR'}/plugins/Monitorix/backend/Monitorix.pm";


    and the cron run without error.


    System: Debian 7.5
    i-mscp 1.11
    Monitorix-Plugin: Version 0.0.6

  • Hello ;


    It's my fault. I've resolved a problem and created new one. :cursing:


    Thanks you for your report. I'll fix all plugins which provide a cron task today.

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