Posts by lestatminiyo


    When I tried to update 1.5.3-2018120800 with Debian 10 to imscp-1.5.3-maintenance-joxi with:

    1. ./imscp-autoinstall -dasr ssl

    I received this error:

    1. [ERROR] Servers::sqld::mysql::installer::_setupDatabase: PHP Warning: include(/var/www/imscp/gui/include/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/imscp/gui/include/imscp-lib.php on line 38
    2. PHP Warning: include(): Failed opening '/var/www/imscp/gui/include/../vendor/autoload.php' for inclusion (include_path='.:/usr/share/php') in /var/www/imscp/gui/include/imscp-lib.php on line 38
    3. [ERROR] Class 'iMSCP\Application' not found taller Dialog─────────────────────────────────────────┐
    4. │ │
    5. Stack trace: │
    6. │ An unexpected error occurred during the following step: │
    7. #0 /var/www/imscp/gui/include/imscp-lib.php(41): {closure}() │
    8. #1 /var/www/imscp/engine/setup/imscp-update-db.php(31): require_once('/var/www/imscp/...') │
    9. #2 {main} │
    10. [ERROR] autoinstaller::Adapter::DebianAdapter::install: An error occurred while the installation steps


    Recently I update my Debian to Debian 10.

    I work with i-MSCP 1.5.3Build: 2018120800 Codename: Ennio Morricone.

    Today, when i tried to reconfigure my imscp installation to repair a error with php socket:

    1. perl /var/www/imscp/engine/setup/imscp-reconfigure -danv

    I have an error with imscp certificates (ftp, control panel, mail...)

    I tried to reconfigure certs with:

    1. ./imscp-autoinstall -dasr ssl

    But i obtain this errors.

    ¿Somebody can help me?


    We have a recurrent error with Opendkim plugin. I think t was related to i-MSCP session.


    Recently I updated PHPSwitcher to 5.0.5 when I run

    1. perl /var/www/imscp/gui/plugins/PhpCompiler/ --verbose --register 5.6 7.0 7.1 7.2 7.3 7.4

    I receive some errors like:

    Run one by one, I could reinstall 7.0, 7.1 & 7.2, but 7.3 & 7.4 shows on imscp UI:

    1. Couldn't get PHP version through the '/opt/phpswitcher/static/php7.3/bin/php-cgi' executable: /opt/phpswitcher/static/php7.3/bin/php-cgi: error while loading shared libraries: cannot open shared object file: No such file or directory

    On Debian stretch, I-MSCP

    i-MSCP 1.5.3

    Build: 20180516

    Codename: Ennio Morricone

    All this was runned after:

    1. apt-get update && apt-get dist-upgrade


    We have a moodle installation on a site. We are trying to access /usr/bin/gs an /usr/bin/unoconv to allow teachers to grade students.

    Obviously moodle cann't access /usr/bin by permissions. Can how I try to bypass that? Modify moodlesite.tld.conf?


    Recently I discover that letsencrypt didnt renew on my server:

    1. Traceback (most recent call last):
    2. File "/usr/local/sbin/certbot", line 6, in <module>
    3. from certbot.main import main
    4. File "/opt/", line 5, in <module>
    5. import logging.handlers
    6. File "/usr/lib/python2.7/logging/", line 26, in <module>
    7. import sys, os, time, cStringIO, traceback, warnings, weakref, collections
    8. File "/usr/lib/python2.7/", line 14, in <module>
    9. from _weakref import (
    10. ImportError: cannot import name _remove_dead_weakref at /var/www/imscp/gui/plugins/LetsEncrypt/backend/ line 834.

    I tried to deactivate plugin and receive this error on reactivate:

    1. An unexpected error occurred:
    2. Plugin::LetsEncrypt::enable: Error: couldn't get currently installed version for /opt/ Traceback (most recent call last): File "/opt/", line 6, in from certbot.main import main File "/opt/", line 5, in import logging.handlers File "/usr/lib/python2.7/logging/", line 26, in import sys, os, time, cStringIO, traceback, warnings, weakref, collections File "/usr/lib/python2.7/", line 14, in from _weakref import (
    3. ImportError: cannot import name _remove_dead_weakref at /var/www/imscp/gui/plugins/LetsEncrypt/backend/ line 266

    My server:

    • Debian 10

    • i-MSCP 1.5.3 Build: 2018120800 Codename: Ennio Morricone

    • Lets Encrypt


    Recently I update to Debian 10.

    Phpswitcher on imspc panel shows:

    Couldn't get PHP version through the '/opt/phpswitcher/20180712/php7.0/bin/php-cgi' executable: /opt/phpswitcher/20180712/php7.0/bin/php-cgi: error while loading shared libraries: cannot open shared object file: No such file or directory

    When I run:

    root@panel4:~# dpkg -L libonig4

    dpkg-query: package 'libonig4' is not installed

    Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.

    root@panel4:~# ls /usr/lib/x86_64-linux-gnu/libonig*

    /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/


    But when i tried to run, I received:

    root@panel4:~# perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/

    [INFO] Scanning PHP site for the PHP 5.3 sources...

    [INFO] Found PHP 5.3 sources at

    [INFO] The PHP 5.3.29 sources are already present in the /usr/local/src/phpswitcher directory. Skipping download.

    [INFO] Extracting the PHP 5.3.29 archive into /usr/local/src/phpswitcher/php-5.3.29 ...

    [INFO] Setup PHP build environment...

    I: Invoking pbuilder

    I: forking: pbuilder create --configfile /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/.pbuilderrc --hookdir /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/psw-debian-stretch.cow --mirror --architecture amd64 --distribution stretch --no-targz --extrapackages 'apt-transport-https apt-utils ca-certificates devscripts eatmydata equivs gnupg2 quilt wget cowdancer'

    I: Running in no-targz mode

    I: Distribution is stretch.

    I: Current time: Sat May 30 23:53:30 CEST 2020

    I: pbuilder-time-stamp: 1590875610

    I: Building the build environment

    I: running debootstrap


    E: /var/cache/pbuilder/psw-aptcache-debian-stretch: No such directory

    I: forking: rm -rf /var/cache/pbuilder/psw-debian-stretch.cow

    [ERROR] main: An error occurred while setup of PHP build environment: W: cgroups are not available on the host, not using them.

    E: debootstrap failed

    E: debootstrap.log not present

    W: Aborting with an error

    E: pbuilder create failed

    Could yo help me?