Posts by Rexikon

    Hello,

    Now I'm facing with problem:




    Missing or undefined $service parameter at /var/www/imscp/gui/plugins/PhpSwitcher/backend/PhpSwitcher.pm line 1596.


    Just want to add php 7.4 to phpswitcher, used "php_compiler.pl 7.4" to compile new php version and just added paths:

    W4l6d4u.png

    Hi,

    Have upgraded my debian from 8 to 9 and wanted to upgrade PhpSwitcher and now I got this:


    Code
    1. Plugin::PhpSwitcher::disable: $dirname parameter is not defined. at /var/www/imscp/engine/PerlLib/iMSCP/Dir.pm line 303


    imscp.plugin:


    Code: plugin_config
    1. {"phpinfo":true,"compiled":{"php_fpm_log_file_pattern":"psw%PHP_VERSION%-fpm.log","php_fpm_logrotate_file_pattern":"psw%PHP_VERSION%-fpm","php_fpm_pid_file_pattern":"psw%PHP_VERSION%-fpm.pid","php_fpm_reopenlogs_script_pattern":"psw%PHP_VERSION%-fpm-reopenlogs","php_fpm_systemd_unit_pattern":"psw%PHP_VERSION%-fpm.service","php_fpm_sysvinit_pattern":"psw%PHP_VERSION%-fpm","php_fpm_tmpfile_pattern":"psw%PHP_VERSION%-fpm.conf","php_fpm_service_name_pattern":"psw%PHP_VERSION%-fpm","php_fpm_uds_path_pattern":"psw%PHP_VERSION%-fpm-%DOMAIN%.sock","php_fpm_run_dir":"\/run\/phpswitcher","php_fpm_log_dir":"\/var\/log\/phpswitcher","php_fpm_lib_dir":"\/usr\/local\/lib\/phpswitcher","sys_logrotate_dir":"\/etc\/logrotate.d","sys_tmpfiles_dir":"\/etc\/tmpfiles.d","sys_systemd_unit_dir":"\/etc\/systemd\/system","sys_sysvinit_dir":"\/etc\/init.d"},"packaged":{"php_fpm_service_name_pattern":"php%PHP_VERSION%-fpm","php_fpm_uds_path_pattern":"php%PHP_VERSION%-fpm-%DOMAIN%.sock","php_fpm_run_dir":"\/run\/php","php_fpm_log_dir":"\/var\/log\/php"},"database":{"php_version_table":"php_switcher_version","domain_php_version_table":"php_switcher_version_admin"}}


    Code: plugin_config_prev
    1. {"phpinfo":true,"php_fpm_log_file_pattern":"psw%PHP_VERSION%-fpm.log","php_fpm_logrotate_file_pattern":"psw%PHP_VERSION%-fpm","php_fpm_pid_file_pattern":"psw%PHP_VERSION%-fpm.pid","php_fpm_reopenlogs_script_pattern":"psw%PHP_VERSION%-fpm-reopenlogs","php_fpm_systemd_unit_pattern":"psw%PHP_VERSION%-fpm.service","php_fpm_sysvinit_pattern":"psw%PHP_VERSION%-fpm","php_fpm_tmpfile_pattern":"psw%PHP_VERSION%-fpm.conf","php_fpm_service_name_pattern":"psw%PHP_VERSION%-fpm","php_fpm_run_dir":"\/run\/phpswitcher","php_fpm_log_dir":"\/var\/log\/phpswitcher","php_fpm_lib_dir":"\/usr\/local\/lib\/phpswitcher","sys_logrotate_dir":"\/etc\/logrotate.d","sys_tmpfiles_dir":"\/etc\/tmpfiles.d","sys_systemd_unit_dir":"\/etc\/systemd\/system","sys_sysvinit_dir":"\/etc\/init.d"}


    Code: plugin_status
    1. todisable



    line 303 of file ../dir.pm is:


    Code: dir.pm
    1. defined $dirname or die( '$dirname parameter is not defined.' );


    How to correct this ?

    Upgrade from 1.4.4 to 1.5.1
    At finish scipt says:


    Code
    1. Servers::sqld::mysql::installer::_setupDatbase: [ERROR] Database update 254 failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'imscp.mail_user' doesn't exist

    How to fix this?


    your cron sohud be like (with path to the binary of php):

    Code
    1. */5 * * * * /usr/bin/php -q /var/www/virtual/ketzen.com/billing/htdocs/crons/pop.php

    Hello, i got a monitorix and i added more ports in section Network port traffic.

    but site looks this:



    How to display all ports what i have in config?

    My suggestion and wish is a feature who allow manage cloudflare throught api.
    Maybe this feature will integrate i-mscp with cloudflare?
    For first this feature can only manage dns records each domain :)